Expander

2 posts, 0 answers
  1. Kiruba
    Kiruba avatar
    1 posts
    Member since:
    Jun 2013

    Posted 17 Jun 2013 Link to this post

    Hi,
       I have used RadExpander in my project.I tried to use Scrollbar for that.but it is not visible.Please go through the code and suggest what is wrong here .Eventhough i have given image height and width greater than expander to get the scrollbar.

     
    telerik:RadExpander Name="radTest" Header="Test1 " Height="150" Width="500" IsExpanded="False" HorizontalAlignment="Left" ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible">

     <Image Source= "Agent.png" Height=" 300" Width="700">  </Image>

    </telerik:RadExpander>

     

  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 20 Jun 2013 Link to this post

    Hi Kiruba,

    RadExpander doesn't provide a built-in ScrollViewer. This is why the ScrollViewer settings you've applied on the controls don't display any ScrollBars.

    Instead, you should wrap the content of the control in a ScrollViewer:
    <telerik:RadExpander Name="radTest"
                Width="500"
                Height="150"
                HorizontalAlignment="Left"
                Header="Test1 "
                IsExpanded="False">
        <ScrollViewer>
            <Image Width="700"
                Height="300"
                Source="Agent.png" />
        </ScrollViewer>
    </telerik:RadExpander>

    Let us know if that helps and if you need further information.

    Regards,
    Tina Stancheva
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top