Well, I have to eat a little crow here. But just a little. Looking at the non-IE specific example you linked, I realized it maintained the previous scroll position a little differently -- really kind of slick actually. Which didn't really matter functionally, except it made me think to try putting the script inside the UpdatePanel's ContentTemplate -- which works!
I guess I made a bad assumption thinking that PageManager registered events would fire on an AJAX postback regardless of whether or not the script was in the update panel. Or maybe there's something else I'm missing here. Either way, it works, so thanks for making me think more about it. ∞ Andy Badera ∞ +1 518-641-1280 ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me: http://www.google.com/search?q=andrew%20badera On Thu, Sep 10, 2009 at 8:46 AM, Raghupathi Kamuni <[email protected]> wrote: > The second link has a demo link, I clicked that it is working on that demo > page......sorry I have'nt tried personally...... > > On Thu, Sep 10, 2009 at 5:42 PM, Andrew Badera <[email protected]> wrote: >> >> Have you used them? Is either working for you? I've already tried >> that. Like I said buddy, I can Google too! I appreciate your effort, >> but please consider what I noted in my original email. >> >> If you HAVE used them and DO have it working, I'd love some debug >> help. Otherwise, thanks, but those links provide me nothing new. >> >> ∞ Andy Badera >> ∞ +1 518-641-1280 >> ∞ This email is: [ ] bloggable [x] ask first [ ] private >> ∞ Google me: http://www.google.com/search?q=andrew%20badera >> >> >> >> On Thu, Sep 10, 2009 at 8:06 AM, Raghupathi Kamuni >> <[email protected]> wrote: >> > Try these links >> > >> > ASP.NET AJAX Maintain Scroll Position from a Partial Page Update >> > >> > http://www.eggheadcafe.com/tutorials/aspnet/7dd57635-0587-42ba-ae73-f52449e653bf/aspnet-ajax-maintain-scr.aspx >> > >> > Maintain Scroll Position in any Page Element - (No AJAX here) >> > http://authors.aspalliance.com/JimRoss/Articles/MaintainScrollPos.aspx >> > >> > >> > On Thu, Sep 10, 2009 at 2:30 PM, Andrew Badera <[email protected]> wrote: >> >> >> >> Hi all, >> >> >> >> I have a few AJAX gridviews on ASP.NET 3.5 pages. The client wanted >> >> more feedback when checkboxes are clicked, so I'm semi-forced to >> >> update the updatepanel around the grid to show the new result. (I may >> >> go nuts with jQuery on the clientside ... but I'd prefer to avoid it >> >> and stick with row styling OnRowDatabound. Next project though I >> >> intend to use jQuery and/or ExtJS grids in place of these clunky old >> >> .NET grids!) >> >> >> >> Unfortunately some of these grids are in scrolling divs, so after an >> >> AJAX postback and panel update, the grids scroll back to the top. I >> >> can't seem to make scrollTop or scrollTo work for me on a div element. >> >> >> >> Anyone have any tips or tricks here -- that they are using currently >> >> and they know works for sure? I've googled the heck out of this, I've >> >> used basic JS, I've used relatively simple jQuery stuff ... all to no >> >> avail. >> >> >> >> Also, random question along these lines ... anyone else using jQuery? >> >> I can get show("fast") or hide("slow") etc. to work on some popup >> >> feedback divs, but fadeIn and fadeOut just flick on or off, no fade, >> >> no matter what params I pass. Target browsers are Chrome, Firefox, >> >> IE6/7/8, Safari 3/4. >> >> >> >> Thanks in advance- >> >> ∞ Andy Badera >> >> ∞ +1 518-641-1280 >> >> ∞ This email is: [ ] bloggable [x] ask first [ ] private >> >> ∞ Google me: http://www.google.com/search?q=andrew%20badera >> > >> > > >
