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

Xap object alignment in aspx page: silverlight 4

1 Answer 14 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
hallatie
Top achievements
Rank 1
hallatie asked on 11 Mar 2011, 09:20 AM

Hi,

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.

Regards

1 Answer, 1 is accepted

Sort by
0
Yavor Georgiev
Telerik team
answered on 11 Mar 2011, 12:12 PM
Hello hallatie,

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

Greetings,
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!
Tags
General Discussions
Asked by
hallatie
Top achievements
Rank 1
Answers by
Yavor Georgiev
Telerik team
Share this question
or