Note that there are some explanatory texts on larger screens.

plurals
  1. POListBox selection change does postback even though AutoPostBack is set to false for the ListBox
    text
    copied!<p>The problem is described in the title. It does postbacking also when I specifically set AutoPostBack property of the ListBox to false, though it should be like that by default. ListBox selection mode is set to multiple.</p> <p>There is a similar <a href="https://stackoverflow.com/questions/4066977/firing-selectedindexchanged-event-but-the-listboxs-autopostback-property-is-f">question</a> but with a different background.</p> <p>What am I missing? Is this some well known issue?</p> <p>Thank you for replying, please tell if you need the exact code</p> <p>EDIT:</p> <p>Here's the aspx page. Codebehind is much larger, since this page is the target of redirection, please tell if you need additional info from there.</p> <pre><code> &lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="ReportsPreviewViewAddParams.aspx.cs" Inherits="Admin_ReportsPreviewViewAddParams" %&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head runat="server"&gt; &lt;/head&gt; &lt;body&gt; &lt;form runat="server"&gt; &lt;asp:HiddenField ID="SqlSelect" runat="server" /&gt; &lt;asp:HiddenField ID="SqlColumnSize" runat="server" /&gt; &lt;asp:HiddenField ID="SqlGroup" runat="server" /&gt; &lt;asp:HiddenField ID="SqlOrder" runat="server" /&gt; &lt;asp:HiddenField ID="PageSize" runat="server" /&gt; &lt;asp:HiddenField ID="SumColumns" runat="server" /&gt; &lt;asp:Repeater ID="RepeaterInput" runat="server" OnItemDataBound="OnRepeaterItemDataBound" &gt; &lt;HeaderTemplate&gt; &lt;table&gt; &lt;tr&gt;&lt;th&gt; &lt;asp:Label ID="LabelHeader" runat="server" Text='&lt;%# Webcom.Configurator.Core.MLPersistentManager.GetKeyValue("Admin.Reports.EnterParams") %&gt;' /&gt; &lt;/th&gt;&lt;/tr&gt; &lt;/HeaderTemplate&gt; &lt;ItemTemplate&gt; &lt;tr&gt; &lt;td&gt; &lt;asp:TextBox ID="TextBoxValueOne" runat="server" AutoPostBack="false" /&gt; &lt;asp:ListBox ID="ListBoxControlOne" runat="server" AutoPostBack="false" /&gt; &lt;/td&gt; &lt;td&gt;&lt;asp:Label ID="LabelOperatorOne" runat="server" /&gt;&lt;/td&gt; &lt;td&gt;&lt;asp:Label ID="LabelColumnName" runat="server" /&gt;&lt;/td&gt; &lt;td&gt;&lt;asp:Label ID="LabelOperatorTwo" runat="server" /&gt;&lt;/td&gt; &lt;td&gt; &lt;asp:TextBox ID="TextBoxValueTwo" runat="server" AutoPostBack="false" /&gt; &lt;asp:ListBox ID="ListBoxControlTwo" runat="server" AutoPostBack="false" /&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/ItemTemplate&gt; &lt;FooterTemplate&gt; &lt;/table&gt; &lt;/FooterTemplate&gt; &lt;/asp:Repeater&gt; &lt;asp:Button ID="buttonSubmit" runat="server" Visible="true" OnClick="OnSubmit" /&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
 

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