Need Custom Calendar Control for ASP.NET (C#)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can someone recommend a fairly easy to use ASP.NET custom calendar control
that makes it easy for the user to select the month and year - versus the
inherent "paging" that is used in the default Web Control?

For example, when i need to select the DOB (April 4, 1970), i need to page
"left" endlessly....

I have found some controls on teh Web, but my programming level is
intermediate, and i have not been able to get any of them to work
successfully.

Thanks,
 
All you need to do with this is have a seperate dropdowns for month and
year. If you set both of these to autopostback, then what you can do is on
selection change, you can extract the month and year from the controls and
set that to be the current month/year in the control. This will then allow
the user to select any month, and "any" year that you've got available in
your dropdown listbox.

One draw back to this is efficiency. If the users working over a slow dial
connection or your app is on a busy server, then there may be a delay of a
few seconds while your web app gets the user change date from the dropdown
listbox, sends this back to the server, then the server responds to the
client with the appropriate rendering.

ASP.Net's really good at pushing things to the server side when it could be
more efficient as a client side control.

Let me know if you need any help.

Thanks.

Daniel.
 
This one has the huge advantage of being on the client side, (I.E no post
back required for each date chage, I.E faster!), and the date selection
works quite well. Say "quite" as it's not too intuitive that you need to
click on the month title to bring up a more verbose list of month names and
years.

All in all though I'd rate this control above the one that comes with
..Net...
 
Back
Top