I have a PopUp editform within a <FormTemplate />. The form has a DropDownList that can be manipulated at runtime by Javascript.
Since its hidden by FormTemplate, is there any way to access it so that I can disable EventValidation?
Here's what I have:
Since its hidden by FormTemplate, is there any way to access it so that I can disable EventValidation?
Here's what I have:
protected override void Render(System.Web.UI.HtmlTextWriter writer) |
{ |
Page.ClientScript.RegisterForEventValidation(((DropDownList)((GridDataItem)RadGrid1.EditItems[0]).EditFormItem.FindControl("ddlCategory")).UniqueID); |
base.Render(writer); |
} |