我有一個頁面,其中顯示了標題和日期的事件列表。當我點擊它(是)轉到其他頁面的事件列表(與中繼器),但與描述等我的問題是我怎麼可以滾動條在我點擊的div? 我嘗試了焦點和設置焦點,但它不工作,也許我做錯了什麼,但我不知道什麼。正確的div中的滾動條
<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,不發現focushere
this.Page.SetFocus(focushere)
沒有人可以幫你沒有你的代碼。請發佈你的代碼,有人可以找出你做錯了什麼。 –