|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Master Page TemplateIs there any way to apply a master page to existing pages that weren't
previously using a master page? VB 2005. Thanks, Ryan Ryan,
That is in my opinion not with a correct answer to answer question. Of course it can, but than is it how are those existing pages build. There in my opinion nowhere so much methods that can make a page as with webpages. (I am not talking about the raw HTML results but the page the developer is making) If you have in past used frames or Iframes than it is in my idea very simple for those frames. Cor Show quoteHide quote "Ryan" <Tyveil@newsgroups.nospam> schreef in bericht news:e35Zp$HlGHA.3588@TK2MSFTNGP02.phx.gbl... > Is there any way to apply a master page to existing pages that weren't > previously using a master page? VB 2005. > > Thanks, > Ryan > Sorry Cor I'm having trouble understanding you're answer.
I have numerous pages that I want to have the same surrounding art (a header banner espescially). It was my understanding that using a MasterPage template is the way to do this in VB 2005. I already have my pages created for functionality, now I just want to add some artwork to the top of all of the pages. Are you saying I should redesign the pages to use frames? Thanks, Ryan Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:%23zdxtHIlGHA.2304@TK2MSFTNGP02.phx.gbl... > Ryan, > > That is in my opinion not with a correct answer to answer question. > > Of course it can, but than is it how are those existing pages build. > > There in my opinion nowhere so much methods that can make a page as with > webpages. (I am not talking about the raw HTML results but the page the > developer is making) > > If you have in past used frames or Iframes than it is in my idea very > simple for those frames. > > Cor > > "Ryan" <Tyveil@newsgroups.nospam> schreef in bericht > news:e35Zp$HlGHA.3588@TK2MSFTNGP02.phx.gbl... >> Is there any way to apply a master page to existing pages that weren't >> previously using a master page? VB 2005. >> >> Thanks, >> Ryan >> > > You can force a master page to apply to an entire site using the web.config
file. If you didn't create your pages to take advantage of a MasterPage, then you may have some cleaning up to do. Typically, you have an <asp:contentplaceholder> tag in your MasterPage and then you have an <asp:content> tag in each page that is to use the MasterPage. You also need to inlcude the ContentPlaceHolderID attribute of the <asp:content> tag in the ASPX page to tell the page which contentplaceholder to use. (From what I can tell, this is the piece that allows you to nest MasterPages within each other.) If your content pages are not configured to use the <asp:content> tags, then I do not know how your pages are going to be rendered. That should get you started, though. Show quoteHide quote "Ryan" wrote: > Sorry Cor I'm having trouble understanding you're answer. > > I have numerous pages that I want to have the same surrounding art (a header > banner espescially). It was my understanding that using a MasterPage > template is the way to do this in VB 2005. I already have my pages created > for functionality, now I just want to add some artwork to the top of all of > the pages. Are you saying I should redesign the pages to use frames? > > Thanks, > Ryan > > "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message > news:%23zdxtHIlGHA.2304@TK2MSFTNGP02.phx.gbl... > > Ryan, > > > > That is in my opinion not with a correct answer to answer question. > > > > Of course it can, but than is it how are those existing pages build. > > > > There in my opinion nowhere so much methods that can make a page as with > > webpages. (I am not talking about the raw HTML results but the page the > > developer is making) > > > > If you have in past used frames or Iframes than it is in my idea very > > simple for those frames. > > > > Cor > > > > "Ryan" <Tyveil@newsgroups.nospam> schreef in bericht > > news:e35Zp$HlGHA.3588@TK2MSFTNGP02.phx.gbl... > >> Is there any way to apply a master page to existing pages that weren't > >> previously using a master page? VB 2005. > >> > >> Thanks, > >> Ryan > >> > > > > > > > Ryan,
There are endless tools that create webpages. To give some of those Visual Studio Net 2002/2003 Interdev 98 FrontPage version express until 2003 Dreamweaver different versions Flash different versions Studio different versions Php Coffeecup Lotus Ace Java applets JavaScript CSS Notepad etc. etc. From the way you have used these tools it depends how easy it is to use that integrated into your masterpages from Visual Studio Net 2005. Cor Show quoteHide quote "Ryan" <Tyveil@newsgroups.nospam> schreef in bericht news:%23cIHqXIlGHA.1272@TK2MSFTNGP03.phx.gbl... > Sorry Cor I'm having trouble understanding you're answer. > > I have numerous pages that I want to have the same surrounding art (a > header banner espescially). It was my understanding that using a > MasterPage template is the way to do this in VB 2005. I already have my > pages created for functionality, now I just want to add some artwork to > the top of all of the pages. Are you saying I should redesign the pages > to use frames? > > Thanks, > Ryan > > "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message > news:%23zdxtHIlGHA.2304@TK2MSFTNGP02.phx.gbl... >> Ryan, >> >> That is in my opinion not with a correct answer to answer question. >> >> Of course it can, but than is it how are those existing pages build. >> >> There in my opinion nowhere so much methods that can make a page as with >> webpages. (I am not talking about the raw HTML results but the page the >> developer is making) >> >> If you have in past used frames or Iframes than it is in my idea very >> simple for those frames. >> >> Cor >> >> "Ryan" <Tyveil@newsgroups.nospam> schreef in bericht >> news:e35Zp$HlGHA.3588@TK2MSFTNGP02.phx.gbl... >>> Is there any way to apply a master page to existing pages that weren't >>> previously using a master page? VB 2005. >>> >>> Thanks, >>> Ryan >>> >> >> > > Hi Ryan,
Thank you for your post. Unfortunately existing pages that weren't previously using a Master Page must be tailored to be used with MasterPage. Pages will use the MasterPage is called a Content page. In a content page, anything that is not inside the Content (<asp:Content>) controls (except script blocks for server code) results in an error. You can perform any tasks in a content page that you do in an ASP.NET page. For example, you can generate content for a Content control using server controls and database queries or other dynamic mechanisms. You can find more information about MasterPage here: #ASP.NET Master Pages Overview http://msdn2.microsoft.com/en-us/wtxbf3hh.aspx Please feel free to post here if you need more help on Master Pages. Regards, Walter Wang Microsoft Online Community Support ================================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights.
More VS2003 to VS2005 questions
Mouse/Screen Image Status how to launch media player and a selected file from within VB.Net app? difference between imports-implements-inherits How do I make my computer unstupid? Calling .Net DLL functions in Excel 2003 How to update application settings in vb.net code Easiest way to get the equivalent of vb6 app.path in vs2005 Vb.net new line in datagrid cell newbie script question |
|||||||||||||||||||||||