Using telerik radGrid - how to set the Date format for autogenerated column in edit mode
Posted
by Mark Breen
on Stack Overflow
See other posts from Stack Overflow
or by Mark Breen
Published on 2010-05-23T11:54:59Z
Indexed on
2010/05/23
12:01 UTC
Read the original article
Hit count: 1638
Hello All,
Using VS2008, and Telerik radGrid version 2010.1.519.35
I have a about 50 DNN modules using telerik radgrid and I need to display my dates in dd/mm/yy format. It is possible to do this easily in view mode, but when I switch to edit mode, it is more of a struggle. I can write a snippit of code to reformat the displayed date values to dd/mm/yy, but for inserts the user must enter mm/dd/yy.
IOW, I need to change the culture of the form to en-GB culture.
In my DotnetNuke App, I have made a change to the web.config, but it still assumes en-US format.
I am not sure whether I need to set this at web.config level, page level or at the column within the control.
I am struggling with this for a month or more and any help would be appriciated,
thanks
Mark Breen Ireland BMW R80GS 1987
© Stack Overflow or respective owner