From code-behind, I am unable to set the enabled state of the button. I can see that the property is available via the properties section in the
Visual Studio, but the methods or property are not available or not visible through Intellisense.
Paul
I am glad to hear that.
I didn't realize I actually had a "References" section, much like a C# solution, so after adding the Shared library, it worked...
This is odd, I am getting this log in the errorS:
Severity Code Description Project File LineError CS0012 The type 'WebButtonBase' is defined in an assembly that is not referenced. You must add a reference to assembly 'Infragistics45.WebUI.Shared.v15.2, Version=15.2.20152.1028, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb'. MitelMatrix C:\dev\MitelMatrix\MitelMatrix\CompatibilityView.aspx.cs 34
However, I do have that reference included in web.config.
Hello Paul,
Thank you for using our forum!
Could you please share more details about the issue because I am unable to reproduce it. Using of Enabled property should work as expected.
Useful references:
https://ko.infragistics.com/community/forums/f/ultimate-ui-for-asp-net/891/how-to-enable-or-disable-in-javascript
https://forums.asp.net/t/1132693.aspx?disabling+controls+at+runtime