Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hii to all,iam developing a project where i incuded master page content in so many pages at the design time itself.Hear i want to add master page content for two more pages which whear already created. I have tried by adding content place holder but it is not working.please help me how can i do this..........thanks in advance

with regards
D RAmu
Posted
Comments
Sampath Kumar Sathiya 13-Dec-12 7:37am    
could you please provide some more details or the page code?

If you've created a Master Page, to create a new Web Form you can just by the following clause:

HTML
<![CDATA[<% @ Page Language = "vb" AutoEventWireup = "false" CodeBehind = "CadMetasLoja.aspx.vb" Inherits = "SAC_BESNI.ConsMetasLoja" MasterPageFile = "~ / MasterPrincipal.Master"%>]]>
 
Share this answer
 
Just add MasterPageFile="../Admin.master" to your page directive of .aspx page
and then add content placeholder according to ur requirement
 
Share this answer
 
v3

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