this can be done in javascript without placing any label or textbox inside a div
<script type="text/javascript">var div = document.getElementById('divID');

div.innerHTML = 'your data';</script>
Date: Mon, 14 May 2012 21:19:32 -0700
From: [email protected]
To: [email protected]
Subject: [DotNetDevelopment] Re: how to display multiline text with out using 
textbox

Not sure why you would need to do this, but can't you just put a label in the 
div, and on the postback, set the value of the textbox to the value of the 
label?


On Friday, February 3, 2012 1:23:16 AM UTC-6, vinod wrote:ASP.neti am 
collecting (max 1000 character long ) text from user using textbox-(labeled 
about me)after submiti want to display this data completely in a DIV tag.i 
tried it with a txtbox placing inside this DIV, but textbox wont resize 
automattically based length of content ,  so that DIV also resize.
is there any control or idea do u have to solve this prblm


i am using masterpage







-- 

You received this message because you are subscribed to the Google

Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML

Web Services,.NET Remoting" group.

To post to this group, send email to [email protected]

To unsubscribe from this group, send email to

[email protected]

For more options, visit this group at

http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en

or visit the group website at http://megasolutions.net
                                          

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to