Solved

Ajax - Calendar

Posted on 2007-12-04
3
538 Views
Last Modified: 2008-02-01
I am totally new with Ajax. Could some on show me step by step on  how to use Calendar toolkit from Ajax 's link? Thank you in advance. http://asp.net/AJAX/AjaxControlToolkit/Samples/Default.aspx

Open in new window

0
Comment
Question by:VBdotnet2005
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
Sammy earned 300 total points
ID: 20409361
maybe this will be a better option that telling you the steps to run and use a single ajax control

step by step video for the calendar control can be found here
http://www.asp.net/learn/ajax-videos/video-124.aspx

loads of videos on how to use ajax controls can be found here
http://www.asp.net/learn/ajax-videos/

hope this helps

Sammy
0
 
LVL 10

Assisted Solution

by:digitalZo
digitalZo earned 200 total points
ID: 20409362
Write this code in the source code. The textbox ID should be defined as given by you. TargetControlID refers to the control you want to display the calendar on click. I've given a Textbox as a ControlID, so this means when I click on the Textbox, the Calendar will show up.

You can give a button as the PopupButtonID, if you want the the calendar to show up on the click on the button.

hth.
       

 <asp:TextBox id="txtdate" runat="server" Font-Size="Small" Font-Names="Palatino Linotype"></asp:TextBox>

         <cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID=txtdate Enabled="True">

                        </cc1:CalendarExtender>

Open in new window

0
 
LVL 10

Expert Comment

by:digitalZo
ID: 20409367
<<TargetControlID refers to the control you want to display the calendar on click. I've given a Textbox as a ControlID, so this means when I click on the Textbox, the Calendar will show up>>

My mistake. TargetControlID refers to the control in which you want to store the date when clicked.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now