Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
500
Where can I find a list of Javascript properties for teh webdropdown?
posted

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.

Parents
  • 29417
    Verified Answer
    Offline posted

    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://ko.infragistics.com/support

     

Reply Children
No Data