DetailsView does not maintain mode selected in RadWindow

2 posts, 0 answers
  1. Daniel
    Daniel avatar
    3 posts
    Member since:
    Jul 2013

    Posted 13 Mar 2014 Link to this post

    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
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 14 Mar 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top