This feature is useful especially when you need to maintain the page position after browsing from other pages.
A quick win will be using anchor in the url, but the catch is if you are using controls like telerik grid ajax postback, the anchor point #XXX in your url will be subtracted and you won't be able to do what you want.
One more point is that it is good to use this function in $(document).ready(function ()) instead of pageLoad() so that it only move to your position once when page is loaded not ajax postback.
checkout this blog for more information.
Thursday, April 22, 2010
Tuesday, April 20, 2010
vss 2005 on vs 2010
Before you get your hands dirty on vs 2010, make sure you have the patch to make vss 2005 works with vs 2010, or else you have to setup TSF.
Download this patch.
Download this patch.
Thursday, April 1, 2010
label on googlemap marker
Friday, March 26, 2010
Mapping Enums to Strings and Strings to Enums in .NET
Came across this article on how to convert enums to string and vice versa in .net, which is pretty interesting to share.
Subscribe to:
Posts (Atom)