|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
|
Announcements
Chapters
Services
Feature Zones
|
Note: This is an unedited contribution. If this article is inappropriate,
needs attention or copies someone else's work without reference then please
Report This Article
Download TaskManager.zip - 55.4 KB GridView needs more plumbing code to support Calendar controls IntroductionI needed to create a TaskManager application to manage tasks assigned to programmers in my team and used calendar controls to provide the StartDate and EndDate for each task created. I am able provide two way binding for SelectedDate and also retain the VisibleDate as documented on MSDN, but I had problems retaining the SelectedDate in the GridView during edits.BackgroundAlthough I have EnableViewState set to True, I had to store the StartDate and EndDate in ViewState collection as ViewState ["StartDate"] and ViewState ["EndDate"] and assign them to SelectedDate during page refresh. The code to do this is straight forward and is shown below. |
||||||||||||||||||||||
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 27 Nov 2007 Editor: |
Copyright 2007 by Viswanath Majeti Everything else Copyright © CodeProject, 1999-2009 Web20 | Advertise on the Code Project |