J
Jason
I want to loop through all textbox controls to determine
their .text value. If the .text value is not "" then
display the textbox.
I have tried the following with no luck. Any help would
be appreciated.
Dim ctrl as Control
For Each ctrl in Page.Controls
If ctrl.GetType.ToString
= "System.Web.UI.WebControls.TextBox" Then
ctrl.Attributes.Add("style", "DISPLAY: ")
End If
Next
their .text value. If the .text value is not "" then
display the textbox.
I have tried the following with no luck. Any help would
be appreciated.
Dim ctrl as Control
For Each ctrl in Page.Controls
If ctrl.GetType.ToString
= "System.Web.UI.WebControls.TextBox" Then
ctrl.Attributes.Add("style", "DISPLAY: ")
End If
Next