Locking the top logical operator to "AND"

4 posts, 0 answers
  1. Saravana Kumar
    Saravana Kumar avatar
    21 posts
    Member since:
    Jul 2006

    Posted 03 Jan 2011 Link to this post

    Is there anyway to restrict the top most operator to just "AND", so that the user can't change it to "Or"

    Regards,
    Saravana
  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 04 Jan 2011 Link to this post

    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
  3. DevCraft banner
  4. Saravana Kumar
    Saravana Kumar avatar
    21 posts
    Member since:
    Jul 2006

    Posted 04 Jan 2011 Link to this post

    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 :-)
  5. david mcintyre
    david mcintyre avatar
    31 posts
    Member since:
    Mar 2010

    Posted 17 May 2011 Link to this post

    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.
Back to Top