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

Expander prevents mouse clicks and mouse overs on all other controls on the page

1 Answer 32 Views
Expander
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 07 Feb 2013, 11:15 PM
Hi,

I am using a RadExpander to show and hide a "mini map" version of a ScheduleView (similar to the "ScheduleView and TimerBar example, but with the TimerBar collapsing out of the way when not in use).  I am finding though that with the RadExpander on the page then none of the mouse events on the main ScheduleView are working - no tooltips, no dragging of controls etc.  The RadExapander control is covering the entire page, even when collapsed.

Setting "IsHitTestVisible" to false on the border inside the RadExpander allows the mouse event on the main view to work, but the expand/collapse button on the Expander no longer works.

How can I make the RadExpander show and hide the mini map while still allowing the main schedule view to work?

The structure of my page is roughly like this:
<Grid x:Name="LayoutRoot" >
    <telerik:RadScheduleView ... />   <--- main view
    <telerik:RadExpander>
        <telerik:RadExpander.Content>
            <telerik:RadScheduleView />   <---- mini view
            <telerik:RadTimeBar />
        </telerik:RadExpander.Content>
    </telerik:RadExpander>
</Grid>


 

 

 

 


1 Answer, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 09 Feb 2013, 05:07 AM
OK, this turned out to be Silverlight 101 - the Expander VerticalAlignment was set to "Stretch" rather than "Top".
Tags
Expander
Asked by
David
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Share this question
or