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

2 posts, 0 answers
  1. David
    David avatar
    2 posts
    Member since:
    Jan 2013

    Posted 07 Feb 2013 Link to this post

    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>


     

     

     

     


  2. David
    David avatar
    2 posts
    Member since:
    Jan 2013

    Posted 08 Feb 2013 Link to this post

    OK, this turned out to be Silverlight 101 - the Expander VerticalAlignment was set to "Stretch" rather than "Top".
  3. DevCraft banner
Back to Top