Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
125
Webdatetimeedit in Ultrawebgrid
posted

Dear Friends,

 I m using a Webdatetimeedit in Ultrawebgrid column.

For this column i have set the datatype as System.Datetime and Format as dd/MM/yyyy.

My Ultrawebgrid has add row button(AddnewBox) which  adds the new row to Ultrawebgrid

And for the Webdatetimeedit I have set the following properties

<igtxt:webdatetimeedit id="WebDateTimeEdit1" runat="server" Width="106px" EditModeFormat="dd/MM/yyyy " DisplayModeFormat="dd/MM/yyyy"></igtxt:webdatetimeedit>

On Pageload event I don't have any row in my ultrawebgrid.So user can add the row using add button.After adding row When i edit the Column and set the date as "01/01/2010" in the cell it ( it shows me the Proper value of cell as "01/01/2010") saves the Date but when

I edit the column and set the date as "25/01/2010" in the cell it gives me the error because at runtime it shows me the value of cell as nothing instead of "25/01/2010"