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

usercontrol loaded in page view

3 Answers 73 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Webster Velasco
Top achievements
Rank 2
Webster Velasco asked on 26 Jan 2010, 10:18 AM
hi

is it possible to do edit, insert and delete in data grid from a usercontrol which is loaded in a pageview?

because when i tried to edit after doing the post back my usercontrol which contain the data grid was gone

thanks a lot

regards
webster

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 27 Jan 2010, 03:18 PM
Hello Webster,

Dynamically added controls are not preserved and should be added on every postback in Page_Load event.

Kind regards,
Yana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Poul Henningsen
Top achievements
Rank 1
answered on 27 Jan 2010, 10:23 PM
hey, Webster, I think I've alreeady replied your question in this forum... Or maybe you don't wanna listen :) well, you should know then - you cannot neglect the page life cycle :).

BTW, the demo I have already pointed to, shows the usage of the multipage RageViewCreated method. The UserControls should be added in this method
0
Webster Velasco
Top achievements
Rank 2
answered on 28 Jan 2010, 03:02 PM
that demo isnt what im looking for..

because on that radgrid, there is no edit or insert command

and since im not good in telerik

i dnt have any idea how to do so..

anyway how can i preserved the usercontrol?

i need a the code plz
Tags
TabStrip
Asked by
Webster Velasco
Top achievements
Rank 2
Answers by
Yana
Telerik team
Poul Henningsen
Top achievements
Rank 1
Webster Velasco
Top achievements
Rank 2
Share this question
or