How to access Child Page controls from Master page.(interviews.dotnetthread.com)
submitted by
abomnkv(250) 3 years, 2 months ago
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;
|category: ASP.NET
|Views: 88
tags:
ASP.NET another
Everyones tags:
Your Tags: