Disabling "Real-Time" Filtering

4 posts, 0 answers
  1. Mark
    Mark avatar
    44 posts
    Member since:
    Jun 2009

    Posted 16 Feb 2011 Link to this post

    Hello,

    It appears that there is some difference between how some filter operators work.  For example, when using the "Contains" operator on a string column, the filter is not invoked until Enter is pressed, but when using "Is Greater Than" on a numeric column, the filter updates as keys are pressed. 

    Is there any way to disable this "on-keypress"/"real-time" behaviour?  I have found that with large tables it can be very sluggish to re-filter on every key press.  I.e. when wanting to filter on something greater than say "200", it will filter for great than "2" then greater than "20" then finally greater than "200".

    Thanks,
    Mark.


  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 21 Feb 2011 Link to this post

    Hello Mark,

    I reproduced the behavior that you described. The editor that behaves like this is in fact a RadMaskedTextBox.

    I will add the following code to the RadMaskedTextBox so that it updates the Binding after the user has finished typing:

    maskedTextBox.UpdateValueEvent = UpdateValueEvent.LostFocus;

    This change should make it into one of the next "Latest Internal Build"s. You can follow its status here.

    All the best,
    Ross
    the Telerik team
  3. UI for WPF is Visual Studio 2017 Ready
  4. Mark
    Mark avatar
    44 posts
    Member since:
    Jun 2009

    Posted 22 Feb 2011 Link to this post

    Awesome - thanks Ross!

    Just to be clear.  I notice on the PITS entry that it is logged against Silverlight.  Will this be available in the WPF controls too? 
  5. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 22 Feb 2011 Link to this post

    Hi Mark,

    The next LIB will be released next Monday. Let me know if there are problems with the filter once you upgrade to the new binaries.

    Greetings,
    Ross
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top