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

Grid Update/Insert Events get not raised when using them on UserControl

1 Answer 44 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 02 Sep 2010, 12:52 PM
Hello,

first, I'm new to the Telerik Controls.
So i have downloaded your latest Trial Edition from ASP.NET Web.UI Controls and have tried to make a little sample project with an RadMenu which loads UserControls into an asp:Panel when clicking on the Menuitem. This works fine. So i tried to use your RadGrid Control on a UserControl. Data gets loaded. Now i tried to implement some edit functions to the grid like inserts, updates and deletes.
That was the point where i get in trouble.
First, no update/insert/delete events get raised. Searching your Support Resources i found an hint for this scenario. So i Reload the UserControl in the Page Load Event when it is not loaded. At this point i get the delete event raised. But the update/insert events doesnt get raised. Moving the Reload of the Control to the Page Init Event helps here, the events gets fired, but i can not use the Page Init Event as i need some informations from the viewstate.
What can i do to fix this little problem?

Thx for support

1 Answer, 1 is accepted

Sort by
0
John
Top achievements
Rank 1
answered on 02 Sep 2010, 04:04 PM
Ok, resolved by myself by modifying the Page_Load Event and die UserControl Loading Routine.
I dont know why the old way made this problems... 
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
John
Top achievements
Rank 1
Share this question
or