function validate() { for(i=0;i<grd_vb.length;i++)> { alert( grd_vb[i]); return false; } }
protected void GridView1_PreRender(object sender, EventArgs e) { ClientScriptManager cs = Page.ClientScript; TextBox lblempid = (TextBox)GridView1.FooterRow.FindControl("lblempid"); cs.RegisterArrayDeclaration("grd_vb", string.Concat("'", lblempid.ClientID, "'")); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)