Subscribe to Subscribers
Talk to Webmaster Tony John

Online Members

Pawan Awasthi
More...


Forums » .NET » ASP.NET »

TextBox Multiline Property


Posted Date: 16 Aug 2012      Posted By:: DeepikaYuvaraj     Member Level: Silver    Member Rank: 753     Points: 3   Responses: 5



Hi Friends,

I had Set Multiline Property to my Textbox.During run time width of my textbox has been changed While Displaying records in that Textbox from database,I dont want to change my width and height of my text box during runtime..Please suggest me

Thanks in Advance,
DeepikaYuvaraj




Responses

#684550    Author: RayalaHariKishore      Member Level: Gold      Member Rank: 52     Date: 16/Aug/2012   Rating: 2 out of 52 out of 5     Points: 1

hi,
set Height and width properties of text box so it wont change.

Rayala HariKishore

try..try..try...you achieved it.
http://rayalaharikishore.wordpress.com/



 
#684555    Author: DeepikaYuvaraj      Member Level: Silver      Member Rank: 753     Date: 16/Aug/2012   Rating: 2 out of 52 out of 5     Points: 1

Hi,

Text box is already having height and width property but it does not working.Suggest me something else

Thanks
Deepikayuvaraj



 
#684556    Author: Mahesh Durgam      Member Level: Gold      Member Rank: 140     Date: 17/Aug/2012   Rating: 2 out of 52 out of 5     Points: 2

Hi,

If you set some fixed width and height for your textbox, then while running the app it will not change the size




<asp:TextBox id="Textbox1" TextMode="MultiLine" Width="300px" Height="100px" runat="server" />




Thanks,
Mahesh






 
#684569    Author: Anil Kumar Pandey      Member Level: Platinum      Member Rank: 1     Date: 17/Aug/2012   Rating: 2 out of 52 out of 5     Points: 2

Please set the Height and Width of the Text box as it becomes after making it Multiline so that at run time you will not see any change in height and width.

Thanks & Regards
Anil Kumar Pandey
Microsoft MVP, DNS MVM



 
#684572    Author: rupali naik      Member Level: Silver      Member Rank: 608     Date: 17/Aug/2012   Rating: 2 out of 52 out of 5     Points: 2

hello


only write following line

<asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine"></asp:TextBox>

and chcek remaing property of textbox using property window,hight and width property is blank



 
Post Reply
You must Sign In to post a response.

Next : Oswaldlily what is the datatype for var while passing as arguments
Previous : What is the asp.net page life cycle
Return to Discussion Forum
Post New Message
Category:

Related Messages



Follow us on Twitter: https://twitter.com/dotnetspider

Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2012 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.