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
60
Hiding UltraCombo dropdown button in no associated records
posted

I have an UltraCombo control in a form and the control is bound to a dataset.  If the dataset has no records, the dropdown button on the control is displayed.  When you click the button you get an empty row.

How can I suppress the dropdown button if the associated dataset does NOT contain any rows?

Jim

  • 1803
    Verified Answer
    posted

    hi ,

    Use the beforedropdown event of the ultracombo and checl for valuelist items count ,if it is 0 then 

    cancel the event ,thus it prevents from dropping down the list