Hi,
I have a hierarchical radgrid. When in edit mode, I need to expand the hierarchy on the selected index change of a dropdown which is in one of the columns of that row. Also I need that a roundtrip to the database should happen whenever the selected index of the dropdown changes. Currently I am doing a postback on the selected index change. This works fine only when the user selects a value in the dropdown once. The child gets loaded from the database in the DetailTableDataBind method. But if the user again changes the value in the dropdown of the parent row, the row collapses due to the postback and the DetailTableDataBind method is not called since the hierarchy is in collapsed mode.
So basically what i need to do is that expand the hierarchy from client side on every selected index change of the dropdown and also fire the DetailTableDataBind method after the expand.
Can anybody suggest any solution for this?
An early response will be appreciated.
Thanks & Regards,
Ketaki
I have a hierarchical radgrid. When in edit mode, I need to expand the hierarchy on the selected index change of a dropdown which is in one of the columns of that row. Also I need that a roundtrip to the database should happen whenever the selected index of the dropdown changes. Currently I am doing a postback on the selected index change. This works fine only when the user selects a value in the dropdown once. The child gets loaded from the database in the DetailTableDataBind method. But if the user again changes the value in the dropdown of the parent row, the row collapses due to the postback and the DetailTableDataBind method is not called since the hierarchy is in collapsed mode.
So basically what i need to do is that expand the hierarchy from client side on every selected index change of the dropdown and also fire the DetailTableDataBind method after the expand.
Can anybody suggest any solution for this?
An early response will be appreciated.
Thanks & Regards,
Ketaki