Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SmartNavigation and JavaScript: Friends on page load; foes on postback

Status
Not open for further replies.

KingRichard3

Programmer
Feb 9, 2005
58
US
I have a Javascript header on an ASP.NET page. The javascript renders fine upon the initial loading of the page; however, it does not render after an event on the page causes a postback. SmartNavigation is on and I would really like to keep it that way, if at all possible.

Any ideas?

Thanks!
 
If you turn SmartNavigation off, does it work?

SN is the worst good idea MS ever had, IMHO. If you are the least bit inclined to roll your own client side solutions, then chances are, SN will muck it up.

What feature of SN do you want? I have a custom solution for resetting the scroll position of the page that I can post if you like. It's not as simple as setting a property = true, but it does work.

-p

penny.gif
penny.gif

The answer to getting answered -- faq855-2992
 
Yes, if I turn off SN, the JavaScript runs just fine... What I want from SN is to have it create a non-postback-looking postback, i.e. a postback without throwing the user back to the top of the screen.

Any help would save many motion sickness bags.

Thanks,
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top