Delete Button issue
        Posted  
        
            by Dilse Naaz
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Dilse Naaz
        
        
        
        Published on 2010-05-28T09:16:06Z
        Indexed on 
            2010/05/28
            9:22 UTC
        
        
        Read the original article
        Hit count: 350
        
Hi,
I am using one link button in an asp.net application for delete purpose. For the confirmation i added the property of OnClientclick="return ValidateOnDelete();". By Default it works as fine. But i have One condition is that When the user is not admin, the delete button will be disabled. My problem is that, if the user clicks on the delete button when it is in disabled mode, the confirmation message will come. How it can avoid this issue?
© Stack Overflow or respective owner