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

GridDateTimeColumn not work for filter

3 Answers 59 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Naunton
Top achievements
Rank 1
Naunton asked on 04 Jan 2011, 10:21 AM
Hi all,

My grid need filter by date, When I click calendar button at filter Calendar not showing.  
Please see my code ...

<telerik:GridDateTimeColumn DataField="ETD" DataType="System.DateTime"
            FilterControlWidth="120px" HeaderText="ETD"
            ShowFilterIcon="False" SortExpression="ETD" UniqueName="ETD"
            PickerType="DatePicker" DataFormatString="{0:D}">
            <HeaderStyle Width="160px"/>
        </telerik:GridDateTimeColumn>

Thanks and Best Regards.

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 04 Jan 2011, 11:13 AM
Hi Naunt,

Please refer to the following online example which elaborates on this subject and see if it helps to achieve your goal:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filtertemplate/defaultcs.aspx

Kind regards,
Pavlina
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
Naunton
Top achievements
Rank 1
answered on 04 Jan 2011, 12:24 PM
Thanks for the reply...

After testing again, got the answer that  EnableEmbeddedScripts must set "True".

<FilterMenu EnableEmbeddedScripts="True"></FilterMenu>
0
Pavlina
Telerik team
answered on 04 Jan 2011, 12:35 PM
Hello Naunt,

I am glad that you were able to resolve the issue and in case you have additional questions or problems, just contact us again with detailed reproduction information and we will do our best to help.

Regards,
Pavlina
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.
Tags
Grid
Asked by
Naunton
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Naunton
Top achievements
Rank 1
Share this question
or