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

Resize Silverlight Xaml to browser window

9 Answers 102 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Moises Casusol
Top achievements
Rank 1
Moises Casusol asked on 11 Nov 2009, 03:40 PM
Hi,

How i can do to resize all the Silverlight Xaml content to browser window when i resize the window?, Is any property of the controls?

Best Regards,

9 Answers, 1 is accepted

Sort by
0
Hristo Borisov
Telerik team
answered on 12 Nov 2009, 04:29 PM
Hello Moises Casusol,

If you want to have your Silverlight application to stretch inside the browser's window, you have to remove any Width and Height properties part of your main UserControl as well as of the html or aspx definition of your Silverlight application xap file. This way you will have your Silverlight application stretched with the browser's window.

I hope this will resolve your problem, if you have any other issues please get back to us immediately.

All the best,
Hristo Borisov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Grtjn
Top achievements
Rank 1
answered on 22 Mar 2010, 11:39 AM
Hi Hristo,

I have the same problem.
I removed the Widt and Height values; but when I keep resizing my window(smaller) , my charts keep disappearing (only showing a small corner of the chart en the grid's background...)

Any help?

Kind regards,

Gertjan
0
Valeri Hristov
Telerik team
answered on 24 Mar 2010, 10:33 AM
Hi GJ,

Is it possible that the Chart control or some ot its ancestors has set Width/Height? A simple application that could be used to observe the problem would be of great help (open a new support ticket in order to attach it).

Sincerely yours,
Valeri Hristov
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
Grtjn
Top achievements
Rank 1
answered on 25 Mar 2010, 08:28 AM
Hi,

I have no idea how to open a support ticket, but the code that I would show you is also on your website!
http://www.telerik.com/help/silverlight/radchart-populating-with-data-creating-chart-declaratively.html

The code I tried was at the bottom of the page where it says "Creating A Chart with Custom Layout".
Even with this simple application I have this issue. Normally I work with webservices, but I guess that won't be easy for you if I would send you all that code...

I already started a thread on this subject and maybe this could help explain my problem a bit more!
Here I attached some images to demonstrate...
http://www.telerik.com/community/forums/silverlight/gauge/resize-window.aspx

Hope you know a solution

Kind Regards,

Gertjan
0
Grtjn
Top achievements
Rank 1
answered on 29 Mar 2010, 10:33 AM
Plz does anyone know the solution for this?
I really need to solve this issue in order to get my project to work correctly!

Kind regards,

Gertjan
0
Grtjn
Top achievements
Rank 1
answered on 29 Mar 2010, 10:34 AM
Plz does anyone know the solution for this?
I really need to solve this issue in order to get my project to work correctly!

Kind regards,

Gertjan
0
Grtjn
Top achievements
Rank 1
answered on 01 Apr 2010, 08:10 AM
I can't imagine noone knows a solution or has an advice for this.
This would be much appreciated!

Kind regards,

Gertjan
0
Vladimir Milev
Telerik team
answered on 01 Apr 2010, 01:03 PM
Hello Grtjn,

Did Freddie's post help solve your problem?

All the best,
Vladimir Milev
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
Grtjn
Top achievements
Rank 1
answered on 02 Apr 2010, 07:42 AM
No, this did not do the trick.
But I will try and get the answer for the official Microsoft Silverlight Forums as he suggested.
Maybe there someone knows the answer to this issue.

Kind regards,

Gertjan
Tags
General Discussions
Asked by
Moises Casusol
Top achievements
Rank 1
Answers by
Hristo Borisov
Telerik team
Grtjn
Top achievements
Rank 1
Valeri Hristov
Telerik team
Vladimir Milev
Telerik team
Share this question
or