Exit Edit Mode from Code Behind

2 posts, 0 answers
  1. Matteo Pellizzoni
    Matteo Pellizzoni avatar
    3 posts
    Member since:
    Mar 2010

    Posted 21 Apr 2011 Link to this post

    Hello,
    in my RadListView, in Edit Mode, I added an imagebutton which allow me (in the code behind), to change and then save data coming from a RadListView.
    After this change and save, I want to reload data in the RadListView and exit the Edit mode.

    How can I fire an event which bring me up to the "normal" mode, exiting the exit mode (using VB?)

    Thanks in advance and best regards
  2. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 27 Apr 2011 Link to this post

    Hello Matteo,

    Try setting the CommandName of the button to "Update". Thus the listview should automatically exit edit mode when the button is clicked and is would be implicitly rebound.

    For more information, you can refer to the below resources:
    http://demos.telerik.com/aspnet-ajax/listview/examples/dataediting/manualediting/defaultcs.aspx
    http://www.telerik.com/help/aspnet-ajax/listview-manual-editing.html

    Regards,
    Iana
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

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