472,135 Members | 1,491 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,135 software developers and data experts.

ASPX page is not updating to flect changes made to an include page

Hi,

I have an aspx page that has the "include" code in it which includes another
page that displays information. I also have an upload page that allows users
to upload a simple html document onto the server. The include code calls that
html page to display the text on that page. The problem is when the user
uploads that html page, the aspx page does not refresh to reflect those
changes, even if the user hits refresh in their browse. However, if I
manually connect to the server and open the aspx page that contains the code
and hit save then the webpage updates to reflect the changes that were made
to the include page. Can anyone help me fix this problem?
Thanks,
Brandon
Jun 5 '07 #1
3 4779
Brandon wrote:
Hi,

I have an aspx page
There was no way for you to know it (except maybe by browsing through some
of the previous questions in this newsgroup before posting yours - always a
recommended practice) , but this is a classic asp newsgroup. ASP.Net bears
very little resemblance to classic ASP so, while you may be lucky enough to
find a dotnet-knowledgeable person here who can answer your question, you
can eliminate the luck factor by posting your question to a group where
those dotnet-knowledgeable people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.
that has the "include" code in it which includes
another page that displays information. I also have an upload page
that allows users to upload a simple html document onto the server.
The include code calls that html page to display the text on that
page. The problem is when the user uploads that html page, the aspx
page does not refresh to reflect those changes, even if the user hits
refresh in their browse. However, if I manually connect to the server
and open the aspx page that contains the code and hit save then the
webpage updates to reflect the changes that were made to the include
page. Can anyone help me fix this problem?

I think people will need to see more details in order to help yo. You should
provide a small repro page to enable people to load the code in their
websites and see the problem for themselves.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jun 5 '07 #2
Bob,

Ok, this is what I am trying to do. I have an internet page that is coded in
aspx that contains this code in it <!--#INCLUDE FILE="C:\TEST\Index.htm" -->,
which calls text from the index page to display in the aspx page.
Furthermore, I have an upload page that allows a user to type a word document
and save it as "Index.htm". Then the user uploads that to the server located
here "C:\TEST\Index.htm".
All of that works fine; however, when the user uploads that page then the
aspx page does not reflect the changes that were made to the Index.htm page.
Now, I can logon to my server and open the aspx page,which contains the
<!--#INCLUDE FILE="C:\TEST\Index.htm" --in it and hit save and when the
user goes to the aspx page in their browser then they can see the changes
made to the include file.
The problem is I am wanting to add code or something to this aspx page that
will auto update and show the changes to the Index.htm page that it includes.
Thanks,
Brandon




"Bob Barrows [MVP]" wrote:
Brandon wrote:
Hi,

I have an aspx page

There was no way for you to know it (except maybe by browsing through some
of the previous questions in this newsgroup before posting yours - always a
recommended practice) , but this is a classic asp newsgroup. ASP.Net bears
very little resemblance to classic ASP so, while you may be lucky enough to
find a dotnet-knowledgeable person here who can answer your question, you
can eliminate the luck factor by posting your question to a group where
those dotnet-knowledgeable people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.
that has the "include" code in it which includes
another page that displays information. I also have an upload page
that allows users to upload a simple html document onto the server.
The include code calls that html page to display the text on that
page. The problem is when the user uploads that html page, the aspx
page does not refresh to reflect those changes, even if the user hits
refresh in their browse. However, if I manually connect to the server
and open the aspx page that contains the code and hit save then the
webpage updates to reflect the changes that were made to the include
page. Can anyone help me fix this problem?
I think people will need to see more details in order to help yo. You should
provide a small repro page to enable people to load the code in their
websites and see the problem for themselves.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jun 7 '07 #3
Brandon wrote:
Bob,

Ok, this is what I am trying to do. I have an internet page that is
coded in aspx
I think you missed this part of my reply (there are also forums over at
www.asp.net where you can get dotnet help):
>There was no way for you to know it (except maybe by browsing
through some of the previous questions in this newsgroup before
posting yours - always a recommended practice) , but this is a
classic asp newsgroup. ASP.Net bears very little resemblance to
classic ASP so, while you may be lucky enough to find a
dotnet-knowledgeable person here who can answer your question, you
can eliminate the luck factor by posting your question to a group
where those dotnet-knowledgeable people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.
When I said this:
>I think people will need to see more details in order to help yo.
You should provide a small repro page to enable people to load the
code in their websites and see the problem for themselves.
I was referring to the people in the relevant dotnet group to which you
should post your question.
I'm still pretty firmly in the classic ASP world, so I cannot help you.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jun 7 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by roger janssens via DotNetMonster.com | last post: by
2 posts views Thread by tshad | last post: by
10 posts views Thread by Brennan Young | last post: by
4 posts views Thread by rn5a | last post: by
1 post views Thread by =?Utf-8?B?QnJhbmRvbg==?= | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.