Solved

Ajax - Calendar

Posted on 2007-12-04
3
544 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
Sammy Ageil 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

627 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