Welcome Guest Search | Active Topics | Sign In | Register

PopupCalendar Options
MKotaska
Posted: Monday, January 7, 2008 8:01:29 AM
Rank: Member
Groups: Member

Joined: 8/13/2007
Posts: 10
Hello,

I've just bought your controls and it seems good.

But, I have a small problem with popup calendar.
If I set selected date by PopupCalendar1.SelectedDate= DateTime.Today in Page_Load function and then I display popup by clicking on assigned control there is not displayed properly month.

For example:

I set a date to 9/20 /2007 in design mode (VS 2003, C#)
Page_Load sets popup to 1/7/2008

If I click on assigned control to popup month 9 is displayed.

Is it any way how to "scroll" month to selected date programaticaly?

Thank you.
eo_support
Posted: Monday, January 7, 2008 9:03:47 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Hi,

I tried the following steps with the latest version (check your version first) and it appears to work fine:
1. Create a blank form;
2. Put a DatePicker in the form, then set its SelectedDate to 2007-09-20;
3. Put the following code in Page_Load:

if (!Page.IsPostBack)
DatePicker1.SelectedDate = new Date(2008, 1, 7);

Can you try the same steps and see what you get?

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.