471,605 Members | 1,354 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

Retreiving value from html textbox on .aspx.cs page

Hey friends,

I am making a calender control using javascript but I am not able to retrieve its value on my .aspx.cs coding page in asp.net2.0.
My text box code is :

<input type="text" class="fancy" size="10" maxlength="10" readonly="readonly" name="date1" value="" id="txtDob"/>
<input type="button" class="fancyButton" onclick="setDate('date1')" value="DOB" />

When i give the input type="text" a runat="server" tag, it gives an error that function is nt correctly defined.....How can i access the value of html textbox on .cs page?

Thanku for everyone who will help me out
Aug 20 '07 #1
0 1883

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Paul M. Frazier, Ph.D. | last post: by
2 posts views Thread by Benedict Teoh | last post: by
4 posts views Thread by wrytat | last post: by
4 posts views Thread by James Pemberton | last post: by
6 posts views Thread by Igor | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.