Calendar selector

Hello,
I need to add a canlendar selector on my asp page. Please provide sample code.
Thanks.
mrongAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
slightwv (䄆 Netminder)Connect With a Mentor Commented:
0
 
AshrafedesCommented:
Alex control
 Alex control canlendar This should be added in your webpage at any place
<asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>


and for each textbox you need to add calender

<                                    <asp:TextBox ID="TextBox31" runat="server"
                                       
                                        Text='<%# Bind("[DATE of PERMIT COMPLETED from SUB-MUNICIPAL]", "{0:d}") %>'
                                        Height="95%" Width="126px"></asp:TextBox>
                                    <asp:CalendarExtender ID="TextBox31_CalendarExtender" runat="server"
                                        Enabled="True" TargetControlID="TextBox31">
                                    </asp:CalendarExtender>
0
 
mrongAuthor Commented:
Ashrafedes:
The code you provided, is it for asp or aspx?
thanks.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
AshrafedesCommented:
Aspx
0
 
mrongAuthor Commented:
I need asp sample. thanks.
0
 
mrongAuthor Commented:
slightwv:
I took a look at the sample you provided. It displays the current date. How to make it populated to the text field? thanks.
0
 
slightwv (䄆 Netminder) Commented:
My straight ASP/VBScript s very old but in scanning that code can you create some JavaScript to retrieve the contents of the selected cell?

Now that I mentioned Javascript, can you use JQuery UI?  It has a popup calendar all Javascript Based:

http://jqueryui.com/demos/datepicker/
0
 
slightwv (䄆 Netminder) Commented:
Mind if I ask why you accepted http:#a36716840 when it didn't meet your requirements?
0
 
mrongAuthor Commented:
slightwv:
I usually split the points for all the people who responded my questions. Is there anyway to re-grant the points? thanks.
0
 
slightwv (䄆 Netminder) Commented:
>>I usually split the points for all the people who responded my questions.

You should really not do this.  The power of this site is the Knowledge Base of answered questions.  When you are searching for an answer to your question and open it up, you look for the 'Accepted' and 'Assisted' posts.  If everyone that participates gets points just for posting, it waters down the Knowledge base.

The participating Experts realize that not every post will get points.

Please take a little time and review:
http://www.experts-exchange.com/help.jsp#hs=29&hi=407


I don't want you feel that I am pressuring you to adjust your points but the question can be reopened if this is truly what you want.

Please review:
http://www.experts-exchange.com/help.jsp#hs=29&hi=409
0
 
mrongAuthor Commented:
I sent a request to re-open the question. thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.