User Profile & Activity

Yudi Member
Page
of 259
Posted: May 10, 2016 8:50 AM

Sorry for the delay in sending this.

The reported problem is filed under ASPNET-290. Build 24 is now available in WebUI Studio 2016 Update 2 which addressed this issue. Please give it a spin and let us know how it works in your end.

Posted: May 10, 2016 7:41 AM

How can I translate the text below the image? In your screenshot from the last post it is "edit". In other cases it can be "add photo".

AddCaption and EditCaption properties of ImageAttribute class are the one that you looking for.

  • AddCaption: Gets or sets the caption displayed when the image is not set yet.
  • EditCaption: Gets or sets the caption displayed when the image is set.

Example:

public class BasicSection
{
    [Editor(EditorType.Image)]
	[Image(Height = 83, Width = 80, Placeholder = "photo.png", Frame = "frame.png", AddCaption = "Foto hinzufügen", EditCaption = "Foto bearbeiten")]
	[ImagePicker(ImageResultMode = ImageResultMode.Both, ActivateCommand = "ActivateImagePickerCommand", PickerResultCommand = "FinishImagePickerCommand", AllowEditing = false)]
    public byte[] ProfilePicture;

    ...
}

You can also utilize AddCaptionKey and/or EditCaptionKey if the text is taken from resources.

Glad to hear that restarting the machine resolve the problem.

Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.

Posted: May 10, 2016 1:41 AM

Glad to hear the good news.

Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.

Sorry for the delayed response.

Yes, we have a plan to provide sample and/or tutorial related to the new features. Thank you for the attention of the new features.

Posted: May 9, 2016 8:51 AM

Hello Thomas,

Thank you for providing the information from the Output window. I'm interested to dig up more information based on the following: "Failed to ensure directory: /storage/sdcard1/Android/data/tea.net.ch.app.droid.voucherdepot/cache".

Could you please inform me about the action before exception persist? Did you select image of ImagePicker by taking photo (using camera), or pick an image from Gallery?

Posted: May 9, 2016 6:56 AM

Hello Thomas,

Thank you for the detail explanation. I have re-test the scenario and make sure that the test device using German culture (set Settings > Language & input > Language to "Deutsch").

However, no error persist after clear the "Amount" field and set the focus to the text field above.

I have created a worklog for the Crosslight-Android development team to correctly show null value after "Amount" field is cleared. The report is filed under CROS-1128.

I'll keep this thread updated with any news I heard from the team regarding the progress of CROS-1128.



Edited on May 9, 2016 3:30 AM
Reason: Update recent progress of CROS-1128

Nightly-build hotfix for CROS-1128 is now available in NuGet. Per my test, user are now be able to clear the "Amount" field and left the field empty (not revert back to previous valid value) when set the focus to the text field above.

Please give it a spin and let us know how it works in your end.

Posted: May 9, 2016 3:50 AM

The reported problem under CROS-1109 is a bit chalenging since the problem happen after restart the device. I'll keep you informed with the progress of the backlog.

Thank you for your patience and cooperation.

Posted: May 9, 2016 3:09 AM

Hello Thomas,

Thank you for the sample. I have received the download link to the code. Please kindly check my response in your inbox.

Posted: May 4, 2016 3:10 AM

Sorry for the delay in sending this.

How can I translate the context menu of the ImagePicker (Select Image, Take Photo, Choose From Gallery, Delete Photo)

The context menu of the ImagePicker are localizable. Set the resource with following name:

  • SelectImage
  • TakePhoto
  • ChooseFromGallery
  • DeleteImage

For example:

<resources>
  <string name="SelectImage">Sélectionner l\'image</string>
  <string name="TakePhoto">Prendre une photo</string>
  <string name="ChooseFromGallery">Choisir parmi la galerie</string>
  <string name="DeleteImage">Supprimer la photo</string>
</resources>

will result like following.

Hope this helps.

All times are GMT -5. The time now is 2:04 AM.
Previous Next