Calendar in Gridview

A

Arne Garvander

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

Gregory A. Beamer

=?Utf-8?B?QXJuZSBHYXJ2YW5kZXI=?=
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:
http://snurl.com/twkeo

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
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top