Articles in this section
Category / Section

How to find child control from Snap control?

1 min read

Description

You can easily find the child control object from Snap control with the help of FindControl() method.

Solution

The Snap control object contains FindControl() method that enables you to render the child control object with the help of control id.

Refer to the following code example.

C#

            GridView gridview1 = (GridView)this.Snap.FindControl("GridView1");
            //"GridView1" => id of the childcontrol.

 

 

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