Latest Development Blogs
Forum Topics Post
Browse By Tag
I have a column on my grid with CalendarCombo. When the user selects a date, I want the timestamp to be saved as well. I notice the BatchUpdate: NewText has the date and time (1/28/2011 11:40AM" but the NewValue has "1/28/2011". I was expecting to see the same value for both NewValue and NewText.
<ISWebGrid:WebGridColumn Name="Date1" DataMember="Date1"
Caption="Date Paid or Accrued" EditType="NoEdit" Width="125px" FilterEditType="CalendarCombo"
EditInfoText="Enter Date" DataFormatString="MM/dd/yyyy hh:mm tt" DataType="System.DateTime">
I am trying to replicate your issue using northwind database and Orders table. From the code snippet that you gave, I see that the EditType is NoEdit, if you set the EditType to NoEdit, then could you inform me how do you edit the cell? is it using form or control outside the grid?
I also has test by changing the EditType to CalendarCombo, but in my end the NexText and NewValue has the same value which is has the timestamp saved as well, I check it in OnAddPendingChanges client-side event of WebGrid. Do you have another settings that could cause the issue?
Discover WebUI Studio® 2012
Get Started with WebUI Studio®
WebUI Studio® Edition
For ASP.NET Development
For Silverlight Development
For WPF Development
Learn More About ClientUI