I wanna retrieve value from the hidden column in datagrid in silverlight 4
-
Hello, I m in a bit trouble can any one please help me? I have added a DataGrid on a usercontrol page in silverlight 4.And bind it to an 'xyz' table. When i m updating the contents of the table , m passing the xyzId of selected row which is in hidden column. Now were the problem arises m unable to get the value , it returns empty string . Any help appreciated? Regards
-
Hello, I m in a bit trouble can any one please help me? I have added a DataGrid on a usercontrol page in silverlight 4.And bind it to an 'xyz' table. When i m updating the contents of the table , m passing the xyzId of selected row which is in hidden column. Now were the problem arises m unable to get the value , it returns empty string . Any help appreciated? Regards
You should NOT be working with the visual control when manipulating the data. You should be working with the underlying collection you have bound to the visual control.
Never underestimate the power of human stupidity RAH
-
You should NOT be working with the visual control when manipulating the data. You should be working with the underlying collection you have bound to the visual control.
Never underestimate the power of human stupidity RAH
Hello Holmes, Thanks for your reply. I have bounded the datagrid Itemsource with service result. That's the problem. Can you provide an sample or link to know how to get this done?. Regards
-
You should NOT be working with the visual control when manipulating the data. You should be working with the underlying collection you have bound to the visual control.
Never underestimate the power of human stupidity RAH
Hello buddies, Solved it this way: clsXYZ _clsxyz= dgxyz.SelectedItem as clsXYZ; Regards