Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Bootstrap Panel Tabs reset on postback problem  Asp.Net (vb)

Posted on 2015-02-04
1
Medium Priority
?
1,010 Views
Last Modified: 2016-02-25
Hi

I have some panel tabs  which keeps defaulting back to the default Active tab on a postback.

In the example code below if I navigate to the tab   #upClaim    once I perform a postback in the gridview the page reloads and the active tab goes back to the default one which is #iqadetail

U've tried wrapping this up in an update panel but it still does not work.

Can I set the active index on the panel tabs programmatically?



<section class="panel" runat="server" id="iqadetailtoggle">
                <header class="panel-heading tab-bg-dark-navy-blue ">
                    <ul class="nav nav-tabs">
                        <li class="active">
                            <a data-toggle="tab" href="#iqadetail">IQA Detail</a>
                        </li>
                        <li class="">
                            <a data-toggle="tab" href="#spsomthing">Somthing</a>
                        </li>
                        <li class="">
                            <a data-toggle="tab" href="#gcomments">Grading & Comments</a>
                        </li>
                        <li class="">
                            <a data-toggle="tab" href="#sstrategy">Sample Strategy</a>
                        </li>

                             <li class="">
                            <a data-toggle="tab" href="#upClaim">Claim Information</a>
                        </li>

                    </ul>
                </header>
                <div class="panel-body">
                    <div class="tab-content">
                             <div id="iqadetail" class="tab-pane"></div>
                        <div id="spsomthing" class="tab-pane"></div>
                        <div id="gcomments" class="tab-pane">    </div>
                        <div id="sstrategy" class="tab-pane"></div>
<div id="upClaim" class="tab-pane">   Gridview with postback here     </div>
                    </div>
                </div>
            </section>

Open in new window

0
Comment
Question by:Ed
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
Ed earned 0 total points
ID: 40597851
The solution is to add ajax update panels in the content of the panel tabs.  The add the content.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question