Editor.Width not functioning

3 posts, 0 answers
  1. Pat
    Pat avatar
    7 posts
    Member since:
    Jan 2015

    Posted 20 Feb 2015 Link to this post

    I have written an eventhandler which is getting called on FieldFilterEditorCreated.     Depending on which column the type of the e.Editor changes.   But regardless, when I set a value in the width property of this editor it has no effect.    It comes is as "NaN".    I try to set the value.   It doesn't have any effect.   Even if I set it to a huge number, the size of the filter editor box remains unchanged.

    Incidentally I see the FieldFilterEditorCreated event getting called TWICE when I click the funnel.    Both times on entry the value in e.Editor.Width is "Nan" and when I set it both times...still no change.
  2. Pat
    Pat avatar
    7 posts
    Member since:
    Jan 2015

    Posted 23 Feb 2015 in reply to Pat Link to this post

    I was able to resolve my issue by putting the following into the resourcedictionary section of the xaml for the base class:

            xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" >
    <Style TargetType="telerik:FilteringControl">
               <Setter Property="Width" Value="Auto"/>
  3. Yoan
    Yoan avatar
    1214 posts

    Posted 24 Feb 2015 Link to this post

    Hello Pat,

    I am glad to hear that you had resolved the problem by yourself. If you need further assistance on this, do not hesitate to contact us again.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top