ASP Frameset with ASP.NET Content Frame..

  • Thread starter Thread starter Cleave
  • Start date Start date
C

Cleave

Hello,
I have a ASP application that I can't afford to convert totally
over to ASP.NET, but currently I am converting the content pages that
display in the content part of the ASP frameset. When a user performs
some action the left nav frame should update (in ASP world), but with
ASP.net, I need to be able to refresh that frame. How is this
possible? I know it sounds like I want the best of both worlds, but I
really need to do this in a piece meal manner.

Any help is appreciated.

Michael
 
Hi Michael,

You'll need to do this in Javascript:

parent.frames['leftNav'].location.href='NewPage.aspx';

That should load your aspx page for you. Good luck! Ken.
 
Ken,
Thanks for responding. Acutally the page that is in the content
frame is the .aspx. The frameset and the left nav is all ASP. So I
am not sure that the js that you posted will work. I don't think that
my original post was very clear. I am pretty much hosting ASP.NET
pages in an ASP frameset, and when a user completes some action on the
..aspx page, I want to be able to refresh the left nav part of the ASP
frameset.

Hopefully this is a little more clear about the problem that I am
having. I am also hopeful you have a good example for this
situation.. :)

Michael

Ken Dopierala Jr. said:
Hi Michael,

You'll need to do this in Javascript:

parent.frames['leftNav'].location.href='NewPage.aspx';

That should load your aspx page for you. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

Cleave said:
Hello,
I have a ASP application that I can't afford to convert totally
over to ASP.NET, but currently I am converting the content pages that
display in the content part of the ASP frameset. When a user performs
some action the left nav frame should update (in ASP world), but with
ASP.net, I need to be able to refresh that frame. How is this
possible? I know it sounds like I want the best of both worlds, but I
really need to do this in a piece meal manner.

Any help is appreciated.

Michael
 
Hi,

It really shouldn't matter. Once in the browser everything is HTML and
javascript. Use the code in any frame you want and it will load the other
page. Doesn't matter if one is ASP the other is ASP.Net or JSP or PHP or
anything. The code should work fine. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

Cleave said:
Ken,
Thanks for responding. Acutally the page that is in the content
frame is the .aspx. The frameset and the left nav is all ASP. So I
am not sure that the js that you posted will work. I don't think that
my original post was very clear. I am pretty much hosting ASP.NET
pages in an ASP frameset, and when a user completes some action on the
.aspx page, I want to be able to refresh the left nav part of the ASP
frameset.

Hopefully this is a little more clear about the problem that I am
having. I am also hopeful you have a good example for this
situation.. :)

Michael

"Ken Dopierala Jr." <[email protected]> wrote in message
Hi Michael,

You'll need to do this in Javascript:

parent.frames['leftNav'].location.href='NewPage.aspx';

That should load your aspx page for you. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

Cleave said:
Hello,
I have a ASP application that I can't afford to convert totally
over to ASP.NET, but currently I am converting the content pages that
display in the content part of the ASP frameset. When a user performs
some action the left nav frame should update (in ASP world), but with
ASP.net, I need to be able to refresh that frame. How is this
possible? I know it sounds like I want the best of both worlds, but I
really need to do this in a piece meal manner.

Any help is appreciated.

Michael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top