SA Developer .NET

Welcome to SA Developer .NET Sign in | Join | Help
in Search

ContentPlaceHolder Control

Last post 08-11-2008, 17:23 by Software-development. 2 replies.
Sort Posts: Previous Next
  •  07-14-2008, 10:46 13324

    ContentPlaceHolder Control

    Hi All,

    Can anyone please help...i want to load a usercontrol with paramters into a contentplaceholder on my master page...how will i be able to do this...any help is much appretiated.


    Livin life on da flip side
  •  07-14-2008, 11:13 13326 in reply to 13324

    Re: ContentPlaceHolder Control

    Wicus:

    Hi All,

    Can anyone please help...i want to load a usercontrol with paramters into a contentplaceholder on my master page...how will i be able to do this...any help is much appretiated.

     The content place holder is the place on your master page where you want children pages to be generated. So if you want to put a user control into the content place holder, you create a Web Content Form, select your masterpage and then put your user control on your form. If you want the user control to be on every page, then you should put it on your master page.


    "I would love to change the world, but they won't give me the source code"
    Meeting Place - chat online with anyone, anytime, no downloads or plugins required
  •  08-11-2008, 17:23 13966 in reply to 13326

    Re: ContentPlaceHolder Control

    Yes, you create the control in your content form, then it will display via the content place holder.

    "That's the thing about people who think they hate computers. What they really hate is lousy programmers."
    Greg - Software Development
View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems