Note that there are some explanatory texts on larger screens.

plurals
  1. POUpdatePanel does not fire on first click of link button
    primarykey
    data
    text
    <p>I have an update panel on an .aspx page. Within this aspx page I have a few ascx controls. One of the controls has my link button. When that button is pressed I'd expect to get the results I intend to get, but I expect to not see a page flicker or see the page postback. It does both. After I change some search information and click the link button again the page does an async postback (which is what I expected on the first click). After running this sequence through fiddler I see that the first time I click the button I am missing some information that is included in all subsequent requests. </p> <p>ctl00$ScriptManager1=ctl00$cplContents$updatePanelOrderSearch|ctl00$cplContents$ucOrderSearchControl$btnRange&amp;<strong>EVENTTARGET=ctl00%24cplContents%24ucOrderSearchControl%24btnRange&amp;</strong>.....</p> <p>Above is what I get on clicks 2, 3, etc.. This is not in the request when I click on the link button the very first time. Im wondering if this is why I am get a full, non async postback the first time. </p> <p>Any help would be appreciated. My update panel code is below.</p> <pre><code>&lt;asp:UpdatePanel ID="updatePanelOrderSearch" runat="server" UpdateMode="Always" ChildrenAsTriggers="true"&gt; &lt;ContentTemplate&gt; &lt;uc:control1 "this control has the link button" /&gt; &lt;hr /&gt; &lt;div id="SearchResults"&gt; &lt;div id="SearchResultsMessage"&gt; &lt;asp:Literal ID="lblMessage" Text="No orders found" Visible="false" runat="server" /&gt; &lt;/div&gt; &lt;uc:contorl 2 /&gt; &lt;/div&gt; &lt;uc: control3 /&gt; &lt;/ContentTemplate&gt; &lt;/asp:UpdatePanel&gt; </code></pre> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    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.
    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