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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T09:47:34+00:00 2026-06-07T09:47:34+00:00

i have a link button to remove the selected value in the user control.

  • 0

i have a link button to remove the selected value in the user control. If we are adding value to the control means i have to make this link button visible. so i am passing the client id of the link button to the user control and saving that id in a hidden control in the User control. and one i select the value in the user control im making the link button visible.

Problem:

If the link button visibility false means unable to access the control.

var removeUser = document.getElementById(elementRemoveUser.value); returns null. if the control is visible means it is working fine.

 var elementRemoveUser = document.getElementById("<%=hdnRemoveUser.ClientID %>");
        if (elementRemoveUser.value != '') {
            var removeUser = document.getElementById(elementRemoveUser.value);
            if (removeUser != null) {
                removeUser.style.visibility = "visible";
            }
        }
  • 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-07T09:47:37+00:00Added an answer on June 7, 2026 at 9:47 am

    You should use style="display:none; property instead of making the control invisible by Visible = False

    Using display:none hides the element, but the HTML element is still there in the source so you will have access to the control. But, Visible = False removes the HTML element altogether.

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

Sidebar

Related Questions

I have this code in the end of link button click: Response.ContentType = application/zip;
i have created Array of Linkbutton and when user click on link button it
i am adding more than one link button during runtime but they all have
Suppose, I want to have a link or a button that when user click
I have noticed when user clicks on a link with, say middle button, or
I have a Submit button to remove a user: <form class=spform action=<?=$_SERVER['PHP_SELF']?> method=post name=userdetails
I have a link button inside UpdatePanel in a div popup. On Button_Click, I
I use yui datatable in my asp.net application... I have a link button in
I have a link that I want to look like a button so I
I have template in which a button is created with a link using css,

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.