This is a migrated thread and some comments may be shown as answers.

DataForm.Update - Xamarin issue?

1 Answer 52 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Gelu
Top achievements
Rank 2
Gelu asked on 22 Jan 2016, 06:54 AM

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

 

1 Answer, 1 is accepted

Sort by
0
Adrian
Telerik team
answered on 26 Jan 2016, 05:12 PM
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
Tags
DataForm
Asked by
Gelu
Top achievements
Rank 2
Answers by
Adrian
Telerik team
Share this question
or