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

Adding a User Control with RadGrid at runtime

1 Answer 93 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 17 Jun 2014, 03:09 PM
Hello,

I'm working on a project that has a UserControl which contains a RadGrid.
I need to create a new UserControl for a certain action performed by the user.
This must be done in runtime.

I can't create the UserControl in the Page_Load() or Page_Init() functions.

How can I create a new UserControl dynamically during runtime, without the UserControl's and the RadGrid's functionality being compromised ?


Thanks, Daniel.

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 20 Jun 2014, 10:31 AM
Hello Daniel,

You can do that on Button Click event handler for example as demonstrated in the following article
http://www.telerik.com/help/aspnet-ajax/ajax-load-user-controls.html

Hope this helps.

Regards,
Eyup
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Daniel
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or