Solved

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

Posted on 2015-02-04
1
937 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

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 …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

628 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