Welcome Guest Search | Active Topics | Sign In | Register

DatePicker in Grid Options
Schneckmann
Posted: Wednesday, March 21, 2012 3:31:11 AM
Rank: Newbie
Groups: Member

Joined: 2/22/2012
Posts: 4
Hi,
I´m using a DateTimeColumn in a Grid with:
PickerFormat="dd/MM/yyyy" PickerHint="dd/MM/yyyy" DataFormat="{0:dd/MM/yyyy}". Everything seems to be ok, but, as soon as I click the Dtp, it display in format mm/dd/yyyy, so manual input by means of entering data by keys in order dd - mm - yyyy is not possible, only pick selection is possible.

What I mean is, the user needs to "think", i.e. on entering with keys, the first value he wants to enter would be the dd (good old germany), then the mm and then the yyyy. This fails, as first column of __/__/____ is the mm.
Can you assist ?
Regards
Oliver
eo_support
Posted: Wednesday, March 21, 2012 12:42:21 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

Please switch to HTML view, then delete <eo:DateTimeColumn> block inside <ColumnTemplates>. As long as you have a DateTimeColumn inside the column template, that template will be used. Once you remove that, your own setting will take effect.

Thanks!
Schneckmann
Posted: Thursday, March 22, 2012 1:32:49 AM
Rank: Newbie
Groups: Member

Joined: 2/22/2012
Posts: 4
Thx. That worked. Shame on me, "Custom Column - Advanced 3" was perfect, I just missed a "{" in the script part. Thanks for the quick reply.
Oliver


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.