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
530
Changing dropdown data on click and blur
posted

Hi

 We have different dropdonw on our screens. Right now we are displaying code-description as label i.e. for each record we are including code and label both in the dropdown. Some of the description are long.....

 What we want to do is display code only initially and when user clicks the dropdown change the datasource to one that has code - description as label. When user makes a selection or releases the dropdown and the droped list disappears change the datasource to the initial collection that has only code displayed.

 I am not able to find any tag attributes to do that. The tag also doesn't recognize the onclick or onblur attributes.

 Is there a way to capture these events or achieve the above said functionality?

Thanks