473,324 Members | 2,548 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 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 4877
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Paul | last post by:
Title: What are the Consequences of Aspx page separate from app DLL Hi JL; I am working on a big asp.net application. When we migrate the dll (or dlls) to the production server, all users who are...
5
by: Glenn Mulno | last post by:
Hi, I am trying to create a report page for several teams. Each team runs the same reports but the reports use different values. For a while this was getting insane everytime I updated the...
3
by: Dan | last post by:
Hi, I have a problem using an aspx page with a Control on it. I get the following error message Compiler Error Message: CS1595: 'Test.Class2' is defined in multiple places; using definition...
4
by: roger janssens via DotNetMonster.com | last post by:
hello all. i'm used to scripting in php. there, you just include(bla.php) and it works. so i have a template that defines my layout and stays the same forever, but in that file, there's a table...
2
by: tshad | last post by:
I have 2 aspx pages that are virtually identical, except for a few security differences. I have 2 folders, my non-secure folder and my secure folder. There is one page in each. The one in the...
34
by: Jeff | last post by:
For years I have been using VBA extensively for updating data to tables after processing. By this I mean if I had to do some intensive processing that resulted in data in temp tables, I would have...
10
by: Brennan Young | last post by:
Hi there, First I'll apologise for my ignorance! I have been attempting to compile some code that I found on the net. AFAICT it's intended to be portable code (it was available as source and...
4
by: rn5a | last post by:
Using VBC, I compiled a VB class file into a DLL named MyPro.dll. The namespace used in this class file is 'MyPro' & the public class is named 'MyClass'. This is the ASPX page which imports the...
1
by: =?Utf-8?B?QnJhbmRvbg==?= | last post by:
Hi, I have an aspx page that contains an include section which calls an html page for text to be displayed on the aspx page. I also have an upload page that allows users to upload a simple html...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.