I have a webmaskededit control and a dropdownlist control on my page, one of which is displayed based on the selection of another dropdownlist.
I have them both hidden on initial load with style="display:none;".
In my javascript I set the values
...
if(condition)
{
dropdownlist.style.display = '';
webmaskededit.style.display = 'none';
}
else
dropdownlist.style.display = 'none';
webmaskededit.style.display = '';
} ...
this works fine for the dropdownlist but not the webmaskededit control.
How can I show/hide the control with javascript?
HI,
Here is a help link to the WebEditors CSOM:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/WebEditors_CSOM.html
Here is a help link to the WebMaskEdit Object:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/WebMaskEdit_Object_CSOM.htmlThe WebMaskEdit control has a setVisible method - please see the link aboveIn order to get the WebMaskEdit control use the following utility Igedit_getById function:
Here is a help link to the WebEditors Utility functions:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/WebEditors_Utility_Functions_CSOM.html