This is a migrated thread and some comments may be shown as answers.

right button cut off

7 Answers 139 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 18 Oct 2011, 01:43 AM
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.

7 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 18 Oct 2011, 11:49 AM
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 >>

0
Vanya Pavlova
Telerik team
answered on 19 Oct 2011, 08:59 AM
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 >>

0
Aaron
Top achievements
Rank 1
answered on 19 Oct 2011, 04:06 PM

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>
0
Vanya Pavlova
Telerik team
answered on 24 Oct 2011, 02:30 PM
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 >>

0
Shada
Top achievements
Rank 1
answered on 05 Dec 2011, 06:02 PM
Hi  Vanya Pavlova
I'd like to ask if this problem is fixed because i face the same problem

Thanks for help
 
0
Shada
Top achievements
Rank 1
answered on 05 Dec 2011, 06:03 PM
Hi  Vanya Pavlova
I'd like to ask if this problem is fixed because i face the same problem

Thanks for help
 
0
Vanya Pavlova
Telerik team
answered on 08 Feb 2012, 09:53 AM
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 >>
Tags
DataFilter
Asked by
Aaron
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Aaron
Top achievements
Rank 1
Shada
Top achievements
Rank 1
Share this question
or