Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Caching / August 2004

Tip: Looking for answers? Try searching our database.

blank pages & RegisterStartupScript

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ollie - 23 Aug 2004 10:05 GMT
I use javascript to open a child window from the browser (window.open.....)
this is then registered with the system using Page.RegisterStartupScript, it
display the child peffectly fine. The problem is that all the links on the
parrent (main) window now display a blank page when clicked on, they work
perfectly fine before the popup window is displayed.

Anyone got any ideas why?

Could it have anything to do with caching?

Cheers Ollie
David Jessee - 23 Aug 2004 14:25 GMT
man, that's strange.  is the page navigating to a different url or posting
back to process server events.  if so, is the browser navigating to the
pages?  Is the server script executing? (you can set a breakpoint on the
event to check this)

> I use javascript to open a child window from the browser (window.open.....)
> this is then registered with the system using Page.RegisterStartupScript, it
[quoted text clipped - 7 lines]
>
> Cheers Ollie
Ollie - 23 Aug 2004 14:27 GMT
cheers for the reply David,

When the user clicks on the a linkbutton (asp.net control) a dynamic url is
created server side and registered so that the popup window is displayed.

I solved the problem by disabling smartNavigation at the web.config level,
this solved the issue.

I have read that smart nvaigation in asp.net causes problems with
response.redirect but never thought
it would cause problems with attempts to redirect after a
Page.RegisterStartupScript had been called.

Cheers

Ollie

> man, that's strange.  is the page navigating to a different url or posting
> back to process server events.  if so, is the browser navigating to the
[quoted text clipped - 14 lines]
> >
> > Cheers Ollie

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.