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

RadGrid UpdateCommand event not firing in Dynamically loaded usercontrol

2 Answers 121 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bart Reekmans
Top achievements
Rank 1
Bart Reekmans asked on 03 Aug 2011, 03:16 PM
Hi,

I'm trying to update my grid in a dynamically load usercontrol( grid is not dynamically added) but the UpdateCommand event is not firing. The usercontrol works fine when I put it directly on my page. But when I load it in the codebehind he fires the need_datasource and than ofcourse the updatecommand is lost. Is it a problem with viewstate? Paging and itemcommand works fine.

Thanks

2 Answers, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 08 Aug 2011, 08:53 AM
Hello Chris,

I tried to reproduce the described issue, but to no avail. I am sending you a simple example which demonstrates the desired functionality. However everything works as expected. Please check it out and let me know what differs in your case.

Looking forward for your reply.

Kind regards,
Radoslav
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.

0
Bart Reekmans
Top achievements
Rank 1
answered on 25 Aug 2011, 08:31 AM

Hi,

Thanks for the example. In the meanwhile I found the solution. I Loaded my usercontrol everytime, but now I'm first checking if it already exists.

Kind regards

Tags
Grid
Asked by
Bart Reekmans
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Bart Reekmans
Top achievements
Rank 1
Share this question
or