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

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

1 Answer 24 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Anthony
Top achievements
Rank 1
Anthony asked on 09 Aug 2010, 10:23 AM
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

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 12 Aug 2010, 11:01 AM
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
Tags
Ajax
Asked by
Anthony
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or