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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:11:26+00:00 2026-06-10T20:11:26+00:00

I want to disable one listItem from RadioButtonList depend on condition like if querystring

  • 0

I want to disable one listItem from RadioButtonList depend on condition like if querystring contain true then it will display both the ListItem or else it disabled 2nd listItem ie(External). So user can’t access 2nd list item

I have url like

abc.com/Account.aspx?type=true

abc.com/Account.aspx?type=false

Code On page Account.aspx

  <asp:RadioButtonList ID="rdodomiantype" runat="server" RepeatDirection="Horizontal" onclick="setTextbox()">
            <asp:ListItem Selected="True" Value="0" >Default</asp:ListItem>
            <asp:ListItem Value="1" >External</asp:ListItem>
    </asp:RadioButtonList>
  • 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-10T20:11:28+00:00Added an answer on June 10, 2026 at 8:11 pm

    Here how i solved with the help of HariHaran

     protected void Page_Load(object sender, EventArgs e)
     {
       string planType=Request.QueryString["type"];
       if (planType == "False")
        {
          rdodomiantype.Items.Remove(rdodomiantype.Items.FindByValue("1"));
        }
     }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to disable the scroll in one of my pages. I don't want
I am using a wordpress theme with two sidebars. I want to disable one
in one page function i want disable js script. How make that? I try
I want to disable some specific feature that one my plugins does to the
I want to display a Zend Form with one of the elements shown as
I want to disable the second click option of JSplitpane 's one touch expandable
I want to disable all unchecked checkboxes of a class when one of the
I want to disable one specific row in datagrid in following manner: 1) Highlight
I have two applications. I want to disable one according a field stored in
I want to disable a set of checkbox based on selection of one textbox

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.