Articles in this section
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)

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied