DataForm.Update - Xamarin issue?

2 posts, 0 answers
  1. Gelu
    Gelu avatar
    8 posts
    Member since:
    Jul 2012

    Posted 22 Jan Link to this post

    Hi,

    After updating to 2016.1.113 we have issues updating the form values at runtime.

    example:

    if the datasource is initialised as

    dataSource = new TKDataFormEntityDataSourceHelper (this.CurrentAddress);

    .... datasource definitions .... (including the Longitude)

    the form datasource as

    DataForm.WeakDataSource = dataSource.NativeObject;

    .... we have an issue with the following code

    CurrentAddress.Longitude = coord.Longitude;

    dataSource ["Longitude"].ValueCandidate = new NSDecimalNumber (coord.Longitude);

    DataForm.Update ();

    .... the objects contains the new value but it is not displayed on the UI

    It was working fine in the previous version.

    Any suggestion?

    Thank you,

    Gelu

     

  2. Adrian
    Admin
    Adrian avatar
    167 posts

    Posted 26 Jan Link to this post

    Hello, Gelu,

    Thank you for contacting us.

    Indeed, the issue occurs in our latest version. I logged it in our feedback portal, feel free to vote/comment there.
    I also updated your Telerik points accordingly. 
    To workaround the issue you should call TKDataForm's ReloadData method.

    I hope this helps. If you need further assistance, do not hesitate to contact us.

    Regards,
    Adrian
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
Back to Top