Regarding the Controls in an ASP.NET page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • srikugun
    New Member
    • Dec 2007
    • 5

    Regarding the Controls in an ASP.NET page

    How do i get the list of Textboxes in a particulart page ??? I wanted to implement some code on all of the textboxes that were present in that particular page when the user clicks on the button .........How can i accomplish this??????

    I have a solution but there is a problem in it

    foreach (TextBox t in ???)
    {
    }

    ??? -- Please tell me what should i write there in order to get the list of all Textboxes that are used in that particular Webpage.
  • nateraaaa
    Recognized Expert Contributor
    • May 2007
    • 664

    #2
    Originally posted by srikugun
    How do i get the list of Textboxes in a particulart page ??? I wanted to implement some code on all of the textboxes that were present in that particular page when the user clicks on the button .........How can i accomplish this??????

    I have a solution but there is a problem in it

    foreach (TextBox t in ???)
    {
    }

    ??? -- Please tell me what should i write there in order to get the list of all Textboxes that are used in that particular Webpage.
    Have a look at this http://www.thescripts.com/forum/thread249285.html.

    Nathan

    Comment

    Working...