Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Textarea objects instead of text boxes in datagrids

Thread Tools

Textarea objects instead of text boxes in datagrids

J. Muenchbourg
Posts: n/a

How do I specify inside a datagrid that does edits/updates, that a
certain field should display its contents in TEXTAREA html objects, not
text box controls. See tag in boundcolumn/datagrid control:

HeaderText="Sample Text">

...and if I can put a textarea object in a datagrid, will I use the
.text method to parse the data from that field name when calling my sql
parameters and such:

MyCommand.Parameters.Add(New SQLParameter("@sampletext",

...when I tried using this reference to display "sampletext" inside a

Dim sampletext As textarea = E.Item.cells(5).Controls(0)

...i got a "Type 'textarea' is not defined" error.

I know inside a <asp:textbox> control tag , you can specify
TEXTMODE="MultiLine" as an attribute, but as far as generating one
withint a datagrid, i can't find an answer

thanks for help

*** Sent via Devdex ***
Don't just participate in USENET...get rewarded for it!
Reply With Quote

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
Space between input boxes and selection boxes is not the same in Internet Explorer Stefan Mueller HTML 5 06-16-2009 02:06 PM
What to use instead of the CommandArgument in DataGrids? =?Utf-8?B?Y2hhcmxpZXdlc3Q=?= ASP .Net 2 03-31-2005 05:41 PM
Textarea objects instead of text boxes in datagrids J. Muenchbourg ASP .Net Web Controls 1 07-08-2004 10:33 PM
Using datagrids by row instead of by column? Coleen ASP .Net Datagrid Control 0 12-23-2003 06:56 PM
Removing carriage returns from <textarea></textarea> input Augustus ASP General 1 09-10-2003 04:55 AM