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

  • SEARCH
  • Home
  • 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 6950625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:06:56+00:00 2026-05-27T14:06:56+00:00

I have an asp.net web page with asp:button control. I need to show two

  • 0

I have an asp.net web page with asp:button control. I need to show two (normal) HTML buttons for the click event of the asp:button control.
My requirement is when the page load for the first time there will be only asp:button there visible. After I click on that asp:button other two HTML buttons should be visible. But they should be visible for all the other postbacks. I mean if there would be any post backs, that HTML buttons should be visible constantly. How could I do that? Please help me. I tried to implement that using jquery hide and show.

  • 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-27T14:06:57+00:00Added an answer on May 27, 2026 at 2:06 pm

    You can use <asp:Button> controls for the other two buttons, and can set Visible="false" initially, then setting Visible="true" when you need to show them. This way, the server can do everything, and retain viewstate too so you don’t have to reshow the buttons every time the page posts back.

    ASP buttons are standard buttons but can trigger the functionality you want through the OnClientClick property:

    <asp:Button .. UseSubmitBehavior="false" Text="Move up" OnClientClick="moveSlider(1);return false;" />
    <asp:Button .. UseSubmitBehavior="false" Text="Move down" OnClientClick="moveSlider(-1);return false;" />
    

    Using return false; makes sure that the button doesn’t postback, and UseSubmitbehavior="false" renders an <input type='button' /> instead.

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

Sidebar

Related Questions

I have a standard ASP.NET 2.0 web page with a Delete button on it.
I have an ASP.NET web page that displays a variety of fields that need
I have an ASP.NET web page with a Login control on it. When I
I have a asp.net web page with place holder control and Menu control when
I have user control on a ASP.NET web page, which contains a GridView and
I have web page in ASP.NET. I have created Tree View control with jQuery.
I have an asp.net web page written in C#. Using some javascript I popup
I have an asp.net web page with a ton of code that is handled
I have an ASP.NET web page(Not MVC ) (HomePage.aspx) and another page (PRiceList.aspx).I have
I have an ASP.Net web page, which uses a Master Page template. The page

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.