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

filtering with radatepicker

4 Answers 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Juan
Top achievements
Rank 1
Juan asked on 19 Aug 2008, 07:56 PM
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.

4 Answers, 1 is accepted

Sort by
0
Accepted
Pavel
Telerik team
answered on 20 Aug 2008, 06:48 AM
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.
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.
0
Juan
Top achievements
Rank 1
answered on 20 Aug 2008, 02:44 PM
thanks a lot
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.
Tags
Grid
Asked by
Juan
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Princy
Top achievements
Rank 2
Juan
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or