Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
Hi guys! I have a problem with the Calendar control in ASP.NET, or better to say it's annoying thing rather then a problem. I have events in my database and when a date from a calendar is selected, under the calendar are shown the events on this date. This works great, I made this, and everything is fine, except the "little" annoying thing with the calendar when every time you click on a date it refreshes itself. I don't want this, cause for example if the user is in the previous or next month and selects a date, it shows him the events for this date but the calendar after the click refreshes and it's on the current month. I would like to stay on the month and day on which the user clicked, after the click. I read about it, and why the calendar refreshes the whole page, there is a solution like "update panel"... but this prevents the rest of the page from refreshing, and I need the rest of the page to refresh and to show the events when it's clicked but I don't want the Calendar to refresh... I tried with explicit selection on calendar's date in page load, but it's not working. Thank you in advance!
Posted 17-Oct-12 9:27am
Edited 17-Oct-12 9:29am
v3

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

you can user jquery UI Calender control
or
if you really want to user asp.net calender control then you can user update panel.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Zoltán Zörgő 330
1 Sergey Alexandrovich Kryukov 230
2 Peter Leow 204
3 OriginalGriff 160
4 88388132 128
0 Sergey Alexandrovich Kryukov 8,288
1 OriginalGriff 6,396
2 Peter Leow 3,557
3 Zoltán Zörgő 3,221
4 Richard MacCutchan 2,397


Advertise | Privacy | Mobile
Web02 | 2.8.150123.1 | Last Updated 18 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100