On a page there is WebNumericEdit control.
On client side I'm trying:
var numeditQuantity = document.getElementById(
numeditQuantity.disabled = true;
OR
numeditQuantity.focus();
but this control does not become disabled and does not get focus...
Why?
Why on defualt ASP.NET control it does work? Why on IG control it does not work?
You need to use the client-side object model (CSOM) of our controls to get at their specific client-side functionailty. Using document.getElementById() gives you a reference to the HTML DOM element by that name, which isn't the same as getting a reference to the JavaScript objects we create.
I provide an example of how to set focus and enabled-state to a WebTextEdit control in the following thread:http://forums.infragistics.com/forums/p/18337/67141.aspx#67141
The same processes work for a WebNumericEdit control.