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

Modifiy MaxDate-property in EnableRangeFiltering

1 Answer 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Hendrik
Top achievements
Rank 1
Hendrik asked on 29 May 2017, 02:12 PM

Hi everyone,

I am using a RadGrid with several columns. In the GridDateTimeColumn I use the EnableRangeFiltering-property. Unfortunately, I have very high Dates in my database (01.01.2200 for example). That's why, I need to modify the MaxDate-property of the To-field for theRangeFiltering. How can I access the corresponding field in order to modify its MaxDate-value? You can see a part of my code below:

Thank you very much!

Regards,
Hendrik

<telerik:RadGrid runat="server" ID="rg_pobTable">  
    <MasterTableView CommandItemDisplay="Top" DataKeyNames="Id">
        <Columns>                     
     <telerik:GridDateTimeColumn UniqueName="NächstePrüfung" ShowFilterIcon="False" DataType="System.DateTime" EnableRangeFiltering="True" AllowSorting="True" AutoPostBackOnFilter="True" PickerType="DatePicker"                  SortExpression="NächstePrüfung" HeaderText="Nächste Prüfung" DataField="NächstePrüfung" DataFormatString="{0:dd.MM.yyyy}">
                <HeaderStyle Width="325px" />
            </telerik:GridDateTimeColumn>          
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 31 May 2017, 08:14 AM
Hi Hendrik,

I've already replied to your query in your ticket with ID: 1111559. I suggest that we continue our conversation on the mentioned thread.

Regards,
Eyup
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Hendrik
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or