Posted on: 3/19/2012 7:18:40 AM | Views : 459

Hi
In my gridview i have a footerRow templet and editIteam Templet.I need to validate both Templet controls.for that i dclear the arrrya method for get the each one the row cell value.This code is in blow.In the blow code i can get the FooterRow cell value only.I need to find out the edit row cell value also using this code.any one kindly assist me.

 protected void GridView1_PreRender(object sender, EventArgs e)
    {

        ClientScriptManager cs = Page.ClientScript;

      
            TextBox lblempid = (TextBox)GridView1.FooterRow.FindControl("lblempid");

            TextBox txtempname = (TextBox)GridView1.FooterRow.FindControl("txtempname1");

            ...

Go to the complete details ...