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

RadGrid create dynamic columns

3 Answers 324 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Petrofac
Top achievements
Rank 1
Petrofac asked on 14 Sep 2011, 09:30 AM
Hello,

All my RadGrid Columns are dynamic i have to create columns based on current a page state. I ll come to know the columns to be created only on a selection of a dropdownlist in the same page.
Please let me know the right RadGrid event to create a dynamic columns in the RadGrid.

Appreciate you quick response.

Thanks
Prabhu

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 14 Sep 2011, 10:34 AM
Hello Petrofac,

You can create the dynamic columns either from pageLoad or PageInit. Please take a look into the following help document and demo for more on this.
Programmatic Creation.
Grid / On PageInit.
Grid / On PageLoad.

Thanks,
Princy.
0
Accepted
Sebastian
Telerik team
answered on 14 Sep 2011, 11:21 AM
There is one more option that is explained in this documentation topic.

Best,
Sebastian
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
Petrofac
Top achievements
Rank 1
answered on 14 Sep 2011, 12:07 PM
Sebastian,

Thanks this is what exactly i need....

Thanks
Petrofac
Tags
Grid
Asked by
Petrofac
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Sebastian
Telerik team
Petrofac
Top achievements
Rank 1
Share this question
or