I have a RadWindow with a DetailsView inside, wrapped with an update panel.
From a regular GridView, an Edit row button, will:
Select the row on the grid
Change the mode to EditMode on the DetailsView
Then bind the datasource to the DetailsView
Then the RadWindow is displayed
Works Great!
But, the button that is registered as an asynchronous control (during page_load), is clicked the server-side click event is triggered.
At this point, the CurrentMode of the DetailsView is checked.
Is was in EditMode before the dialog was shown
But after the button click, the DetailsView is back in the default InsertMode.
Some troubleshooting steps would be helpful
From a regular GridView, an Edit row button, will:
Select the row on the grid
Change the mode to EditMode on the DetailsView
Then bind the datasource to the DetailsView
Then the RadWindow is displayed
Works Great!
But, the button that is registered as an asynchronous control (during page_load), is clicked the server-side click event is triggered.
At this point, the CurrentMode of the DetailsView is checked.
Is was in EditMode before the dialog was shown
But after the button click, the DetailsView is back in the default InsertMode.
Some troubleshooting steps would be helpful