Pane Visbility

3 posts, 1 answers
  1. JAS J
    JAS J avatar
    39 posts
    Member since:
    May 2010

    Posted 04 Aug 2011 Link to this post

    I am trying to hide and show panes using a binding. The only way I have been able to get it to work is as follows:

    <telerik:RadSplitContainer  Visibility="{Binding ShowClientMinutesPane, Mode=TwoWay, Converter={StaticResource BoolToVisibility}}" >
        <telerik:RadPaneGroup   Visibility="{Binding ShowClientMinutesPane, Mode=TwoWay, Converter={StaticResource BoolToVisibility}}">
            <telerik:RadPane  Header="Minutes"
                               Visibility="{Binding ShowClientMinutesPane, Mode=TwoWay, Converter={StaticResource BoolToVisibility}}">
                <vw:ClientMinutesView/>
            </telerik:RadPane>                   
        </telerik:RadPaneGroup>
    </telerik:RadSplitContainer>

    That is, I have to do it in all three places. What am I doing wrong? Is this the way I am supposed to do it?

    thanks,
    jas
  2. Answer
    bg
    bg avatar
    19 posts
    Member since:
    Jul 2006

    Posted 04 Aug 2011 Link to this post

    Don't use Visibility, use the ISHidden property on that Pane. That should take care of it.
  3. DevCraft banner
  4. JAS J
    JAS J avatar
    39 posts
    Member since:
    May 2010

    Posted 04 Aug 2011 Link to this post

    Thanks, that worked.
Back to Top