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

Expander

1 Answer 160 Views
Expander
This is a migrated thread and some comments may be shown as answers.
Kiruba
Top achievements
Rank 1
Kiruba asked on 17 Jun 2013, 10:52 AM
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>

 

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 20 Jun 2013, 10:08 AM
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.

Tags
Expander
Asked by
Kiruba
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or