Hi,
I have a page on which there are multiple tabs. Validations are checked on all tabs before you finally click Submit button on main page.
Now in one of the tabs I have radgrid which user should be allowed to edit at all times.
I'm able to make all items Editable on Edit command. But when I try to update it; it checks for all page validations.
Is there any way to set CausesValidation property to false for it or skip all the validations and update grid only?
I even followed below approach, Skipping valiadation was achieved but its not going inside 'image_Click' even after clicking on it.
Thanks.
I have a page on which there are multiple tabs. Validations are checked on all tabs before you finally click Submit button on main page.
Now in one of the tabs I have radgrid which user should be allowed to edit at all times.
I'm able to make all items Editable on Edit command. But when I try to update it; it checks for all page validations.
Is there any way to set CausesValidation property to false for it or skip all the validations and update grid only?
I even followed below approach, Skipping valiadation was achieved but its not going inside 'image_Click' even after clicking on it.
protected void rgRequest_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
if (e.Item is GridDataItem && e.Item.IsInEditMode)
{
GridDataItem item = (GridDataItem)e.Item;
ImageButton image = (ImageButton)e.Item.FindControl("UpdateButton");
image.CausesValidation = false;
image.Click += new ImageClickEventHandler(image_Click);
}
}