Get SearchBox Control

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    28 posts
    Member since:
    Mar 2013

    Posted 19 Apr 2013 Link to this post

    When I type anything in the searchbox, the elements in the control are reset, so any custom formatting I have done to the editor templates at runtime are cleared. Is there an event that fires when the search is performed so I know when to reformat all my customizations?  If not, is there a way to attach a textchanged event to the searchbox?
  2. Yoan
    Admin
    Yoan avatar
    1066 posts

    Posted 24 Apr 2013 Link to this post

    Hello Andrew,

    Actually, this would be an expected behavior. When performing the search operation, the RadPropertyGrid's fields are reloaded, so any run-time customization will be lost. I can suggest you to use the DataTemplateSelectors instead. Moreover, you can modify RadPropertyGrid's fields in the FieldLoaded event.

    Kind regards,
    Yoan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top