Thea Burger's Blog

Wouldn't you like to know...

News

Photo's!!!

About me

I'm Reading: General Blogs

I'm Reading: Technical Blogs

This 'n that

The June MSDN Magazine is dedicated to ASP.NET 2.0 and you can download it here in .chm format - real cool. The file size is only 1.5 MB. The code for this issue can be downloaded here.

Cathi Gero shows how to maintain scroll position on an ASP.NET page without using SmartNavigaion - can be very useful as SmartNavigation is known to give unexpected problems.

Then you can visit this site to get a Guided tour through Visual Web Developer 2005 Express, showing off a lot of the new features. [via Sam Gentile]

Enjoy!

Comments

Justin Lovell said:

I only went to the "maintain" scroll position link because there are some people replicating my one article (don't ask about the stories :-)).

Anyway, at least this one is unique... but it has a few problems here and there. Something that my article has covered. In fact, it is just a matter of fact of dropping a server control into the page with my article. You can have a look at this over here:

http://aspalliance.com/356
# July 8, 2004 3:14 PM

Thea Burger said:

Thanks, it looks cool - will try it out. Do you know whether they looked into this issue with VS2005? Couldn't find anything now...
# July 8, 2004 4:18 PM

Eduard Penzhorn said:

Hi

thanks for the scroll position thing. I agree it would be best to put it in a user control/custom control. but it's good to be pointed in the right direction. Now i won't have to "roll my own".
# July 9, 2004 8:38 AM

Justin Lovell said:

Hi Thea,

Had a look through Whidbey and the answer is "kind-of." They have changed some aspects of the smart navigation BUT the problems still exist in (some) situations.

You just cannot escape the limitations of IE5.5+? ASP.NET will be unable to change a thing in that situation... no matter how hard you try :-).

Moral of the story: if the current system fails because of what is out of your control, then build an alternate road to the desired destination (watch one of these 4x4's companies take that line and juice it up a bit and sell it as theirs :-)).
# July 9, 2004 3:39 PM

Justin Lovell said:

Hah -- just found the equivelant of my server control in Whidbey (most of the time, I have been dwelling in C# and migrating code). All you have to do to activate it is to put the MaintainScrollPositionOnPostback into the page directive and set it to true. For example:

<%@ Page MaintainScrollPositionOnPostback="true" ... %>
# July 11, 2004 12:08 PM

Thea Burger said:

As easy as that! Thanks!! Going to try that out tonight :D
# July 12, 2004 2:23 PM

TrackBack said:

# September 18, 2004 8:29 AM