Results 1 to 11 of 11

Thread: [2005] Masterpages Hlp Plz!

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    [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!

  2. #2
    Fanatic Member davebat's Avatar
    Join Date
    Dec 2002
    Posts
    727

    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.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Masterpages Hlp Plz!

    Simply edit the HTML! Am I correct in assuming that you've created your master page using drag-drop?

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    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.

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    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!

  6. #6
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    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.

  7. #7
    Fanatic Member davebat's Avatar
    Join Date
    Dec 2002
    Posts
    727

    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.

  8. #8
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [2005] Masterpages Hlp Plz!

    Watch this video on Master Pages.

    http://www.asp.net/learn/videos/view...tabid=63&id=48
    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  9. #9

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    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!

  10. #10
    Fanatic Member davebat's Avatar
    Join Date
    Dec 2002
    Posts
    727

    Re: [2005] Masterpages Hlp Plz!

    more videos are avaiolable from the same site

    http://www.asp.net/learn/videos/default.aspx?tabid=63

  11. #11

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    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
  •  



Click Here to Expand Forum to Full Width