SmartScroller Demo

This demo contains two Button Web controls that you must scroll down a ways to find. Once you have scrolled down, click the Button. This will cause a postback, and you should find that the browser, upon postback, remains at the scrolled position, rather than reverting back up to the top of the page.
















































































































































































































Source Code
<form runat = "server">
	<h1>SmartScroller Demo</h1>
	This demo contains two Button Web controls that you must scroll down a ways to find.  Once you have
	scrolled down, click the Button.  This will cause a postback, and you should find that the browser, upon postback,
	remains at the scrolled position, rather than reverting back up to the top of the page.
			
	<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
	<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
	<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
	<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
			
	<asp:Button Text = "Click Me" runat = "server" />
			
	<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
	<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
	<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
	<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
			
	<asp:Button Text = "Click Me" runat = "server" />
			
	<sstchur:SmartScroller runat = "server" />
</form>
			


[Return to the article...]