Hi,
I am new to the javascript side of Infragistics. I'm struggling with a few things. Take this simple example that I found on the forum.
var dropDown = $find("WebDropDown1");
dropDown.set_enabled(false);
If I use the "find" code like above, I get a null; however, if I use this:
var dropdown = document.getElementById('<%=ddlJobClassification.ClientID %>');
I get an object back, but no real properties for determining the selected value or text as if it doesn't recognize it as a dropdown. Am I missing something in order to get the basic "find" to work?
My next question, is there a resource or help section somewhere that shows what my options are clientside? Not the events, but things like the .set_enabled options? I know there is now javascript intellisense for 10.2 and the 4.0 framework, but we are not on 4.0.
Thanks,
Tami
Hi Tami,
I have put together a sample to demonstrate how to get the current selected value of WebDropDown from client side.
Please run the sample on your machine and after selecting some value in the dropdown click on the button, it will show you the alert box with the selected value.
Please review the sample to see if this approach meets your needs.
I hope this will help you.
NehaDeveloper Support EngineerInfragisticswww.infragistics.com/support