Author: Fonzie | Posted on: 8/4/2008 7:26:14 AM | Views : 271

I am iterating from example code(below) and have only 1 textbox on my page but the count is reporting 2. Am I calling the proceedure correctly?
Private Sub LoopTextBoxes(ByVal parent As Control)
Dim c As Control
        For Each c In parent.Controls
            If c.GetType() Is GetType(textbox) Then
                Response.Write(c)
            End If
            LoopTextBoxes(c)
     &nb ...

Go to the complete details ...