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
1085
Ultra drop down not showing properly
posted

Hi,

I am facing this strange issue. I have a grid which is bound to ultradatasource manager. There are two bands in the grid. The first band has two drop down columns and second band has one drop down columns. All the dropr downs are declared as ultradropdowns and are bound to the value list property of the corresponding column.The style is also set as dropdownlist. Next , the drop downs are being binded dynamically by - initially getting the list of values into an object and then using the command

this

 

.uddx.SetDataBinding(List, null); ( x stands for some functionality)

Now , the drop down in the second band works fine but in the first band , both the drop down show some unusual behaviour. It seems on click of drop down that they are opening , but in no time it closes again in other words i can meintion it has jerking where one can understand that it opens and closes on its own in milliseconds. when i debug in the beforecelllistdropdown even, i see all the values coming correctly.Please help

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    If the dropdown is dropping down and immediately closing up, there are a number of possible causes.

    One reason this might happen is that something in your code is causing it. You might want to try commenting out any code you have in any events of the grid or the DropDown controls and see if that helps.

    Of course, it could also be caused by some other code that is not inside a grid or dropdown event, such as code in a Timer_Tick event or code in the Paint event. In other words, some event that is firing at regular intervals that may be changing something in the grid.

    Another option is that you are using the controls on something other than a standard DotNet Form or control. For example, if you are using the WinForms controls in a WPF application or something. So take a look at what the grid is parented to.

    If none of that helps, then see if you can duplicate the issue in a small sample project and post it here and I will be happy to take a look at it.

    Or... put a breakpoint in the Before/AfterCloseUp event of the DropDown. Then you can look at the call stack to see what series of events is causing it to close. Or post the call stack here, if you have trouble interpreting it.

Children
No Data