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 .noscrolltextarea and put the class
in the <td> like so:
<tr valign="baseline">
<td nowrap align="right"
valign="top">Description:</td>
<td>
<asp:textbox class="noscrolltextarea"
id="description" TextMode="Multiline"
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:c24f5c16f8]
recurrenceType.SelectedValue =
objDataReader("recurrenceType")
recurrenceDisplay.text = recurrenceType.SelectedItem.text
<td nowrap align="right">Recurrance:</td>
<td>
<asp:label id="recurrenceDisplay"
runat="server" />
<asp:dropdownlist style="visibility:hidden"
id="recurrenceType" runat="server">
<asp:listitem value="N"
None</asp:listitem> <asp:listitem value="M"
Monthly</asp:listitem> <asp:listitem value="P"
Periodic</asp:listitem>
</asp:dropdownlist>
</td>
[/code:1:c24f5c16f8]
Thanks,
Tom