Resize Silverlight Xaml to browser window

10 posts, 0 answers
  1. Moises Casusol
    Moises Casusol avatar
    20 posts
    Member since:
    Oct 2009

    Posted 11 Nov 2009 Link to this post

    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,
  2. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 12 Nov 2009 Link to this post

    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.
  3. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 22 Mar 2010 Link to this post

    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
  4. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 24 Mar 2010 Link to this post

    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.
  5. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 25 Mar 2010 Link to this post

    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
  6. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 29 Mar 2010 Link to this post

    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
  7. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 29 Mar 2010 Link to this post

    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
  8. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 01 Apr 2010 Link to this post

    I can't imagine noone knows a solution or has an advice for this.
    This would be much appreciated!

    Kind regards,

    Gertjan
  9. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 01 Apr 2010 Link to this post

    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.
  10. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 02 Apr 2010 Link to this post

    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
Back to Top