Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
I have a webapp(vs2012) that has several pages., In a few pages of some common controls
Would not want to use the Master Page

and If I use the UserControl can I access to the controls of UC?

Please suggest a good way
Posted

1 solution

Would not want to use the Master Page
While adding a new form to project, you have an option to either add a normal webpage or a webpage that supports Masterpage. Select as per your need. In case you forget to do it, you just need to remove the MasterPageFile attribute from Page tag and add your page title, head & body.

If I use the UserControl can I access to the controls of UC
Yes. You can expose the needed controls as properties of the UC to access them.
 
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