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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:24:14+00:00 2026-06-11T23:24:14+00:00

I have some checkboxes and a dropdownlist when the value changes I want to

  • 0

I have some checkboxes and a dropdownlist when the value changes I want to refresh the page while passing the new value. I tried using autopostback; however, the value is already in the url previously so when the postback occurs the value never changes.

Example:

CurrentPage: page.aspx?tab=Home&checkbox=True

Then I uncheck the checkbox so I want it to go to the following page…

IntendedPage: page.aspx?tab=Home&checkbox=False

But instead I the autopostback gives me this page…

DestinationPage: page.aspx?tab=Home&checkbox=True

Because, I handle the building of the url through a function on my page. Perhaps I’m doing something wrong by this point. If so I’d be happy to be corrected on my current setup. What I think I need to know though is how to load a custom URL on the checkbox.checkchanged event. I hope this made sense, if not let me know I’ll try and clarify it. 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-06-11T23:24:16+00:00Added an answer on June 11, 2026 at 11:24 pm

    This is very easy to do through javascript. First add onclick="checkCheckBox(this);" to your checkbox.

    <script language = "javascript" type="text/javascript"> 
    function checkCheckBox(checkbox) {
            if (checkbox.checked) {
                window.location.href = '../page.aspx?tab=Home&checkbox=True';
            }
            else {
                window.location.href = '../page.aspx?tab=Home&checkbox=False';
            }
        }
    </script>
    

    This should do it pretty easily.

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

Sidebar

Related Questions

I have some checkboxes on a page. I get them using FindControl() in an
I have some checkboxes like this: <input type=checkbox name=regions[] value=north-east />North East<br /> <input
I have a page with some checkboxes and a submit button. I use AJAX
i have a form with some checkboxes on it i want to save those
I am working on zend. I have a form with some checkboxes. I want
I have a report (.rdlc file). I want it to have some live checkboxes
I have some checkboxes in a button set and I want to use Jquery
I have some html checkboxes on a page and I need to verify that
I have a page which contains the generated content. Page.aspx: <asp:DropDownList ID=cmbUsers runat=server AutoPostBack=True
I have some checkboxes grouped using the attribute rel . When anyone is unchecked,

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.