WebDialog - set Height to percentage in code?

7 replies. Last post: April 3, 2012 11:34 PM by Hans Kristian
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Frank PMember

Where or how do I set the Height of a WebDialog (modal) in the code behind.

Currently, I try to assign myDialogBox.Height = "100%", but it is marked as type "Pixel" and will not accept the % symbol.

If I try to change the type for Height, I receive an error "Expression is a value and therefore cannot be the target of an assignment".

myDialogBox.Height.Type = UnitType.Percentage

 

 

All times are GMT -5. The time now is 11:07 AM.
Previous Next