Category / Section
How will you find the child control(For Example GridView) which is placed inside the Snap control?
1 min read
You can find the child control using the FindControl method of the snap control.
Below code does the same. [C#] //Finds the GridView control which is placed inside the ContentTemplate of the Snap Control GridView gridview1 = (GridView)this.Snap1.FindControl("GridView1"); [VB] ''Finds the GridView control which is placed inside the ContentTemplate of the Snap Control Dim gridview1 As GridView = CType(Me.Snap1.FindControl("GridView1"), GridView)