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
50
WebDropDown
posted

 

 

 

 

 

 

 

 

Hello,

I have a webDropDown box and I binded it to a text filed and a value field. I need to capture the value of the text field so that it can be used in the javascript for validating against a button.Can any body help me to capture the value of the text field.

Your response in appreciated.

<

 

ig:WebDropDown ID="wddEmployeeID" runat="server" TextField="EmployeeNumber"ValueField="EmployeeID"EnableAutoFiltering="Off"

EnableCustomValues="false"EnableCustomValueSelection="false"></ig:WebDropDown>

Parents
  • 24671
    posted

    yes you can use:

     

    dropDown.get_currentValue(); // where dropDown is the javascript object for your control that can be obtained with similar code:

    var dropDown = $find('Control_ID');

    Hope it helps,

    Angel 

Reply Children
No Data