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

create grid dynamically (Ajax)

2 Answers 58 Views
Grid
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
William asked on 20 Nov 2008, 05:05 PM
Hi. I'm trying to create a grid dynamically. I'm able to create the grid in Page_Init() and then place it using:

VB: PlaceHolder1.Controls.Add(EmployeesGrid)
and ASCX: <asp:PlaceHolder id="PlaceHolder1" runat="server"></asp:PlaceHolder>

But I was wodering how I can make this work inside of an Ajax update panel?

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 21 Nov 2008, 07:02 AM
Hello William,

You can replace the PlaceHolder with RadAjaxPanel.

All the best,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
William
Top achievements
Rank 1
answered on 21 Nov 2008, 04:49 PM
Vlad,

I  put the PlaceHolder inside of the content template of the Ajax panel and that seems to work. Being able to replace the PlaceHolder with a RadAjaxPanel is definitely good to know though.

Thanks,

William
Tags
Grid
Asked by
William
Top achievements
Rank 1
Answers by
Vlad
Telerik team
William
Top achievements
Rank 1
Share this question
or