Xap object alignment in aspx page: silverlight 4

2 posts, 0 answers
  1. hallatie
    hallatie avatar
    15 posts
    Member since:
    Feb 2011

    Posted 11 Mar 2011 Link to this post


    In my silverlight appliaction, the xap object has been given a height of 550px in aspx pge. it is placed in a DIV and the div height is set to 100%. Now my issue is , since i gave a fixed height to the object, the object resides in that area only. if i give object height as 100%, there forms a vertical scroll. My requirement  is  to set a min height of 600 to the xap object and if the available space increases its size automatically increases to fill the browser available space.

    Please suggest me a method to do that.


  2. Yavor Georgiev
    Yavor Georgiev avatar
    982 posts

    Posted 11 Mar 2011 Link to this post

    Hello hallatie,

     Why don't you just use the min-height property, instead of setting height?

    Yavor Georgiev
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top