Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6935575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:07:16+00:00 2026-05-27T12:07:16+00:00

I have a simple web page with 5 tabs. Each tab is a LinkButton

  • 0

I have a simple web page with 5 tabs. Each tab is a LinkButton. The main body is a <div> and I place a PlaceHolder inside it. Now, I want to make a click event on the tabs, so whenever I click on one of the tabs, the PlaceHolder will be changed accordingly. So, I have two question here:

  • How can I disable the PostBack and make the LinkButton only updates the PlaceHolder (using C#)?

  • Can I load/reload the PlaceHolder with a HTML Page?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T12:07:17+00:00Added an answer on May 27, 2026 at 12:07 pm

    If you want all of this to happen without postbacks then I recommend moving away from server-side controls like LinkButton and PlaceHolder. What you’re trying to achieve is much more easily done as a client-side concern.

    Take a look at the jQuery UI tabs. Looking through the code in various demos (click on “view source” on that page to see how simple the HTML is), you can see that it’s just attached to regular HTML. Nothing server-side. By making your tab headers plain HTML elements (li/a elements in the demos) you get around the whole “postback” thing, which you don’t want anyway.

    There’s nothing really special happening on these tabs. Clicking each one just updates the CSS for the tab elements (divs in this case) to change their display property, hiding and un-hiding accordingly.

    One thing to note is how the code treats this separation of server-side and client-side functionality. From the perspective of the server-side code (the ASP.NET stuff), it’s all one page. There’s nothing dynamic or special happening. It renders the whole page like any other. The client-side code (the JavaScript/CSS/HTML stuff) is providing the user experience entirely unknown to the server-side code. As far as ASP.NET is concerned, it’s delivering a page to the browser. Nothing more.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple web page that has 3 tabs in my main content
I have a simple web page that till now didn't need any login. It
I have a page with tabs on it that you this jQuery script http://www.sohtanaka.com/web-design/simple-tabs-w-css-jquery/
I'm implementing a simple web-page, in that page, I have multiple div objects, what
I have a simple web app: a web page with a form to submit,
I have a simple jQuery code that runs on a web page that has
I have a simple web page in which the user will enter some information
I have a simple .gif image on my web page. In JavaScript I have:
I have a form on a simple web page that has a series of
I have 2 radio buttons on a simple web page and If I click

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.