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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Populate DropDownGrid before Drawn

Thread ID:

Created:

Updated:

Platform:

Replies:

6165 Aug 2,2003 05:37 PM UTC Aug 2,2003 06:23 PM UTC Windows Forms 4
loading
Tags: GridControl
ERobishaw
Asked On August 2, 2003 05:37 PM UTC

I want to populate a drop down grid (in this case, a databoundgrid), right before being displayed, each time the drop-down button is clicked. What event will tell me the grid is about to be drawn, and how do I get the cell that's requesting it from that event? Eric

ERobishaw
Replied On August 2, 2003 05:46 PM UTC

Likewise, how do I know when its been collapsed...

ERobishaw
Replied On August 2, 2003 06:08 PM UTC

> I want to populate a drop down grid (in this case, a databoundgrid), right before being displayed, each time the drop-down button is clicked. > > What event will tell me the grid is about to be drawn, and how do I get the cell that's requesting it from that event? > > > Eric TO accomplish this, I setup a VisibleChanged event handler for the subgrid, and using the CurrentCell property of the main grid, I can tell who called it. HOWEVER, the VisibleChanged doesn't get called when the grid is becomming INvisible. So I still have no way of knowing when it's closing. Eric

ERobishaw
Replied On August 2, 2003 06:16 PM UTC

FYI: On the subgrid, I've tried, with NO effect, the following event handlers on the sub-grid: ParentChanged, EnabledChanged, Deactivated None of these gets called from the subGrid, when the sub-grid is closing. Eric

ERobishaw
Replied On August 2, 2003 06:23 PM UTC

Never Mind, found it: CurrentCellShowingDropDown CurrentCellCloseDropDown Thanks Eric

CONFIRMATION

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.

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

;