right button cut off

8 posts, 0 answers
  1. Aaron
    Aaron avatar
    20 posts
    Member since:
    Oct 2012

    Posted 17 Oct 2011 Link to this post

    I'm adding a RadDataFilter to one of my usercontrols. For some reason, that control messes up the RadDataFilter.

    The behavior can be seen in the attached image. If you look, you'll notice that the plus sign to the ride of the root "And" is missing as well as the split button to the right of most of the filters. Sometimes seemingly at random, the top few pixels of the button will render as you'll see further towards the bottom. However, the next time the layout is refreshed by just about any action that will usually disappear.

    However, the buttons are still completely functional. If you click where the button should be you still get what it is it was supposed to do (adding or splitting, etc...)

    Any ideas what could cause this? I've looked all over for any theming that could be clashing and can't seem to find anything. I had a custom theme applied to this based on ExpressionDark but for testing I commented all of it out so this is just using the Windows7 theme.
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 18 Oct 2011 Link to this post

    Hi Aaron,

     

    Indeed this is really strange behavior related to RadDataFilter. For the time being we are not sure what might be causing this random glitch. Would it be possible to isolate the problem in a small runnable project and attach it to a new support ticket, which we may use for local testing? We may test it using Silverlight Spy which might be of help. 
    I look forward to hearing from you!


    Regards,
    Vanya Pavlova
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 19 Oct 2011 Link to this post

    Hello Aaron,

     

    Thank you for sharing this project to us! We have spent some time to research this case.
    RadDataFilter is clipped in this way, due to some settings of your custom SlideOutPanel. If you remove the setting to be docked to the left RadDataFilter will be displayed in full size:

    <local:SlideOutPanel Canvas.ZIndex="50" x:Name="AdvancedPanel" HeaderLabel="ADVANCED" ButtonOffset="-2 530 0 0"   BorderThickness="2" BorderBrush="{StaticResource Brush_LtBlueBorder}"
                               Background="{StaticResource Brush_DarkBlue}" ContentBackground="{StaticResource Brush_TabContentBackground}" Foreground="White"
                               VerticalAlignment="Top" SlideOutDuration="0:0:0.4" Height="725" IsExpanded="True">
         <telerik:RadDataFilter Width="400" Height="400" />
       </local:SlideOutPanel>


    You may see the result at the attached picture. Indeed RadDataFilter is a control, which needs a space to be displayed. When there is not enough space around it the control is being clipped. 


    Best wishes,
    Vanya Pavlova
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  5. Aaron
    Aaron avatar
    20 posts
    Member since:
    Oct 2012

    Posted 19 Oct 2011 Link to this post

    Except it has plenty of room in its container.

    I can see that removing the Dock= attribute causes it to use the default which is Dock="Right". However, I need the tab with this control to dock to the left. It makes no sense that the control would be clipped. Nothing in the SlideOutPanel should be interfering with the sizing/layout of its child controls. The following code in the tab produces a 400x400 grid, and the RadDataFilter should take 100% of it. However, the RadDataFilter is still messed up. Besides, it shows the filters which are much wider than the root node, so if they are shown, why is the right cut off?

    <local:SlideOutPanel IsExpanded="True" Background="{StaticResource Brush_DarkBlue}" ContentBackground="{StaticResource Brush_TabContentBackground}">
      <Grid Width="400" Height="400" Background="White">
        <telerik:RadDataFilter Width="400" Height="400" />
      </Grid>
    </local:SlideOutPanel>
  6. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 24 Oct 2011 Link to this post

    Hi Aaron,

     
    Thank you for getting back to us! Indeed the behavior which may be observed in your project is really strange. We need some more time to investigate what might be causing this through internally observing the template of RadDataFilter.


    Please excuse us for any inconvenience caused! 


    Greetings,
    Vanya Pavlova
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  7. Shada
    Shada avatar
    2 posts
    Member since:
    Dec 2011

    Posted 05 Dec 2011 Link to this post

    Hi  Vanya Pavlova
    I'd like to ask if this problem is fixed because i face the same problem

    Thanks for help
     
  8. Shada
    Shada avatar
    2 posts
    Member since:
    Dec 2011

    Posted 05 Dec 2011 Link to this post

    Hi  Vanya Pavlova
    I'd like to ask if this problem is fixed because i face the same problem

    Thanks for help
     
  9. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 08 Feb 2012 Link to this post

    Hello Shada,

     


    I would like to inform you that this issue is already fixed and the fix will be included in the next official release of the Telerik Components for Silverlight (Q1 2012).




    All the best,
    Vanya Pavlova
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top
DevCraft banner