Hiya,
We have a strange situation here with RadGrid. We are working under very specific instructions on how to display data with this grid that we have to conform to. One of those requirements is that all rows be in edit mode all the time - the user control edit form never closes for any row. (There are only about 2 dozen rows at any given time).
So.. currently when the update/insert button is pressed either:
A. Nothing appears to happen if there is no loading panel associated with the RadAjaxManager.
B. The whole grid (all rows) become locked and the loading panel graphic shows while the update/insert is taking place.
What I would like to do is 2 fold:
A. As soon as any data on the user control is changed, a "Changes Pending..." label is visible. Thats easy.
B. When the update/insert button is clicked, a "Saving..." label is visible, and when the save is done, that goes away.
The problem I am finding is that even tho the codebehind on the main ASPX form (in the grid itemcommand method) is able to change the user control's objects, it only does so after the save and not during/before - making it not very dynamic.
My first thought then is the move the update/insert code out of the radgrid's itemcommand method and in to the user control's codebehind instead, and control a label with a nested ajaxmanager from there.
I have a feeling I am missing something... so I thought I would post here just to make sure :)
If anyone has any ideas, please share!
Thanks much!
Dave
We have a strange situation here with RadGrid. We are working under very specific instructions on how to display data with this grid that we have to conform to. One of those requirements is that all rows be in edit mode all the time - the user control edit form never closes for any row. (There are only about 2 dozen rows at any given time).
So.. currently when the update/insert button is pressed either:
A. Nothing appears to happen if there is no loading panel associated with the RadAjaxManager.
B. The whole grid (all rows) become locked and the loading panel graphic shows while the update/insert is taking place.
What I would like to do is 2 fold:
A. As soon as any data on the user control is changed, a "Changes Pending..." label is visible. Thats easy.
B. When the update/insert button is clicked, a "Saving..." label is visible, and when the save is done, that goes away.
The problem I am finding is that even tho the codebehind on the main ASPX form (in the grid itemcommand method) is able to change the user control's objects, it only does so after the save and not during/before - making it not very dynamic.
My first thought then is the move the update/insert code out of the radgrid's itemcommand method and in to the user control's codebehind instead, and control a label with a nested ajaxmanager from there.
I have a feeling I am missing something... so I thought I would post here just to make sure :)
If anyone has any ideas, please share!
Thanks much!
Dave