By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,494 Members | 1,079 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,494 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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.