1,105,331 Community Members

textarea Control in ASP.NET

Member Avatar
Letscode
Junior Poster
175 posts since Feb 2005
Reputation Points: 1 [?]
Q&As Helped to Solve: 6 [?]
Skill Endorsements: 0 [?]
 
0
 

PURPOSE
I'm trying to create an email webform..

REQUIREMENT
I need a box for users to enter their Message.

ISSUE
In want to use TEXTAREA but I dont know whether its available in ASP.NET server controls..But certainly TEXTAREA control is available on the client HTML section.

QUESTION
Are there any other SERVER controls available to achieve the effect similar to TEXTAREA..

Thanks

Member Avatar
Letscode
Junior Poster
175 posts since Feb 2005
Reputation Points: 1 [?]
Q&As Helped to Solve: 6 [?]
Skill Endorsements: 0 [?]
 
0
 

duh...Whats the matter with me...

I right clicked the TEXTAREA and made it RUN as a Server Control....Its working fine..

Sorry

Member Avatar
tgreer
Made Her Cry
1,885 posts since Dec 2004
Reputation Points: 189 [?]
Q&As Helped to Solve: 45 [?]
Skill Endorsements: 2 [?]
Team Colleague
 
0
 

You can also set the "multiline" property of the standard TextBox control. That control will either render an <input> element or a <textarea> element, depending on the properties you set.

Member Avatar
Letscode
Junior Poster
175 posts since Feb 2005
Reputation Points: 1 [?]
Q&As Helped to Solve: 6 [?]
Skill Endorsements: 0 [?]
 
0
 

Thanks ..

TextBox1.TextMode = TextBoxMode.MultiLine

It works fine...

You can also set the "multiline" property of the standard TextBox control. That control will either render an <input> element or a <textarea> element, depending on the properties you set.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article