nested - how to access fourth level gridview in asp.net c# -



nested - how to access fourth level gridview in asp.net c# -

i have access "gvdepartments", "gvfuctions" & "gvsections" how can access "gvemployees"?

c# code:

protected void show_hide_employeesgrid(object sender, eventargs e) { imagebutton imgshowhide = (sender imagebutton);

gridviewrow row = (imgshowhide.namingcontainer gridviewrow); if (imgshowhide.commandargument == "show") { row.findcontrol("pnlemployees").visible = true; imgshowhide.commandargument = "hide"; imgshowhide.imageurl = "~/images/minus.png"; string empid = (row.namingcontainer gridview).datakeys[row.rowindex].value.tostring(); gridview gvemployees = row.findcontrol("gvemployees") gridview; bindemployees(empid, gvemployees); //gvemployees. } else { row.findcontrol("pnlemployees").visible = false; imgshowhide.commandargument = "show"; imgshowhide.imageurl = "~/images/plus.png"; } }

asp.net

gridview nested

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -