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

Locking the top logical operator to "AND"

3 Answers 32 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
Saravana Kumar
Top achievements
Rank 1
Saravana Kumar asked on 04 Jan 2011, 04:41 AM
Is there anyway to restrict the top most operator to just "AND", so that the user can't change it to "Or"

Regards,
Saravana

3 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 04 Jan 2011, 12:28 PM
Hello Saravana Kumar,

I am afraid that this is currently impossible as well.

Kind regards,
Ross
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Saravana Kumar
Top achievements
Rank 1
answered on 04 Jan 2011, 07:10 PM
Thanks, I just did a hack by placing a absolutely positioned TextBlock Text ="And" on top of the logical operator so that the user can't click on it :-)
0
david mcintyre
Top achievements
Rank 1
answered on 17 May 2011, 05:13 PM
i have a similar requirement because I am using the RadDatafilter to create a "set" clause for an update query, and I just used a hack of
if (filter.FilterDescriptors.LogicalOperator == FilterCompositionLogicalOperator.Or)
                filter.FilterDescriptors.LogicalOperator = FilterCompositionLogicalOperator.And;

 to reset the value to 'And' in the eventhandler for FilterOperatorsLoading.
Tags
DataFilter
Asked by
Saravana Kumar
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Saravana Kumar
Top achievements
Rank 1
david mcintyre
Top achievements
Rank 1
Share this question
or