473,404 Members | 2,195 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Calendar.SelectedDate

Hi,
I am using a calendar to show dates. Now I am setting my own date;

myCalendar.SelectedDate = myDate;

The date that is shown in the calendar is today's date. How can I move the
calendar to show the date that I have set.

Can someone help me out.
Thanks in Advance
Nov 17 '05 #1
3 8901
On 7 Apr 2005 01:26:16 -0700, Xarky wrote:
Hi,
I am using a calendar to show dates. Now I am setting my own date;

myCalendar.SelectedDate = myDate;

The date that is shown in the calendar is today's date. How can I move the
calendar to show the date that I have set.

Can someone help me out.
Thanks in Advance


myCalendar.SetDate();
--
Claudio Grazioli
http://www.grazioli.ch
Nov 17 '05 #2
Hi,
I am using the calendar in an ASP application. The calendar in ASP has
no SetDate() method. Which method/property should I use?

Thanks in Advance

*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #3
Problem was solved using the following:

Calendar1.SelectedDate = Now
Calendar1.VisibleDate = Now

Thanks
*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Xarky | last post by:
Hi, I am placing a Calendar on my page. Now I am dynamically changing the selected date property. The Calendar remains on today's date. I would like to show the date that has been set by me...
1
by: MattB | last post by:
Hi. I posted yesterday about being able to get to Day.IsSelecteable from outside the calendar's DayRender event. I never figured that out, so I found another way to do what I needed by...
2
by: Mariano Padilla | last post by:
The calendar control only has the event of SelectionChanged to detect if the user clicks on the calendar. I have 2 calendars on a form, one for arrival date one for departure date. Every time a...
0
by: R.A.M. | last post by:
Hello, I need to implement popup calendar in ASP.NET application. I created a button opening popup calendar on 'master' page: <asp:Button ID="Calendar" runat="server" Text=Calendar"...
1
by: R.A.M. | last post by:
Hello, I need to implement popup calendar in ASP.NET application. I created a button opening popup calendar on 'master' page: <asp:Button ID="Calendar" runat="server" Text=Calendar"...
0
by: targus | last post by:
Please help, I need a solution to this problem. What I want to do: I have a history grid that gets filled with 2 weeks data prior to a specified date. The user picks the specified date from the...
5
by: Victor Reboucas | last post by:
Hi, I'm sure I'm missing something here, but.... I have a asp.net 2.0 web form and a calendar control. If I set the selectedDate clicking the control, no problem, but, if I set it using code I...
3
by: Steven Nagy | last post by:
Hey all, On page load I am setting the selected date to DateTime.Now but its not appearing as selected when the page loads. I have set the selection mode to CalendarSelectionMode.Day since the...
2
by: saichaitanya | last post by:
Hi, I am using asp calendar control in my application and i'm expecting the selected date as todays date from it during the page load.But instead it is giving me the selected date as "12:00:00...
1
by: Leon_Amirreza | last post by:
When I Set the Calendar.SelectedDate Property programatically that Day's style doesnt change according to the styles set in Calendar property so the user wont see the change in SelectedDate BUT...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.