HTML Text Box to Server Control

F

Frank Bishop

I have a code snip from 4Guys that uses an html text box name property
and I need to use a Web Form control instead. Since the Web Form control
does not have the "name" property, how would I do this? Here is the code
snip:

<code>
<input name="txtDate" type="text"> <a
href="javascript:calendar_window=window.open('4GuysCAL.aspx?formname=frm
Calendar.txtDate','calendar_window','width=154,height=188');calendar_win
dow.focus()">

Help appreciated.
Thanks,
Frank
 
S

Siva M

You can try the ClientID property of the textbox. Name attribute gets the
same value.

I have a code snip from 4Guys that uses an html text box name property
and I need to use a Web Form control instead. Since the Web Form control
does not have the "name" property, how would I do this? Here is the code
snip:

<code>
<input name="txtDate" type="text"> <a
href="javascript:calendar_window=window.open('4GuysCAL.aspx?formname=frm
Calendar.txtDate','calendar_window','width=154,height=188');calendar_win
dow.focus()">

Help appreciated.
Thanks,
Frank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top