wessamzeidan Posted July 7, 2004 Posted July 7, 2004 Is there a way to get references to all the textboxes in a webform??? thnx Quote Proudly a Palestinian Microsoft ASP.NET MVP My Blog: wessamzeidan.net
Moderators Robby Posted July 7, 2004 Moderators Posted July 7, 2004 Soemthing like this... dim c as control for each c in me.controls ' or iterate a container such as a Panel if typeof c is texbox directcast(c,textbox).text ' (gain access to one of it's properties here, TEXT is just one example) ' or do something else here end if next Quote Visit...Bassic Software
wessamzeidan Posted July 7, 2004 Author Posted July 7, 2004 I need a way to get all textboxes no matter in which container they are, they might be in a panel or a table, or directly on the page........ Quote Proudly a Palestinian Microsoft ASP.NET MVP My Blog: wessamzeidan.net
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.