Solved

Ajax - Calendar

Posted on 2007-12-04
3
543 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 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 Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…

734 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