This is a migrated thread and some comments may be shown as answers.
Bug in a DataForm on 2018.2.516.250 R2
2 Answers 10 Views
This is a migrated thread and some comments may be shown as answers.
Vuyiswa
Top achievements
Rank 2
Vuyiswa asked on 04 Jun 2018, 12:10 PM

i had a Datagrid  and on SelectionChanged Event i am binding a model with data from the selected data on the grid. like this 

 

            Mykids_Model uimodel = new Mykids_Model();
            uimodel.CHILD_NAME = SELECTEDCHILD.CHILD_NAME;
            uimodel.CHILD_SURNAME = SELECTEDCHILD.CHILD_SURNAME;
            uimodel.Gender = SELECTEDCHILD.GENDER;
            uimodel.AGE = SELECTEDCHILD.AGE;
            dataForm.Source = uimodel;

on a normal curcumstance it will bind the DataForm with the newly Assigned valued to the properties. So it used to work nicely on the previous version of the controls , but now it stopped, one need to rebind the Form twice for it to work 

 

               Bind_Selected_kid_Fields(SELECTEDCHILD);
                //Because of the bug in Telerik DataForm , you need to bind it Twice

                Bind_Selected_kid_Fields(SELECTEDCHILD);

 

 

 

 

2 Answers, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 06 Jun 2018, 01:22 PM
Hello, Vuyiswa,

We have managed to reproduce an issue where the DataForm's item is not correctly synced when modifying the source property on the ViewModel. Here is the public item for the issue - DataForm: Incorrect current item when changing the bound Source. Please follow it so that you are automatically notified when there is any progress on the issue. 

Have a great rest of the week.

Regards,
Stefan Nenchev
Progress 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
0
Vuyiswa
Top achievements
Rank 2
answered on 07 Jun 2018, 07:48 AM
Noted with Thanks 
Asked by
Vuyiswa
Top achievements
Rank 2
Answers by
Stefan Nenchev
Telerik team
Vuyiswa
Top achievements
Rank 2
Share this question
or