Hi,
In WHDG When i am performing the below action on child rows i am getting the attached alerts,
- Update the status of RoWID 1 to "Start" then again update the status of same RowID 1 to "End". As soon as i click on "Update Status" button i am getting the attached alert.
Can anyone please look into this?
Regards,
Mits
Hello Mits281,
Thank you for posting in our community. This exception is thrown because the same ID`s are applied to different controls in run time. Can you provide me in more details around this or a sample project. How do you set the status of RowID 1? Also note that any changes made to the gird is required to be made thru the grids API not to apply them to the rendered DOM as this could affect the grids behaviors.
Looking forward hearing from you.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
Hi Georgi,
Thanks for the quick reply. Regarding this query i am just updating the child row detail inside table through button click event. Now once this operation finish i want to again rebind the WHDG so that it will show the latest records. For this i am using WHDG.DataBind(). So is this a proper way to rebind the WHDG from the server side click event?
What is the datat source that you are using? I can recommend you to handle rowUpdating and to update the data sourse. And after that to rebind the grid.
I using WHDataSource as well as three SQLDataSource controls.
Hello mits281,
Follow this link:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=WebHierarchicalDataSource_CRUD_Operations_with_WebHierarchicalDataSource.html
you need to configure your data source to be updatable and when you update the results to rebind.
I hope you were able to handle this.
For any further questions do not hesitate to contact me.