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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:44:08+00:00 2026-05-27T12:44:08+00:00

Possible Duplicate: Disabled button with a alert is clickable in IE8 (browser compatibility Issue

  • 0

Possible Duplicate:
Disabled button with a alert is clickable in IE8 (browser compatibility Issue in Asp.net website)

enter image description here

   <asp:LinkButton ID="lnk_DeleteUser" ToolTip="Delete User" runat="server" OnClientClick="return confirm('Are you sure you want to delete this User?')">
                                    <asp:ImageButton ID="Img_del" src="Styles/Images/icon_delete.png" OnClick="imgbtn_UserDeleteClick"
                                        runat="server" Style="border-style: none" alt="Delete User" /></asp:LinkButton>

I want to disable the link button and image button for certain condition, but I am not able to disable the link button because when debugging I found the supports disabled attribute is false. because of that in IE8 the image is disable but the link button is not disabled and I am able to get the confirm popup.

this is the source code from browser

<a onclick="return confirm(&#39;Are you sure you want to delete this User?&#39;);"  id="ctl00_MainContent_UserTable_ctl02_lnk_DeleteUser" title="Delete User"  class="aspNetDisabled"><input type="image" name="ctl00$MainContent$UserTable$ctl02 $Img_del" id="ctl00_MainContent_UserTable_ctl02_Img_del" disabled="disabled"  title="You don&#39;t have permission to delete users" class="aspNetDisabled"  src="Styles/Images/icon_delete.png" alt="Delete User" src=""  style="border-style: none" /></a>
  • 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-27T12:44:09+00:00Added an answer on May 27, 2026 at 12:44 pm

    This control does not support the disabled attribute.
    You cannot magically tell it to support this attribute.

    In particular, HTML does not have a disabled attribute for links.

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

Sidebar

Related Questions

Possible Duplicate: Disable browser's back button Is there any way to disable browser(specifically IE)
Possible Duplicate: Disable browser's back button I have a log in page <div style=border:1px
Possible Duplicate: How to make the Close button disabled in a windows Form using
Possible Duplicate: How to detect if JavaScript is disabled? I have a website which
Possible Duplicate: .NET - What’s the best way to implement a catch all exceptions
Possible Duplicate: How to detect if JavaScript is disabled? Is it possible to detect
Possible Duplicate: How to detect if JavaScript is disabled? How to find whether javascript
Possible Duplicate: How to disable browser or element scrollbar, but allow scrolling with wheel
Possible Duplicate: Remove close button on jQueryUI Dialog? I am getting some problem to
Possible Duplicate: Remove close button on jQueryUI Dialog? I'm trying to make a dialog

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.