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

DefaultFilterFunction attribute not working in the RadFilterTextEditor

3 Answers 34 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Gowtham
Top achievements
Rank 2
Gowtham asked on 17 Jul 2013, 11:51 AM
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 "

3 Answers, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 22 Jul 2013, 10:30 AM
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.
0
Gowtham
Top achievements
Rank 2
answered on 01 Aug 2013, 10:38 AM
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
0
Konstantin Dikov
Telerik team
answered on 06 Aug 2013, 10:15 AM
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.
Tags
Filter
Asked by
Gowtham
Top achievements
Rank 2
Answers by
Konstantin Dikov
Telerik team
Gowtham
Top achievements
Rank 2
Share this question
or