claudermilk
Technical User
I have a fairly complex page that is working except for one annoying issue. The section of code in question is shown below. I am dynamically filling the "Place holder" space with a table of values, some of which are links. This list sometimes is longer than the browser window, so I am calculating the available space and restricting the holding DIV to the available height. That all works fine. The issue is when the generated table of values in DIV pararesults is scrolled down; when that is done, the browser doesn't receive a click event & jumps the DIV back to the top. I need to find a way to stop that behavior and instead get the browser to recognize the clicked-on link.
The basic page structure for this section is:
The basic page structure for this section is:
Code:
<div id="ParametricSearch" runat=server visible="false">
<div id="pstoprow">
<asp:Button ID="btnParaClose" runat="server" Text=" X " />
</div>
<div id="pssearchrow">
Component Type:
<asp:DropDownList ID="ddlParaComponentSearch" runat="server" AutoPostBack="True">
--list items---
</asp:DropDownList>
<div id="ParaParameters" runat=server visible="false">
<fieldset >
<legend>Parameters</legend>
<asp:PlaceHolder ID="ParaPlaceHolder" runat="server"></asp:PlaceHolder>
<asp:Button ID="btnRunParaSearch" runat="server" Text="Search" />
</fieldset>
</div>
</div>
<div id="resultsrow">
<div id="pararesults" runat=server onfocus="setResultHeight('ParametricSearch','pstoprow','pssearchrow','pararesults')" style="overflow: auto; height: auto; width: 470px;">
Place holder
</div>
</div>
</div> <!--ParametricSearch-->