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


Ajax tabcontainer and Linkbutton question

Posted on 2010-09-21
Medium Priority
Last Modified: 2012-06-21
Id like to refresh to same page when it reads the the page load.. when the linkbutton is clicked.
Currently it autopostback to teh default tab of teh tabcontainer.

<td align=left width="2%">
                                        <asp:LinkButton ID="btnUpdate" ToolTip="Update this entry"   Visible="true" Style="font: caption;
                                            font-weight: normal;" Font-Underline="true" CommandName="Update" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "CounterID") %>'

I may need a javascipt function thanks
Question by:zachvaldez
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
LVL 26

Accepted Solution

Alan Warren earned 1000 total points
ID: 33749079
Hi zachvaldez,

You can set the ActiveTabIndex on the linkbutton click event.

    Protected Sub btnUpdate_Click(ByVal sender As Object, ByVal e As System.EventArgs)
        Me.YourTabContainerID.ActiveTabIndex = 2 ' Setsfocus to the third TabPanel
    End Sub



Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API ( has made its way into the popular lexicon of the English language.  A few years ago, …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

670 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