So, it appears there is a bug with the WebImageButton. If we the "Enabled" property through server-side code, then when using
but the UI will not change accordingly. The text is not "greyed" out. This is using the "LucidDream" CSS, if that is at all relevant.
If a button is disabled through "server-side", then no problems. I can see the text being greyed out when setEnabled is passed a
"false" and then looking normal when passed a "true" value.
any work-around would be appreciated.
I was able to trace a issue down into an Infragistics component and am fairly sure I would be able to push a bug fix to you guys, but need to be able to confirm by somehow using the provided source code in my solution to verify my findings or not. Ran out of time to get it sorted now, but hope to get back to it this evening.
I hope to determine cause later tonight and if I can compile the Infragistics shared DLL, I will be able to verify a fix or not.
If I find a solution through a source code update, then will post again and hopefully, I can hopefully push a solution to you guys.
You guys do not make it easy to debug your libraries. You provide the source and the symbols, but one critical symbols file is missing from the ZIP, and then initially building the source code results in an error within the jQuery project due to duplicate source file entries for framework/AssemblyVersion.cs in the project file.
Even when you have a compiled library using the custom built DLL's, it is impossible to load and use them because I keep getting the following error:
Parser Error Message: The base class includes the field 'DefaultScriptManager', but its type (Infragistics.Web.UI.WebScriptManager) is not compatible with the type of control (Infragistics.Web.UI.WebScriptManager).
Obviously, this is a result of some version DLL issues because of DLL's loaded in the GAC, but how can one debug your solution files
var button = ig_getWebControlById("WebImageButton1"); button.setEnabled(false);
}</script><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head> <body> <form id="form1" runat="server"> <div> <h3>Enabled Property of a Web Control</h3> <igtxt:WebImageButton ID="WebImageButton1" runat="server" Text="Click Me" ToolTip="Image button"> <ClientSideEvents Click="Click"></ClientSideEvents> </igtxt:WebImageButton> </div> </form></body></html>
if this sample is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one.Please let me know if I can provide any further assistance.
This is my problem:
I have attached an example. This sample simulates my situation where if the initial state of the button is enabled, then if you remove text from the textbox and the length