# winforms-create-editable-grid-lookup **Repository Path**: yangbobin/winforms-create-editable-grid-lookup ## Basic Information - **Project Name**: winforms-create-editable-grid-lookup - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: 10.2.3+ - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-06 - **Last Updated**: 2025-05-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/128628408/10.2.3%2B) [![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/E3078) [![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183) [![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives) *Files to look at*: * [Form1.cs](./CS/PopupContainerEditSelection/Form1.cs) (VB: [Form1.vb](./VB/PopupContainerEditSelection/Form1.vb)) * [Program.cs](./CS/PopupContainerEditSelection/Program.cs) (VB: [Program.vb](./VB/PopupContainerEditSelection/Program.vb)) # How to emulate an editable GridLookUpEdit with PopupContainerEdit

 

GridLookUpEdit does not support editing in its grid residing within a popup window. This example illustrates how to implement an equivalent to GridLookUpEdit that allows editing GridControl data. 

The following approach is used * create a PopupContainerEdit instead of GridLookUpEdit;
- assign a panel to PopupContainerControl by setting the PopupContainerEdit.Properties.PopupControl property and then add GridControl to it;
- handle the PopupContainerEdit.QueryResultValue and PopupContainerEdit.QueryDisplayText events to synchronize PopupContainerEdit's value and display text with the state of controls residing within the popup window.


## Does this example address your development requirements/objectives? [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=winforms-create-editable-grid-lookup&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=winforms-create-editable-grid-lookup&~~~was_helpful=no) (you will be redirected to DevExpress.com to submit your response)