EnableRangeFiltering is not valid?

4 posts, 0 answers
  1. Dao
    Dao avatar
    3 posts
    Member since:
    Feb 2012

    Posted 11 Sep 2012 Link to this post

    i got Type 'Telerik.Web.UI.GridDateTimeColumn' does not have a public property named 'EnableRangeFiltering'. when use EnableRangeFiltering properties of GridDateTimeColumn... help!

    <telerik:RadGrid ID="RadGrid1" AllowFilteringByColumn="true" PageSize="20" ShowFooter="True"
            AllowPaging="True" AllowSorting="true" AutoGenerateColumns="false"
            GridLines="None" ShowStatusBar="true"
            runat="server" OnItemCreated="RadGrid1_ItemCreated"
            <GroupingSettings CaseSensitive="false" />
            <MasterTableView EditMode="InPlace" AllowFilteringByColumn="True" ShowFooter="True"
                DataKeyNames="ArticleID" TableLayout="Fixed">
                    <telerik:GridBoundColumn DataField="Title" HeaderText="Tiêu đề">
                   <telerik:GridDateTimeColumn FilterControlWidth="95px" DataField="AddedDate" HeaderText="Ngày đăng"
                        SortExpression="AddedDate" UniqueName="AddedDate" PickerType="DatePicker"
                        EnableRangeFiltering="true" DataFormatString="{0:dd/MM/yyyy}">
                        <HeaderStyle Width="160px" />
                    <telerik:GridTemplateColumn DataField="CateID" HeaderText="Danh mục" UniqueName="CateID"
                        HeaderStyle-Width="200px" SortExpression="DisplayOrder">
                            <telerik:RadComboBox ID="RadComboBoxCategories" runat="server">
                            <%# Eval("udv_Categories.Title") %>
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 11 Sep 2012 Link to this post

    Hi Duo,

    The GridDateTimeColumn.EnableRangeFiltering Property was released in Version: 2012.2.607.0 (2012.02.607.0). You are getting such an error because you are using older version. Try upgrading the version.

  3. Baiju
    Baiju avatar
    1 posts
    Member since:
    Mar 2015

    Posted 26 Mar 2015 Link to this post

    Hi Telerik Team,

    As per the above post, we can make use of EnableRangeFiltering property of GridDateTimeColumn (RadGrid) from the version 2012.02.607.0.
    The teleric version i am using is 2013.2.717.35. Still i get an error as  'Telerik.Web.UI.GridDateTimeColumn' does not have a public property named 'EnableRangeFiltering'. 

    Could you please help me resolving this issue?

  4. Angel Petrov
    Angel Petrov avatar
    1044 posts

    Posted 31 Mar 2015 Link to this post

    Hi Baiju,

    You should not experience any problems when using the 2013.2.717 version. I have assembled a sample web site on my end and tried to replicate the issue but was not able to do so. Could you please run the attached test project and let us know how it went?

    Additionally if you are using a web application please try removing the references to the controls and add them again.

    Angel Petrov

    See What's Next in App Development. Register for TelerikNEXT.

Back to Top