Is there a list of the available properties that can be accessed throught javascipt for the webdropdown? I am speciffically talking about what is available in the section of scipt marked with ????? below. It seems that not all the properties come up in IntelliSense.
(document.getElementById("<%=wddEmpDept.clientID%>").?????
Thank you.
Hello longpond ,
Thank you for posting in our forum.
Generally it would be better to get the web drop down with:
$find(“WebDropDown1”)
This will return directly the instance of the WebDropDown object.
If you want to use document.getElementById(“”) you’ll have to get from the element the object(control):
var ddElement = document.getElementById("<%= WebDropDown1.ClientID%>");
var ddInstance = ddElement.control;
IntelliSense won’t be able to get all the methods and properties the instance has. You can find a list of the public methods here:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebDropDown~Infragistics.Web.UI.WebDropDown_members.html
Another option is to debug and inspect the drop down instance for the complete list of methods and properties.
Let me know if you have any further questions.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://es.infragistics.com/support
Maya
I have a WebDropDown on a form that I am trying to reference the currentValue in the DropDown from a SelectionChanged clinet event but I am unable to get a reference. I tried $find("lstInstructors") but it returns null. Auy suggestions?
Here is my WebDropDown tag
<ig:WebDropDown ID="lstInstructors" runat="server" Width="100%" EnableAnimations="false" NullText="No instructors selected" EnableMultipleSelection="true" EnableClosingDropDownOnSelect="false" MultiSelectValueDelimiter=";" DropDownContainerWidth="300" MultipleSelectionType="CheckBox" EmptyFilterBehavior="EmptyItemsList" EnableAutoFiltering="Off" EnableCustomValues="False" ToolTip="Instructors" EnableCustomValueSelection="False"></ig:WebDropDown>
I am using 12.1 also.
thank you,
Tyson