We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Second time only, dropdown not rendering properly

Thread ID:





25930 Mar 9,2005 10:43 PM UTC Jun 6,2005 07:22 PM UTC WinForms 3
Tags: GridControl
Asked On March 9, 2005 10:43 PM UTC

Hi. Something strange started happening in my app after I upgraded from to My app opens up, it fills its GridControl, and then tells it to CurrentCell.MoveTo the lower-left corner, which contains a MonthCalendar cell. So far, so good. Then, when I use the keyboard to move up by one cell (to another MonthCalendar), or to the right (to a custom drop-down cell), this new cell doesn''t render properly. If I move to the MonthCalendar, it has no drop-down button, and it doesn''t react to the keyboard properly. If I instead move to the custom drop-down cell, it doesn''t draw its button nor its text contents. All this happens only when the cell is the SECOND one being shown - that is, after the first manual move. After that, everything works properly. I''ve tried all sorts of things to make it stop doing this. Some workarounds (I''ll spare you the details) make it misbehave on the first cell, rather than the second. This is no better. In one of my attempted workarounds, I''ve called CurrentCell.ShowDropDown(), which hasn''t fixed anything, but perhaps provides a clue. In this "misbehaving" state, I can click all I want on dates in the calendar, but the control doesn''t accept them, and the calendar doesn''t auto-close after the click. Hmm. I''ve settled on an eccentric workaround (MoveTo a nearby cell, Application.DoEvents, MoveTo the intended cell) that makes it render properly for the first, second and all subsequent cells. Whew! However, the bad behavior still leaks through if I Alt+Tab to another app while the grid loads - in which case both the first and second cells misbehave in the usual way. At least one customer has noticed this, and I do all the time. So I''m wondering... Have you heard any reports of behavior like this, and if so, what was the resolution or workaround? I can live with that workaround if I need to... Thanks, Tom

Administrator [Syncfusion]
Replied On March 10, 2005 12:39 AM UTC

When I use, adn set up a grid as you described with MonthCalendar cells, on the initial display, I do not see the currentcell frame as I should. But I do not see any of the other problems you describe. I then try the same sample using our soon-to-be-released code base build, the currentcell frame that was missing with 3010 appears as it should. So, maybe the problem you see will be handled in this next release.

Replied On March 10, 2005 05:37 PM UTC

That''s good, then. I can wait for the next release. Thanks, Tom

Replied On June 6, 2005 07:22 PM UTC

I see you''ve fixed this in Thank you! Tom


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon