see07
Regular
Hello everybody:
I have a WebUserControl embedded into a Web Form (Im using C# .net).
When I load Web Form I need to set the cursor into a Textbox that is into WebUserControl.
In <body> of Web Form I have:
<body bgColor=#ccfff MS_POSITIONING=GridLayout onload=document.WUCDatos.TextBox2.focus(); >
Where WUCDatos is form id of WebUserControl and TextBox2 is the Text Box into WebUserControl.
But this code doesnt work.
Ill appreciate your help.
A.L.
I have a WebUserControl embedded into a Web Form (Im using C# .net).
When I load Web Form I need to set the cursor into a Textbox that is into WebUserControl.
In <body> of Web Form I have:
<body bgColor=#ccfff MS_POSITIONING=GridLayout onload=document.WUCDatos.TextBox2.focus(); >
Where WUCDatos is form id of WebUserControl and TextBox2 is the Text Box into WebUserControl.
But this code doesnt work.
Ill appreciate your help.
A.L.