|
-
Apr 11th, 2007, 06:29 AM
#1
Thread Starter
Frenzied Member
[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!
-
Apr 11th, 2007, 08:34 AM
#2
Fanatic Member
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.
-
Apr 11th, 2007, 09:40 AM
#3
Re: [2005] Masterpages Hlp Plz!
Simply edit the HTML! Am I correct in assuming that you've created your master page using drag-drop?
-
Apr 11th, 2007, 10:34 AM
#4
Thread Starter
Frenzied Member
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.
-
Apr 12th, 2007, 05:26 PM
#5
Thread Starter
Frenzied Member
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!
-
Apr 12th, 2007, 06:11 PM
#6
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.
-
Apr 13th, 2007, 02:15 AM
#7
Fanatic Member
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.
-
Apr 13th, 2007, 02:17 AM
#8
Re: [2005] Masterpages Hlp Plz!
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Apr 13th, 2007, 03:54 AM
#9
Thread Starter
Frenzied Member
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!
-
Apr 13th, 2007, 06:42 AM
#10
Fanatic Member
Re: [2005] Masterpages Hlp Plz!
-
Apr 13th, 2007, 07:07 AM
#11
Thread Starter
Frenzied Member
Re: [2005] Masterpages Hlp Plz!
Thank you davebat for all your help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|