Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > TextArea

Reply
Thread Tools

TextArea

 
 
Barnabas Yohannes
Guest
Posts: n/a
 
      02-26-2004
Is it possible to create a TextArea Item Template inside a datagrid? If so, how?
 
Reply With Quote
 
 
 
 
Scott Mitchell [MVP]
Guest
Posts: n/a
 
      02-26-2004
> Is it possible to create a TextArea Item Template inside a datagrid? If
so, how?

Sure.

<aspataGrid ...>
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<asp:TextBox runat="server" TextMode="Multiline"
Text='<%# DataBinder.Eval(Container.DataItem,
"SomeColumnName") %>'></asp:TextBox>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</aspataGrid>

Happy Programming!

--

<shameless plug>
For more information on the DataGrid, DataList, and Repeater controls,
consider picking up a copy of my latest book:

ASP.NET Data Web Controls
http://www.amazon.com/exec/obidos/AS...uysfromrollaco
</shameless plug>

Happy Programming!

Scott Mitchell
http://www.velocityreviews.com/forums/(E-Mail Removed)
http://www.4GuysFromRolla.com
http://www.ASPFAQs.com
http://www.ASPMessageboard.com

* When you think ASP, think 4GuysFromRolla.com!




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add </textarea> within <textarea> tags? frank.moens@gmail.com Javascript 1 07-04-2007 04:00 PM
Textarea Inside of a textarea wperry1@gmail.com ASP General 6 02-05-2006 08:00 AM
remembering last position in textbox / textarea and returning to after post / reload jason@cyberpine.com ASP .Net 3 10-05-2003 05:56 PM
Removing carriage returns from <textarea></textarea> input Augustus ASP General 1 09-10-2003 04:55 AM
msword-like textarea? Bei ASP .Net 2 07-02-2003 04:46 PM



Advertisments