Note that there are some explanatory texts on larger screens.

plurals
  1. POMy asp.net page cause scroll up.. only in case of Firefox
    primarykey
    data
    text
    <p>In my ASP.net page, which does have scroll bar, I have placed a customized control in which I have used a HTML check box (it's like hierarchical structure). </p> <p>When I scroll down the page (to reach to that control) and then I select any item from that check box, the page scrolls up to the top of the page, without causing post back. </p> <p>How can I stop the scrolling issue from happening?</p> <p>Note: It only happens with Firefox, it doesn't happens on other browsers i.e IE 8/9 &amp; Chrome.</p> <p>This is my customized control, which I have used in My another asp.net page,is when i check any of the bellow items. it causes scroll up of page.</p> <pre><code>&lt;asp:Panel ID="TreeViewPanel" runat="server" style="border: 1px solid #CCC; width: 210px; padding:5px 0;"&gt; &lt;ul id="tree"&gt; &lt;li&gt; &lt;label&gt; &lt;input type="checkbox" value="treeHdrCheck1" runat="server"/&gt;Win Exe &lt;/label&gt; &lt;ul&gt; &lt;li&gt; &lt;label&gt; &lt;input type="checkbox" value="1" runat="server"/&gt;.EXE&lt;/label&gt;&lt;/li&gt; &lt;li&gt; &lt;label&gt; &lt;input type="checkbox" value="2" runat="server"/&gt;.DLL&lt;/label&gt;&lt;/li&gt; &lt;li&gt; &lt;label&gt; &lt;input type="checkbox" value="3" runat="server"/&gt;.OCX&lt;/label&gt;&lt;/li&gt; &lt;li&gt; &lt;label&gt; &lt;input type="checkbox" value="4" runat="server"/&gt;.SYS&lt;/label&gt;&lt;/li&gt; &lt;li&gt; &lt;label&gt; &lt;input type="checkbox" value="5" runat="server"/&gt;.SCR&lt;/label&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; </code></pre> <p></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload