Hi,
I've a webimagebutton and webdatagrid in a page. On the page-load, I've disabled the button.When I'm changing the cell value of the grid, I would like to enable the web-image button.
In the CellEditingClientEventsExitedEditMode, I'm trying to access the button but I couldn't get the button. Below is the code.
var btn = $find('<%=btnSave.ClientID%>');
Any help would be appreciate.
Thanks and Regards,
Sam
Hello Sam,
Thank you for your question !
Due to the WebImageButton not being part of the AIKIDO framework, it's clientside object is accessed through a getter function - ig_getWebControlById, so in this case it could be accessed by something similar to:
ig_getWebControlById("<%= WebImageButton1.ClientID %>")
http://help.infragistics.com/Doc/ASPNET/2011.1/CLR4.0/?page=WebImageButton_Object_CSOM.html
Hope this helps. Please feel free to contact me if you have any questions.
Please feel free to contact me if you have any further questions regarding this matter.