In my application i am using Ultrawebgrid. Two to three column Datatype is Date time. I am not any date chooser to select the date. It contains only textbox. I want to disply the date format in dd-MMM-yyyyy fomat. It is displying correctly but when i edit the cell it is displaying with time. Is there any way to set culture fomated date for dd-MMM-yyyyy in Edit mode without using any datechooser controls.
Hi KarthikaSubbiah,
Thank you for posting in the community.
I have researched your scenario and there does not seem to be away to format the editing value of a cell as per your requirement witout using a WebDateChooser. If you need to use the editor to appear as a regular editing cell, you can hide its dropdown button. For instance:
<style type="text/css"> .disableDropDown { display:none; } </style> <igsch:WebDateChooser ID="WebDateChooser1" runat="server" DropDownAlignment="Center"> <DropButton ImageUrlDisabled="/"> <Style CssClass="disableDropDown"> </Style> </DropButton> </igsch:WebDateChooser>
<style type="text/css"> .disableDropDown { display:none; } </style>
<igsch:WebDateChooser ID="WebDateChooser1" runat="server" DropDownAlignment="Center"> <DropButton ImageUrlDisabled="/"> <Style CssClass="disableDropDown"> </Style> </DropButton> </igsch:WebDateChooser>
Please note that the UltraWebGrid control is now outdated and as of .NetAdvantage 2011 Volume 2 is no longer included in our product package. I would suggest that you consider switching to the WebDataGrid/WebHieararchicalDataGrid. More information regarding these controls is available at:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=Web_WebDataGrid_WebDataGrid.html
Additional samples demonstrating the features of these grids can be found at:http://samples.infragistics.com/aspnet/
Feel free to contact me if you have any questions.
Please do not hesitate to contact me if you need further assistance regarding this matter.