public string GetPostBackEventReference (Control control) { return scriptManager.GetPostBackEventReference (control, String.Empty); }
public static string DblClickBlock(System.Web.UI.Page Page, System.Web.UI.Control C) { return("if (typeof(Page_ClientValidate) == 'function') { if (Page_ClientValidate() == false) { return false; }} " + "this.disabled = true; " + Page.GetPostBackEventReference(C) + ";"); }