L
Luqman
I have a Ajax Tab Container on my Webform with One Panel and some Labels and
Textboxes.
I want to Iterate through all the textboxes and return their IDs.
I tried every possibility I could but I was unable to retrieve their IDs.
Here is my code, which returns nothing.
Dim ctrl as new Control
for each ctrl in me.tabpanel1.controls
if typeof ctrl is textbox then
msgbox(ctype(ctrl,textbox).ID.ToString)
end if
next
Any idea what am I missing ?
Best Regards,
Luqman
Textboxes.
I want to Iterate through all the textboxes and return their IDs.
I tried every possibility I could but I was unable to retrieve their IDs.
Here is my code, which returns nothing.
Dim ctrl as new Control
for each ctrl in me.tabpanel1.controls
if typeof ctrl is textbox then
msgbox(ctype(ctrl,textbox).ID.ToString)
end if
next
Any idea what am I missing ?
Best Regards,
Luqman