Note that there are some explanatory texts on larger screens.

plurals
  1. POcall script or function in update panel after every refresh click inside it
    primarykey
    data
    text
    <p>my header portion is</p> <pre><code>&lt;head&gt; &lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&gt; &lt;title&gt;SimpleAdmin&lt;/title&gt; &lt;script type="text/javascript" src="js/jquery-1.7.2.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; $(function () { $(".box .h_title").not(this).next("ul").hide("normal"); $(".box .h_title").not(this).next("#home").show("normal"); $(".box").children(".h_title").click(function () {$(this).next("ul").slideToggle(); }); }); &lt;/script&gt; &lt;/head&gt; </code></pre> <p>And my body portion</p> <pre><code>&lt;body&gt; &lt;form id="form" runat="server"&gt; &lt;asp:ScriptManager ID="ScriptManager1" runat="server"&gt; &lt;/asp:ScriptManager&gt; &lt;asp:UpdatePanel ID="UpdatePanel1" runat="server"&gt; &lt;ContentTemplate&gt; &lt;asp:DataList ID="dtlheader" runat="server" Width="189px"&gt; &lt;ItemTemplate&gt; &lt;table cellpadding="0" cellspacing="0" width="100%" onmouseover="this.style.background='#683372'" onmouseout="this.style.background='#3e3d3b'" style="background-color: #3e3d3b;"&gt; &lt;tr&gt; &lt;td&gt; &lt;div class="box"&gt; &lt;div class="h_title" style="color: #FFFFFF"&gt;&lt;%# Eval("header") %&gt;&lt;/div&gt; &lt;ul&gt; &lt;asp:DataList ID="dtlsubtitle" runat="server"&gt; &lt;ItemTemplate&gt; &lt;table cellpadding="0" cellspacing="0" width="100%" onmouseover="this.style.background='#ececec'" onmouseout="this.style.background='#ececec'" style="background-color: #ececec;"&gt;&lt;tr&gt;&lt;td&gt; &lt;asp:LinkButton ID="lnk" runat="server" onclick="lnk_Click"&gt;&lt;%# Eval("subtitle") %&gt;&lt;/asp:LinkButton&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt; &lt;/ItemTemplate&gt; &lt;/asp:DataList&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/ItemTemplate&gt; &lt;/asp:DataList&gt; &lt;/ContentTemplate&gt; &lt;/asp:UpdatePanel&gt; &lt;/form&gt; &lt;/body&gt; </code></pre> <p>this is a script of <strong>switchmenu</strong> On page 1st load it is working good but on doing linkbutton clicking which is inside, than after script does not get work again. </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.
 

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