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

stretch contents of RadPage within RadFrameContainer within RadWindow

3 Answers 61 Views
Window
This is a migrated thread and some comments may be shown as answers.
Rami Abughazaleh
Top achievements
Rank 1
Rami Abughazaleh asked on 13 Aug 2010, 03:52 AM
Hi.

I am trying to update the wizard example that can be found here:
http://demos.telerik.com/silverlight/wizardexample/

Sample code can be downloaded from here:
http://www.telerik.com/community/forums/silverlight/general-discussions/how-to-create-wizard-screens-in-silver-light.aspx
http://www.telerik.com/ClientsFiles/156323_wizardexample.zip
http://www.telerik.com/community/forums/silverlight/general-discussions/how-to-create-wizard-screens.aspx
http://www.telerik.com/ClientsFiles/156324_wizardexample.zip

I basically want the contents to stretch and fill the parent RadFrameContainer, but I can't seem to figure it out.

Is this even possible?

For example, when you view the demo and maximize the RadWindow, its contents do not stretch even though I set HorizonalAlignment="Stretch" on every UIElement in the heirarchy.

Any ideas?

I am currently using RadControls_for_Silverlight_4_2010_2_0714.

Thank you.

3 Answers, 1 is accepted

Sort by
0
Accepted
Dani
Telerik team
answered on 18 Aug 2010, 08:14 AM
Hi Rami Abughazaleh,

Thank you for contacting us.

You need to change the Width and Height of each RadPage:

<telerik:RadPage x:Class="WizardExample.Page2"
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
xmlns:teleriknavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
   Height="480" Width="640">
  
..
</telerik:RadPage>


Width="640" Height="480" is what the size of each screen is now. Adjust this to your own liking. Furthermore, you need to adjust the Grid columns and rows to the new size of the page, since most of the widths and heights are hard-coded.


Kind regards,
Dani
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Veda
Top achievements
Rank 1
answered on 13 May 2011, 09:50 AM
Hi,
I want to navigate between the dialog windows. Some thing like, i have opened one window and on click of next another window should display. Also it shouldnt look like 2 windows are opened.
0
Dani
Telerik team
answered on 16 May 2011, 08:51 AM
Hello Veda,

I believe you wish to create a wizard with RadWindow. Please, use the resources posted earlier in this thread to see an example of how this can be done.

Please note, however, that this is an old example and RadPage, RadFrame and RadFrameContainer are no longer supported. Instead, you can use the Silverlight 4 Navigation framework which provides paged navigation for the same purposes. Please, check this helpful MSDN article on the topic.
 
I believe switching to Silverlight 4 navigation will be easy enough. However, if you need more help on this subject, let me know.


Kind regards,
Dani
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Window
Asked by
Rami Abughazaleh
Top achievements
Rank 1
Answers by
Dani
Telerik team
Veda
Top achievements
Rank 1
Share this question
or