when a make a radgrid with a datasource from sqldatasource .net component
and i have the option autogenerate colums at runtime in true
the filters of date fields have a radatepicker
how can i do this when my source come from needdatasource function, i tried everythig but i can“t do this.
and i have the option autogenerate colums at runtime in true
the filters of date fields have a radatepicker
how can i do this when my source come from needdatasource function, i tried everythig but i can“t do this.
4 Answers, 1 is accepted
0
Accepted
Hello Juan,
I have prepared a small sample to illustrate the desired functionality. Give it a try and let us know what is different in your case or if you need additional help.
Kind regards,
Pavel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
I have prepared a small sample to illustrate the desired functionality. Give it a try and let us know what is different in your case or if you need additional help.
Kind regards,
Pavel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Accepted

Princy
Top achievements
Rank 2
answered on 20 Aug 2008, 06:55 AM
Hello Juan,
When the AutoGenerateColumns property is set to true for the Grid which is bound to a DataSource using SqlDataSource or NeedDataSource event, the DateTimeField will be automatically bound to a GridDateTimeColumn and a DatePicker will appear in the FilteringItem for this column. When AutoGenerateColumns property is set to false you need to bind the DateTimeField to the GridDateTimeColumn explicitly to see the DatePicker.
Thanks
Princy.
When the AutoGenerateColumns property is set to true for the Grid which is bound to a DataSource using SqlDataSource or NeedDataSource event, the DateTimeField will be automatically bound to a GridDateTimeColumn and a DatePicker will appear in the FilteringItem for this column. When AutoGenerateColumns property is set to false you need to bind the DateTimeField to the GridDateTimeColumn explicitly to see the DatePicker.
Thanks
Princy.
0

Juan
Top achievements
Rank 1
answered on 20 Aug 2008, 02:44 PM
thanks a lot
it' was very useful
it' was very useful
0

Shinu
Top achievements
Rank 2
answered on 21 Aug 2008, 05:28 AM
Hi Juan,
You can also go through the following help article to get more details about the column types supported by RadGrid.
Column types
Thanks
Shinu.
You can also go through the following help article to get more details about the column types supported by RadGrid.
Column types
Thanks
Shinu.