I have a page with an events list, that show the title and the date. when I click it (is a )go to an other page with a list of events (with a repeater) but with description etc. my question is how I can the scrollbar be in the div that I clicked? I tried with Focus and Set Focus, but it doesn't work, maybe I do something wrong but i have no idea what.

<asp:PlaceHolder ID="plEvents" runat="server"> <asp:Repeater ID="rItems" runat="server" > <ItemTemplate> <asp:PlaceHolder runat="server" Visible='<%#GetVisibleFocus(((IPublishedContent)Container.DataItem))%>'> <a id="focushere"></a> </asp:PlaceHolder> <div>... cs and doesn't found the focushere

this.Page.SetFocus(focushere)

Related posts

Recent Viewed