Author: arviman | Posted on: 6/24/2010 8:36:25 PM | Views : 268

Hi i've got a user control that resides at the bottom of a page. The user control has a repeater and some paging that I built. Everything works well with the custom paging, but when the user clicks a page, the screen goes back to the TOP of the page after postback while my user control resides at the bottom. It's quite annoying for the user to scroll down everytime he pages the control. Is there anyway I can move the focus onto the control after postback?
This functionality is somewhat similar to the HTML anchor internal <a href = "www.page.com/#section"> where you point to a section in a page, but i want it with the paging. Here's a structure of my user control:

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="blah.ascx.cs" Inherits="blahblah.blah" %>
<asp:Repeater .... </asp:Repeater> <!--Paging region. <table> ...

Go to the complete details ...