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

Mix programmatic and declarative RadGrid column creation?

1 Answer 66 Views
Grid
This is a migrated thread and some comments may be shown as answers.
adi
Top achievements
Rank 1
adi asked on 18 Jun 2009, 01:57 PM
Hi,

I want to know if I can build the main part of a RadGrid declaratively and e.g. the template columns came from an other class that implements ITemplate.

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 18 Jun 2009, 02:09 PM
Hello Adi,

RadGrid does not support mixing declarative grid columns with grid columns added dynamically at runtime. You should either create all the columns in the grid programmatically, or else define them all in the ASPX file. You can fing out the same mentioned in the follwoing help document:
Programmatic creation

Thanks
Princy.
Tags
Grid
Asked by
adi
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or