Interesting.
You actually didn't get rid of the scrollbar, just made all the parts
the same color as the background (in this case, white).
The problem with this would be that all the text boxes would have this
applied.
I just changed the "textarea" to .noscrolltextar ea and put the class
in the <td> like so:
<tr valign="baselin e">
<td nowrap align="right"
valign="top">De scription:</td>
<td>
<asp:textbox class="noscroll textarea"
id="description " TextMode="Multi line"
Columns="50" Rows="5" runat="server"
/>
</td>
</tr>
I am curious why the textarea works for the textbox (wouldn't you need
to use textbox?).
I still couldn't get the dropdownlist to hide the border and just show
the selected text so I just hid the dropdownlist control, set the
selected area and moved it to a label control. There may be a better
way, but this works.
[code:1:c24f5c16 f8]
recurrenceType. SelectedValue =
objDataReader(" recurrenceType" )
recurrenceDispl ay.text = recurrenceType. SelectedItem.te xt
<td nowrap align="right">R ecurrance:</td>
<td>
<asp:label id="recurrenceD isplay"
runat="server" />
<asp:dropdownli st style="visibili ty:hidden"
id="recurrenceT ype" runat="server">
<asp:listitem value="N"
None</asp:listitem>
<asp:listitem value="M"Monthly</asp:listitem>
<asp:listitem value="P"Periodic</asp:listitem>
</asp:dropdownlis t>
</td>
[/code:1:c24f5c16 f8]
Thanks,
Tom
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com