Click here to Skip to main content
15,921,279 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how can i access to page control from webusercontrol
and this page contains a master page
Posted

this.Page and for accessing master page
this.Master
 
Share this answer
 
Ok, Thanks For All

I have Good Now because i did the following:

ContentPlaceHolder CPH=(ContentPlaceHolder) Page.Master.FindControl("ContentPlaceHolder1");

example on label control

Label lbl=CPH.FindControl("Label1") as Label;
 
Share this answer
 
Have you tried the Page property :rolleyes:
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900