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

RadTextbox Heigh 100%

1 Answer 60 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 11 Oct 2008, 08:47 AM
Hi,
With the asp.net Ajax RadTextbox, how do i set the height to 100%. ??

I set the property Height="100%" but it sizes at small size about 100px

Thanks
Mark

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 13 Oct 2008, 07:41 AM
Hello Mark,

Textboxes do not support heights in percent. You can verify this by adding this simple HTML code to your web page:

<div style="height:300px;border:1px solid red">
<input type="text" style="height:100%" value="input" />
</div>

<div style="height:300px;border:1px solid red">
<textarea cols="100" rows="10" style="width:100px;height:100%">textarea</textarea>
</div>


In addition, RadInput does not support resizing on the client (this is on purpose), so you will have to set the height in pixels server-side, sorry.


Best wishes,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Mark
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or