Can the latest webimagebutton have the capability to be disabled after the button is clicked?
Hello tnguyen13,
Thank you for contacting Infragistics. To enable or disable the WebImageButton click you can set the Enabled property.
http://help.infragistics.com/NetAdvantage/ASPNET/2012.2/CLR4.0/?page=Infragistics4.WebUI.WebDataInput.v12.2~Infragistics.WebUI.WebDataInput.WebImageButton_members.html
On the client side you can use the setEnabled method:
http://help.infragistics.com/NetAdvantage/ASPNET/2012.2/CLR4.0/?page=WebImageButton_Object_CSOM.html
Please let me know if you have any questions concerning this matter.
Hi,
I like to disable it after I click the button to prevent the user from clicking it again. Right now, I have to use a javascript to disable it. I am just wondering if that capability is already in the latest webimagebutton control.
Thank you,
Trent
Hello Trent,
Thank you for the update. The way to disable the WebImageButton on click would be to handle the client side or server side click event and then disable it though the Enable property or setEnable method in JavaScript. There is no property or setting to disable the button automatically on click.
I am following up to see if the information provided has resolved this matter. Please let me know if you have any further questions concerning this matter.
After some research, disabling the WebImageButton on click has been determined to be a new feature request. Your reference number for this feature request is PI12120100.
Thank you for your request.
I'm already using Javascript to disable the button on the clientside. I thought the latest image button control would include that feature so I don't have to write the javascript.