<asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Invalid Date"
Operator="DataTypeCheck" Type="Date" ControlToValidate="{}" ControlToCompare="not required">
</asp:CompareValidator>
world wide web development problems asp net php html xhtml css javascript jquery w3dproblems
<asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Invalid Date"
Operator="DataTypeCheck" Type="Date" ControlToValidate="{}" ControlToCompare="not required">
</asp:CompareValidator>
protected void Button1_Click(object sender, EventArgs e) { string filename = "Bingo.xls"; ExportToExcel(filename, GridView1); } private void ExportToExcel(string filename, GridView gv) { Response.ClearContent(); Response.AppendHeader("content-disposition", "attachment; filename=" + filename); Response.Charset = ""; Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.ContentType = "application/vnd.ms-excel"; System.IO.StringWriter stringWriter = new System.IO.StringWriter(); HtmlTextWriter htw = new HtmlTextWriter(stringWriter); gv.RenderControl(htw); Response.Write(stringWriter.ToString()); Response.End(); }
public override void VerifyRenderingInServerForm(Control control) { /* Verifies that the control is rendered */ }All done.
$( "#tabs" ).tabs( "option", "disabled", 1);
$( "#tabs" ).tabs('option','disabled', [1, 2, 3, 4]);
var jcrop_api; function InitjCrop() { $('#id').Jcrop({ }, function () { jcrop_api = this; }); }To unhook jCrop
jcrop_api.destroy();To Hook jCrop again
InitjCrop();