R
RSB
Hi all,
Sorry for asking to many questions..
one more problem.
i have a Form and in that form i am adding a user control "myUserControl"
which has two text boxes. textbox1 and textbox2.
Now if i am executing a Javascript function right inside the user control ..
say again a validation function then how do i refer to these textboxes
inside the Usercontrol.
as so far i been using this.. window.document.myform.text.value... etc etc.
but now in that user control how do i refer the textbox.
Also if i am executing the javascript Function in the Main Page then how do
i access these fields. As ASP.NEt change the name and Id of the Child
fields. as once my page is painted and if i look at the source the ID and
Name for these Text boxes is some what like this. myForm1_TextBox1 or
myForm:textBOx1.
please help...
Thanks
RSB.
Sorry for asking to many questions..
one more problem.
i have a Form and in that form i am adding a user control "myUserControl"
which has two text boxes. textbox1 and textbox2.
Now if i am executing a Javascript function right inside the user control ..
say again a validation function then how do i refer to these textboxes
inside the Usercontrol.
as so far i been using this.. window.document.myform.text.value... etc etc.
but now in that user control how do i refer the textbox.
Also if i am executing the javascript Function in the Main Page then how do
i access these fields. As ASP.NEt change the name and Id of the Child
fields. as once my page is painted and if i look at the source the ID and
Name for these Text boxes is some what like this. myForm1_TextBox1 or
myForm:textBOx1.
please help...
Thanks
RSB.