Question: I have a gridview inside a ModalPopUpExtender, the grid view have the button add delete and edit when i clic one of the button of the gridview the popup is closed. I wont to close the popup when the close button is clicked.
This is the asp.net part: 

```
< cc1: ModalPopupExtender ID="NamePopup" runat="server" PopupControlID="OptionPanel" TargetControlID="btnD"  BackgroundCssClass="mpBg" DropShadow="true" OkControlID="btnSavePopup" CancelControlID="btnPostCancel" >
    < / cc1:ModalPopupExtender>

```

Any ideas??

Answer: 
In relational database terms the general case is called an Inclusion Dependency, ie: A is a subset of B, where A and B are projections on some (not necessarily distinct) relations. A "foreign key" is a special case of inclusion dependency where B is a candidate key.
What about this line of thought:

* `connect(X, Y)`
* `link(X, Y)`
* `bind(X, Y)`

Not only is it hard to find names for this kind of relation for Object Oriented systems, it is also hard to model them too! **Objects tend to live in hierarchies...**

See if you can find a container for such a relationship - check what method names that library uses.