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

[Table].[Column] for FieldName in RadFilter

1 Answer 48 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Don Tompkins
Top achievements
Rank 1
Don Tompkins asked on 13 Apr 2011, 06:01 PM
Hello,

I need to specify the table name in my custom field editor and when I do it's formatting the results in a way I do not want. When I set FieldName = [TableName].[FieldName] my result is returned [[TableName].[FieldName]] = 12345. Is there a way I can suppress the formatting of the result so I can control the outcome?

Thanks!

Don

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 19 Apr 2011, 10:10 AM
Hello Don,

The RadFilter does not support build-in the desired functionality. It formats the expressions in sql like format. However to achieve the desired functionality you could try using the AppyExpressions event where you could iterate over the RadFilter expressions or build yours. Also into this event you could create and add the expression though the existing QueryProviders. On the following link you could find a simple example of that:
http://www.telerik.com/help/aspnet-ajax/filter-listview-filtering.html (Handling the AppyExpressions event handler section)

I hope this helps.

All the best,
Radoslav
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
Filter
Asked by
Don Tompkins
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or