C
Coleen
Using Vb.Net v1.1, I have several aspx controls (textboxes, listboxes,
dropdown lists) that I need to align the text within the control...
I've tried:
lst.Attributes.Add("style", "text-align: center;")
in the code-behind, and it does not work. I have also tried setting the
index and doing it on PreRender (like you would for a datagrid) but I get an
error "Item' is not a member of System.EventArgs" on this:
Dim item As ListBox = CType(e.Item, ListBox)
Does anyone have any suggestions for something that OUGHT to be simple?
TIA,
Coleen
dropdown lists) that I need to align the text within the control...
I've tried:
lst.Attributes.Add("style", "text-align: center;")
in the code-behind, and it does not work. I have also tried setting the
index and doing it on PreRender (like you would for a datagrid) but I get an
error "Item' is not a member of System.EventArgs" on this:
Dim item As ListBox = CType(e.Item, ListBox)
Does anyone have any suggestions for something that OUGHT to be simple?
TIA,
Coleen