WebGrid's UndoAllChanges not undo'in CheckBoxes

2 replies. Last post: November 15, 2010 3:24 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Shawn AugustMember

I have a WebGrid using BatchUpdate and need a way to clear the grid from all of the user's changes. The WebGrid's "UndoAllChanges" updates all of the textboxes back to their original data but not a field with a CheckBox control

 

<ISWebGrid:WebGridColumn Caption=" " Name="IncludeOutstanding" DataMember="IncludeOutstanding" ColumnType="CheckBox" EditType="Checkbox" FilterEditType="NoEdit"
Width="25px"

function <%=this.ClientID%>_SetEnabled(isEnabled) { try { // Enable/Disable var treatyClaimsGrid = ISGetObject("<%=this.grdTreatyClaims.ClientID%>"); if (treatyClaimsGrid == null) { return; } if (isEnabled == false) { treatyClaimsGrid.UndoAllChanges(); } treatyClaimsGrid.Enabled = isEnabled; } catch (ex) { ShowJSException(ex); } }
All times are GMT -5. The time now is 10:21 PM.
Previous Next