Click here to Skip to main content
Sign Up to vote bad
good
See more: ASP.NETC#4.0
hi,
i have a textbox in my webpage. i kept multiline property true.
but in the runtime i selected the textbox and dragged. it is expanding ,
so i dont want to expand the textbox even when i tried to drag. how can i set the textbox fixed.
help me in my requirement.
Posted 9 May '12 - 2:20


3 solutions

use style="resize:none, width:yourwidth, height:yourheight".
set your width and hieght fixed.
Hope it will fix your Problem.
  Permalink  
Try this code from (http://learnlogic.blogspot.in/2011/07/error-multiline-textbox-resizable-in.html[^]):
<asp:textbox id="TextBox1" style="Resize:none;" textmode="MultiLine" runat="server" xmlns:asp="#unknown">
</asp:textbox>
  Permalink  
Comments
kulasekaran-M - 10 May '12 - 6:32
I tried this but it shows an error Resize is not an known CSS property name
Set a style of "resize: none;" on it.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 425
1 OriginalGriff 315
2 Slacker007 240
3 Maciej Los 240
4 Aarti Meswania 210
0 Sergey Alexandrovich Kryukov 8,953
1 OriginalGriff 7,134
2 CPallini 3,758
3 Rohan Leuva 3,036
4 Maciej Los 2,488


Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 9 May 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid