↑ Grab this Headline Animator

Tuesday, October 21, 2008

How to access Child Page controls from Master page.

Accessing Child page controls in Master Page:

In master use FindControl method of ContentPlaceHolder in which child page control is placed in child page.

In Master page write this line of code.
bool IsChecked = ((CheckBox)ContentPlaceHolder1.FindControl("CheckBox1")).Checked;

Submit this story to DotNetKicks

No comments:

Post a Comment

Post your comments/questions/feedback for this Article.


Latest Articles