I have one form, it includes 3 text boxes and 2 link button as Edit and delete. these controls are Operated (enabling & disabling)by a Button. On loading the delete button enable property set to false. but when i click on the delete button it shows the delete confirm box. what i do for avoiding this Magic ?
Share
Has you can see at this page, Enable = False is what you want talking about ASP.NET
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.button_members.aspx
Your problem is that you have onClientClick code to show confirm box, and this is Javascript, so is client Code….
use this…