Author: fabio1605 | Posted on: 3/3/2010 6:17:33 AM | Views : 386

Hi All


I have a page with 20 textboxes and rather then write a script for every box ive been looking in to a for loop


below is what i have so far


Am i on the right lines? i cant find what value needs to go after the replace part, thats were im getting my error but not sure im on the right lines anyway!
cant find anything on google!


Dim ctl As Control
        For Each ctl In Page.Controls(1).Controls
            If TypeOf ctl Is TextBox Then
                CType(ctl, TextBox).Text = Replace(????????? (",",".")






            End If
        Next
...

Go to the complete details ...