ASPX page is not updating to flect changes made to an include page
ASPX page is not updating to flect changes made to an include page
am 05.06.2007 23:42:00 von brandon
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
Re: ASPX page is not updating to flect changes made to an include page
am 06.06.2007 01:28:24 von reb01501
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"
Re: ASPX page is not updating to flect changes made to an include
am 07.06.2007 21:48:01 von brandon
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 ,
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
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"
>
>
>
Re: ASPX page is not updating to flect changes made to an include
am 07.06.2007 21:56:17 von reb01501
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.