Hello,
I'm having some trouble in setting the CausesValidation property of the update button to false while in InPlace edit mode. I've tried the following, but 'update' is always null. This is in the Item_Created event and I have tried placing it in the Item_Command event when Command_Name = "Edit".
Thanks,
Casey
I'm having some trouble in setting the CausesValidation property of the update button to false while in InPlace edit mode. I've tried the following, but 'update' is always null. This is in the Item_Created event and I have tried placing it in the Item_Command event when Command_Name = "Edit".
| if (e.Item is GridEditableItem && e.Item.IsInEditMode) |
| { |
| LinkButton update = (LinkButton)e.Item.FindControl("UpdateButton"); |
| update.CausesValidation = false; |
| } |
Thanks,
Casey