Hello,
I am facing one problem
i have 5 column inside Ultrawebgrid and one column is date field column
when date field coulmn in edit mode it is display date in "Sat Feb 2 00:00:00 UTC+0530 2008" format
but i want date format in "MM/dd/yyyy" in edit mode of cell.
is there any way to set date format cell in "MM/dd/yyyy" when cell Edit mode?
Thanks in Advance.
Sonu.
Thanks for your reply
But when i use EditorControlID With WebDateTimeEdit control when i add new recored on grid level edit cell mode format display like __/__/____ but my requirement is display blank same as Textbox so user enter any of date format. so is there any way to do blank in edit cell mode using WebDateTimeEdit.
Please reply as soon as possible.
That was also what I was going to suggest - if you need fine control on the format of the date in the edit cell, its best to point the EditorControlID property of the respective columns to the ID of an WebDateTimeEdit control - you can control the format of the date to great details there using masks and format strings.
No, i tried using various java script events for grid available but none of one is allowing to set the Value on cell, if you can please provide some hints to handle it on java script. as soon as possible.
Thanks.
I use the webDateTimeEdit control to format my date columns in my grids. That would easily get you the mm/dd/yyyy format. I wonder if you could do that and then setup a event to change the format when the user double clicked the field.
Thanks for your reply.. But sorry this is not my requirement. My Requirement is the Grid should Display the dates in MM/DD/YYYY format only. but when we go in Edit mode of the Cell then it should not mask the control. i mean to say on EditMode the control should be blank, without masking and user can enter the date in any format while editing or entering. but finally the grid should display in the Correct format after submit.
Please reply soon,
Thanks,