Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 546
  • Last Modified:

Ajax - Calendar

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
VBdotnet2005
Asked:
VBdotnet2005
  • 2
2 Solutions
 
Sammy AgeilCommented:
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
 
digitalZoCommented:
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
 
digitalZoCommented:
<<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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now