So I'm using VWDexpress and I can edit the .aspx files, but instead of editing the general template, I'd like to edit a page with parentID=8192 (for example). Is it possible to access the code for that particular page using VWD? If so, how? I've also seen it being done in Dreamweaver, but I have no clue how to do it. Any help would be much appreciated. Thanks!
If I'm understanding you correctly then you need to read up on querystrings. The domain.com/page.aspx?parentid=1 and domain.com/page.aspx?parentid=2 are physically the same file.
Does this mean I can't make the pages so that I have something on domain.com/page.aspx?parentid=1 but not on domain.com/page.aspx?parentid=2? For example, if the domain.com/page.aspx code includes an image and I want to make the one on domain.com/page.aspx?parentid=1 into a link, but not have the one on domain.com/page.aspx?parentid=2 turn into a link as well...how would I do that?
the bits after the question mark are parameters being passed into the one physical page. If you want different layouts, in the code behind module you can look at the parameters coming in and write different stuff out depending which parameter you get.
Yes for example, within page.aspx where you want the code to change ... <% If Request.Querystring("parentID") = "1" Then %> //HTML CODE HERE // <% Else %> //DIFFERENT HTML CODE HERE// <% End If %> Code (markup):
what if i have 10 different pages that i want to create image links for? i know on that i can make an image or have words (like "click here") in the .aspx file become a link, but how would i set it so that each page (domain.com/page.aspx?parentid=##) has a link to a different thing?