473,729 Members | 2,150 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4925
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.publi c.dotnet.framew ork.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\I ndex.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\I ndex.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.publi c.dotnet.framew ork.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.publ ic.dotnet.frame work.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
2210
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 login into the application are pumped off. In fact we must close down the server (to preserve users from being logged on and thinking they are updating data when it is in fact lost when we move the dlls to the the applications bin directory)....
5
4775
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 queries I had to change them in many places. Then I started using server side includes to keep me from changing some items in multiple places. There is still some double (quadruple) updating going on though when I make
3
3351
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 from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\1f575646\ad3a161b\assembly\dl2\57ca505e\044565c0_f84fc401\Test1.DLL' The problem is that the control is defined in two different assemblies
4
1728
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 that's filled in with other pages, header.php, footer.php, menubar.php, i was trying to do the same with .net, but every page i try to include has his own page directive (well, i need the code behind... so i can't just delete those page...
2
1434
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 security folder checks to see if you are logged on and allows you to do a couple of things the non-secure does not. If the page is called in the non-secure area, it just works. If the page in the Secure area is called, the Login page is...
34
10842
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 VBA code that wrote the results of that away to the db, either creating new records or updating existing records, whichever was relevant. This may also include deleting records. Now I generally do this by opening a recordset on the source data...
10
4413
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 as a DOS binary, but mention was made of UNIX in the readme - I am compiling under Mac OS X, fwiw).
4
3200
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 namespace & instantiates the class 'MyClass' so that the ASPX code can invoke the different functions existing within the class 'MyClass': <%@ Import Namespace="MyPro" %> <script runat="server"> Public boMyClass As MyClass
1
2387
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 page with the same name everytime and places it on the server. My problem is that the aspx page does not update to reflect the changes made to the uploaded html page. However, if I log into the server and open the aspx page that contains the code...
0
8913
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8761
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9426
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9142
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6722
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6016
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4795
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2162
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.