We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Checkbox/dates are not saved after editing

Thread ID:

Created:

Updated:

Platform:

Replies:

72842 Apr 8,2008 12:54 PM UTC May 28,2008 08:33 PM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: GridGroupingControl
Najir
Asked On April 8, 2008 12:54 PM UTC

I have bound the gridgroupingcontrol to a datatable with a boolean-column,a datetime-column and a string-column. When a row is in edit-mode a checkbox, a calendar-dropdown control and a textbox is shown. If I change all of these, and click the pen-button then only the changed string is saved. The other changed values disappear!

I have looked through all your examples and in no example at all can you actually pick a date and then end edit mode and have the selected date! Does this not work??

Please provide a sample where you have bind a datatable as above and can change the values in edit mode.

Regards,
Najir


Administrator [Syncfusion]
Replied On April 8, 2008 11:03 PM UTC

Hi Najir,

Edit mode changes are automatically updated in GridGroupingControl. I have attached minimum sample that shows how to save the Edit mode changes in
GridGroupingControl?. Please refer the sample in the below link.

Sample:
http://www.syncfusion.com/support/user/uploads/CheckboxTemplate_68983734.zip


And also refer the below forum thread.

http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=48204


Please Let me know if you need further assistance.

Best regards,
Johnson



Najir
Replied On April 9, 2008 11:19 AM UTC

Hi Johnson,

I do not want a rowbuttontemplate checkbox column as in your example.

I have 3 columns in the datatable bound to the grid:

1) "Quantity" - type int
2) "OrderDate" - type datetime
3) "Discontinued" - type boolean

I want to be able to show these in the grid and to edit them. But only the quantity column can be changed!

I have attached an example to show what I mean.

If you edit a row you can only change the "Quantity" column. The "Discontinued" column can be changed from false to true, but not back. The "OrderDate" column cannot be changed at all.


Regards,
Najir






Example.zip

Administrator [Syncfusion]
Replied On May 28, 2008 08:33 PM UTC

I have the same issue. Did anybody find an answer >


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;