XmlHttpPanel with RadAjaxPanel and Grid Demo Works Until Command Buttons are Added to the Grid

2 posts, 0 answers
  1. Anthony
    Anthony avatar
    2 posts
    Member since:
    Apr 2004

    Posted 09 Aug 2010 Link to this post

    We are implementing a scenario very similar to the Telerik demo here:
    http://demos.telerik.com/aspnet-ajax/xmlhttppanel/examples/gridinxmlhttppanel/defaultcs.aspx

    It works fine until we add command buttons such as Edit and Delete to the grid. When paging or performing any action that needs to reload the grid, the Edit will not be inline, but rather show a form below the grid for editing.

    The problem we are encountering is that the Edit and Delete buttons in the grid won't do anything. Eventhough the ItemCommand event is specified in the grid declaration.

    Can anyone show an example or let us know what must be done to get this to work as expected (the Edit and Delete buttons firing the event handler, etc.)?

    Thanks in advance!

    Anthony
  2. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 12 Aug 2010 Link to this post

    Hello Anthony,

    Try removing the Page_Load event handler from the example, so that the grid is not rebound on every postback, but is databound only when required. Attaching the contents of the demo you are referring to in a separate page you can test locally. You need to wire it up to the Northwind sample database.

    Regards,
    Veli
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top