W
Will Lastname
I am trying to manipulate the textbox properties in my datagrid for
when I fire the Edit/Update from the EditCommandColumn. I have set a
few attributes such as:
Dim tbPhone As TextBox = CType(e.Item.Cells(4).Controls(0), TextBox)
tbPhone.BorderStyle = BorderStyle.Solid
tbPhone.BorderWidth.Pixel(1)
tbPhone.Font.Name = "Tahoma"
When I run the application and click 'Edit' the attributes above are
not reflected in the textbox. They (textboxes) resort back to their
clunky default attributes.
Any suggestions?
when I fire the Edit/Update from the EditCommandColumn. I have set a
few attributes such as:
Dim tbPhone As TextBox = CType(e.Item.Cells(4).Controls(0), TextBox)
tbPhone.BorderStyle = BorderStyle.Solid
tbPhone.BorderWidth.Pixel(1)
tbPhone.Font.Name = "Tahoma"
When I run the application and click 'Edit' the attributes above are
not reflected in the textbox. They (textboxes) resort back to their
clunky default attributes.
Any suggestions?