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 8555713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:11:13+00:00 2026-06-11T15:11:13+00:00

I have asp.net button and on it’s button click I am redirecting it using

  • 0

I have asp.net button and on it’s button click I am redirecting it using

Response.Redirect ("SomeURL.aspx");

I am not passing anything to SomeURL.aspx. Can this be achieved without a roundtrip to the server?

  • 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-06-11T15:11:15+00:00Added an answer on June 11, 2026 at 3:11 pm

    You could use an html anchor tag. This is the simplest approach and probably the best since anchors are the proper control to allow navigation.

    <a href="SomeUrl.aspx">My link</a>
    

    If you still want to use the asp.net button you could do something like this

    <asp:Button runat="server" ID="myButton"
      OnClientClick="window.location.href='SomeURL.aspx'; return false;"
      Text="Submit"></asp:Button>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have ASP.Net code generating my button's HTML for me using divs to get
I have an ASP.NET form (C#) but which I click this button that should
I have a normal image for delete and an Asp.Net button. If I click
I have an asp.net button in my page, after I click the button, it
I have an asp.net page with a textbox and a button. on button click,
I have a ASP.Net button control in my page: I have JQuery click event
My situation : I have a problem with an ASP.NET button, which does not
I have an ASP.NET button in my application, which I want to open another
I have an asp.net button wrapped inside of an UpdatePanel, and when clicked it
I have a asp.net webform with a button. The OnClientClick event is wired to

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.