This is a migrated thread and some comments may be shown as answers.

DetailsView does not maintain mode selected in RadWindow

1 Answer 33 Views
Window
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 13 Mar 2014, 07:14 PM
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

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 14 Mar 2014, 12:39 PM

Hi Daniel,

I would suggest starting off by examining this demo that has a very similar scenario: http://demos.telerik.com/aspnet-ajax/window/examples/internalcontent/defaultcs.aspx.

A few things you could check for are:

Regards,

Marin Bratanov
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
Tags
Window
Asked by
Daniel
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or