DefaultFilterFunction attribute not working in the RadFilterTextEditor

4 posts, 0 answers
  1. Gowtham
    Gowtham avatar
    3 posts
    Member since:
    Jul 2013

    Posted 17 Jul 2013 Link to this post

    Hi,
    I need to use DefaultFilterFunction  but inside the RadFilterTextFieldEditor tag but it is showing error as the text editor does not have a public property "DefaultFilterFunction "
  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1793 posts

    Posted 22 Jul 2013 Link to this post

    Hello Gowtham,

    Thank you for contacting us.

    With the code below I was able to set the "DefaultFilterFunction" property to the RadFilterTextFieldEditor without any errors:
    <telerik:RadFilter runat="server">
         <FieldEditors>
              <telerik:RadFilterTextFieldEditor DefaultFilterFunction="EndsWith" />
              <telerik:RadFilterTextFieldEditor DefaultFilterFunction="Contains"/>
         </FieldEditors>
    </telerik:RadFilter>

    Please take a look at the provided code snippet and see if there are any differences from the way you are trying to set the "DefaultFilterFunction" property. 

    If you continue to face that issue, please elaborate a little more on how you are trying to set the property and if possible, provide a snippet of your code for further inspection.

    Looking forward to your reply.


    Best Regards,
    Konstantin Dikov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Gowtham
    Gowtham avatar
    3 posts
    Member since:
    Jul 2013

    Posted 01 Aug 2013 Link to this post

    i copy pasted the same code which you have provided still getting the run time error, "Type 'Telerik.Web.UI.RadFilterTextFieldEditor' does not have a public property named 'DefaultFilterFunction' ". Is this a because of version?  My Telerik version is 2010.3.1109.35
  5. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1793 posts

    Posted 06 Aug 2013 Link to this post

    Hello Gowtham,

    Indeed, the "DefaultFilterFunction" property is not present in RadControls version 2010.3.1109.35.

    Please upgrade to our latest RadControls version in order to use that property and to benefit from all the improvements and fixes that have been introduced since Q3 2010.
     

    Regards,
    Konstantin Dikov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top