Note that there are some explanatory texts on larger screens.

plurals
  1. POasynchronous callback in a Jquery tab
    primarykey
    data
    text
    <p>at the moment im working alone at a big project for a company. One part is the CMS, and i want to use tabs for it. </p> <p>Here i create the JQuery tabs</p> <pre><code> $tabs = $('#tabs').tabs({cookie:{}, closable: true }); }); function addnewtab(name,link) { $tabs .tabs("add", link, name, tabcounter); $tabs.tabs("select", tabcounter); tabcounter++; } </code></pre> <p>Here i open a new tab, and load the file Products.aspx.</p> <pre><code>onclick="addnewtab('Products','Products.aspx')" </code></pre> <p>And here is the Products.aspx with the task to search for products and schow them in the gridview. I cuted the content of the Gridview for overview purposes.</p> <p>Everything works fine, but the problem is that the hole cms site is refreshed, and only the Products.aspx with the right content is opened.</p> <p>Is it possible that only the content of the tab is refreshed?</p> <pre><code>&lt;form id="form1" 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;div &gt; &lt;table class="style1"&gt; &lt;tr&gt; &lt;td&gt; &lt;asp:Label ID="Label4" runat="server" Text="Filter: " /&gt; &lt;/td&gt; &lt;td&gt; &lt;asp:Textbox ID="tb_keyword" CssClass="dp_field" runat="server"&gt; &lt;/asp:Textbox&gt; &lt;/td&gt; &lt;td&gt; &lt;asp:Button ID="btn_get" runat="server" OnClick="search" Text="Search" /&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;asp:gridview id="gvProduct" runat="server" allowpaging="True"&gt; &lt;/asp:gridview&gt; &lt;/ContentTemplate&gt; &lt;/asp:UpdatePanel&gt; &lt;/form&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    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.
 

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