S
Shelly
In a nutshell, I don't get the web page to display other than the code, but
the master page shows all the graphics.
Here is the story:
I've been learning a lot, but still having problems. With all the changes,
I couldn't get the html to display correctly. So, I went back to the php
file that I was trying to redo in aspx and started again. Now I had written
the php module in three parts. The first was called order.php, the second
was orderInclude.php and the third was orderProcess.php. (I had done this
for organizational purposes with ALL my modules and it turns out that it
maps beautifully into the aspx scheme of things.) The first is like the
master page, the second is like the web file and the third is like the vb
file.
Here are the steps I did and the result:
1 - I changed the name of a file called order.php to order.aspx, removed any
php stuff, fixed up some html by adding necessary closing tags and " />
rather than ">", and put it to the server. It displayed just as I had hoped
with the Flash stuff appearing.
2 - I created a new master page with the template in Web Developer called
Second.master. I copied all the stuff in the header from order.aspx to
Second.master's header area. I copied all the stuff in order.aspx before
where I had previously included the reference to orderInclude.php and put it
before the content placeholder. I did the same thing with the stuff after
where I had referenced orderInclude.php and put that after the placeholder.
Now my master page looked very similar to order.aspx, except that it is now
in master page format with a content placeholder. I put that to the server
and it also displayed perfectly (with empty content, of course).
3 - I then created a web page called testing.aspx (again using the template
in Web Developer). It referenced Second.master as the master page. I put
it to the server and when I ran it, it displayed:
<%@ Page Language="VB" MasterPageFile="~/Second.master"
AutoEventWireup="false" CodeFile="testing.aspx.vb" Inherits="testing"
title="Untitled Page" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
</asp:Content>
The contents of testing.aspx.vb are:
Partial Class testing
Inherits System.Web.UI.Page
End Class
4 - If I try to display it in Web Developer, it gives the graphics but not
with the Flash stuff. Also, in Web Developer I can't display the master
page as it is blocked. Why can I do it on the server? Should a ,master
extension also be blocked there?
Any ideas?
Shelly
the master page shows all the graphics.
Here is the story:
I've been learning a lot, but still having problems. With all the changes,
I couldn't get the html to display correctly. So, I went back to the php
file that I was trying to redo in aspx and started again. Now I had written
the php module in three parts. The first was called order.php, the second
was orderInclude.php and the third was orderProcess.php. (I had done this
for organizational purposes with ALL my modules and it turns out that it
maps beautifully into the aspx scheme of things.) The first is like the
master page, the second is like the web file and the third is like the vb
file.
Here are the steps I did and the result:
1 - I changed the name of a file called order.php to order.aspx, removed any
php stuff, fixed up some html by adding necessary closing tags and " />
rather than ">", and put it to the server. It displayed just as I had hoped
with the Flash stuff appearing.
2 - I created a new master page with the template in Web Developer called
Second.master. I copied all the stuff in the header from order.aspx to
Second.master's header area. I copied all the stuff in order.aspx before
where I had previously included the reference to orderInclude.php and put it
before the content placeholder. I did the same thing with the stuff after
where I had referenced orderInclude.php and put that after the placeholder.
Now my master page looked very similar to order.aspx, except that it is now
in master page format with a content placeholder. I put that to the server
and it also displayed perfectly (with empty content, of course).
3 - I then created a web page called testing.aspx (again using the template
in Web Developer). It referenced Second.master as the master page. I put
it to the server and when I ran it, it displayed:
<%@ Page Language="VB" MasterPageFile="~/Second.master"
AutoEventWireup="false" CodeFile="testing.aspx.vb" Inherits="testing"
title="Untitled Page" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
</asp:Content>
The contents of testing.aspx.vb are:
Partial Class testing
Inherits System.Web.UI.Page
End Class
4 - If I try to display it in Web Developer, it gives the graphics but not
with the Flash stuff. Also, in Web Developer I can't display the master
page as it is blocked. Why can I do it on the server? Should a ,master
extension also be blocked there?
Any ideas?
Shelly