Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Calendar in Gridview

Thread Tools

Calendar in Gridview

Arne Garvander
Posts: n/a
How do I add a calendar control in a Gridview?
Are any other good ideas for verifying a date in a Gridview?
Arne Garvander
(Happily unemployed professional Geek)
Reply With Quote
Gregory A. Beamer
Posts: n/a
<(E-Mail Removed)> wrote in news:5E88D191-14F9- Removed):

> How do I add a calendar control in a Gridview?
> Are any other good ideas for verifying a date in a Gridview?

TemplateField is the main answer.

NOTE: There are some tricks to this, as explained here:

Editing in the Grid, which is the main reason for this type of control,
is something you have to think over carefully, as it can end up with a
mess. Users often think that edits to a Grid immediately appear in the
database, which is only the case if you wire it up (generally AJAX).
This is a usability issue.

I find it better, in most cases, to have the row editing in a FormView,
for two reasons:

1. It focuses the user on the edit
2. The user is more likely to realize they have to mash the save button
to get the changes to the database

This is not saying that editing in a Grid is always wrong, just that it
is less usuable in the non-AJAX model, due to user perception from using
windows apps.

Peace and Grace,

Gregory A. Beamer (MVP)

Twitter: @gbworld

| Think outside the box! |
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar GadGets does not show calendar iccsi Windows 64bit 4 08-14-2011 01:52 PM
How to Synchronise Hotmail Calendar with Standard Outlook Calendar using Outlook Connector ?? Synapse Syndrome Computer Support 0 12-02-2007 04:19 AM
GridView Hierarchical View - Gridview in Gridview =?Utf-8?B?bWdvbnphbGVzMw==?= ASP .Net 1 05-09-2006 06:48 PM
Thunderbird Calendar with Exchange 2003 Calendar and Public FoldersCalendar jincmcse Firefox 1 09-03-2005 02:46 AM
Calendar Control - Programatically set the calendar to a date range Shevek ASP .Net 3 06-23-2004 01:41 PM