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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T11:37:31+00:00 2026-05-19T11:37:31+00:00

on the search for an answer to save the day. I have an articles

  • 0

on the search for an answer to save the day.

I have an “articles” page that holds a radiobutton list and a textarea. when the user selects a radio button, the text area is populated. now the users wants to be able to point to an article via a url link. (everything is dynamic and being pulled from a db source)

by using a 3 party tool i was able to grab the exact http request (below) that will link to the users’ selection. the problem is the url is extremely long. is there another way to link to the radio button selection? that way i can just modify the query string to fit a specific format. thanks.

url to specfic radio button selection —————

http://localhost:60062/test/test_articles.aspx?__EVENTTARGET=ctl00%24MainContent%24RadioButtonList1%243&__EVENTARGUMENT=&__LASTFOCUS=&__VIEWSTATE=%2FwEPDwULLTEyMjYyNjEzNjcPZBYCZg9kFgICAw9kFgoCAQ8PZA8QFgFmFgEWAh4OUGFyYW1ldGVyVmFsdWUFFmh0dHA6Ly9sb2NhbGhvc3Q6NjAwNjIWAQIFZGQCBw9kFgICAw8PFgIeBFRleHQFATBkZAIJDzwrAA8CAA8WBB4LXyFEYXRhQm91bmRnHgtfIUl0ZW1Db3VudAIBZAoQFgAWABYAFgJmD2QWBmYPDxYCHgdWaXNpYmxlaGRkAgEPZBYCZg9kFgJmDxUBRUFzayB5b3VyIGtpZHMsICJ3aGF0IHdlcmUgdGhlIHRocmVlIGJlc3QgdGhpbmdzIHRoYXQgaGFwcGVuZWQgdG9kYXk%2FImQCAg8PFgIfBGhkZAILDw9kDxAWAWYWARYCHwBkFgECA2RkAhMPZBYIAgEPPCsADwIADxYEHwJnHwNmZAoQFgAWABYAZAIDDw9kDxAWAWYWARYCHwBlFgFmZGQCBQ8PZA8QFgFmFgEWAh8AZBYBAgNkZAIHDxAPFgIfAmdkEBUFAzQ0NAJmZgMzMzMBMwR0ZXN0FQUBOAE5AjE0AjE1AjMzFCsDBWdnZ2dnZGQYBAUUY3RsMDAkTmF2aWdhdGlvbk1lbnUPD2QFCVxBcnRpY2xlc2QFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYCBRhjdGwwMCRMb2dpblN0YXR1czEkY3RsMDEFGGN0bDAwJExvZ2luU3RhdHVzMSRjdGwwMwUSY3RsMDAkRGV0YWlsc1ZpZXcyDxQrAAdkZGRkZBYAAgFkBR5jdGwwMCRNYWluQ29udGVudCREZXRhaWxzVmlldzMPZ2Sn7TStsoTOeJn0xoyHzh41vo%2ByiD%2Ff2wmeKTuUwe9Ing%3D%3D&__EVENTVALIDATION=%2FwEWCQKVn9%2FvDwLh8vmTCALk7M7lDQKp6JekDwKm6JekDwK%2B6OenDwK%2B6OunDwK86OOnDwKxh73KAwOihkx44beFhpVDoerFt%2BLYkev3csEzPfS6PI4lPJbP&ctl00%24MainContent%24RadioButtonList1=15
  • 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-19T11:37:32+00:00Added an answer on May 19, 2026 at 11:37 am

    No need to pass the ViewState around. What you need to do is put a simple parameter in the QueryString. Make the url something like:

    http://www.mysite.com/MyPage.aspx?selected=1
    

    Then look for that parameter in the codebehind and select the button server-side.

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            int selected;
    
            if (int.TryParse(Request.QueryString["selected"], out selected))
                RadioButtonList1.SelectedIndex = selected;
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have tried to search for an answer in google, and this site, but
I've been search and I can't found an answer that works, I need to
I have search through google and found that a lot of people is struggling
I wrote a program that would add, delete, save and search through records in
I have a question that must be answer several times before, but I can't
I see no readily available Google search results that answer this question. What is
Using an old answer to search for a file in tcl: https://stackoverflow.com/a/435094/984975 First lets
As a result of the search for an answer of this question , I
First of all, I did some search and no answer on stackoverflow/google provided me
Hopefully this isn't a duplicate. I tried to search for an answer to my

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.