[2005] Masterpages Hlp Plz!
Hi Peeps,
I am very new to ASP.Net 2.0 and I want to design a website. The header,menus and footer will be the same through out the website so I thought I would use Master pages and Content Pages, this is where the problem starts. I am assuming that on my master page the content place holder control is where me linked contents page will be merged; the problem is I cannot resize or move or do anything with this control. PLZ PLZ help, this is doing my head in.
Thank you all for any help,
Jiggy!
Re: [2005] Masterpages Hlp Plz!
build the master page and then add a new aspx page to the website, make sure the the box is ticked for "select master page". On the next page choose the amster page you just created as the template for the new page.
Re: [2005] Masterpages Hlp Plz!
Simply edit the HTML! Am I correct in assuming that you've created your master page using drag-drop?
Re: [2005] Masterpages Hlp Plz!
I have gone to add new items and added a Master Page and then added a contents page. I will try just to add a standard web form as Davebat mentioned and try to set it up that way. Thank you both for your reply.
Re: [2005] Masterpages Hlp Plz!
Hi All,
I am really stuck on this one; I have looked in my book but it does not explain how to lay things out. I have created a master page and a content page. I have placed the content place holder in a table but when I go to my content page the content control is very small and I cannot resize or do anything with it.
Surely I should be able to make the content control the size and position I want it to appear on my master page?
PLZ PLZ PLZ PLZ HELP!
Re: [2005] Masterpages Hlp Plz!
Content placeholders themselves cannot be sized and there is no need to do so. The size is determined by their container and by the content.
Personally, I rarely use Design view and pretty much do everything in Source View.
Re: [2005] Masterpages Hlp Plz!
I'm not sure your doing this right, Just:
Create the master page
Create a new page, linking to the master page by ticking "select master page" when creating
Add content within these tags on the new page
Code:
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
</asp:Content>
As bruce said the content area will wrap around the size of the content.
Re: [2005] Masterpages Hlp Plz!
Re: [2005] Masterpages Hlp Plz!
Thank you all very much and the video was the dogs, well you know what I mean. Do you know where you can get more of these video links for ASP.Net (not bothered if I have to pay for them).
Thanks again all, this forum rocks!
Re: [2005] Masterpages Hlp Plz!
Re: [2005] Masterpages Hlp Plz!
Thank you davebat for all your help.