My page contains datalist that renders small thumbnails of 90 x 70. When i click on thumbnail a large copy of thumbnail in an image control above the datalist is displayed.The problem is page goes to top of its scroll position.I have to scorll down to get to thumbnail.How can i maintain scrolling position of my page?
<asp:Image ID="imgCarPhoto" runat="server" Height="300px" Width="385px" /> <asp:DataList ID="dlstCarPhotos" runat="server" RepeatDirection="Horizontal" RepeatColumns="4">
<ItemTemplate>
<a href="#" runat="server" id="lnkPreviewImage">
<asp:Image ID="imgCar" runat="server" ImageUrl='<%#Eval("PictureID","UserControls/imageByPID.ashx?pid={0}")%>'
Width="90" Height="70" AlternateText="" />
</a>
</ItemTemplate>
</asp:DataList>