Question: I am showing a pop up with datagrid on it. When i try to go to next page the pop up closes because the page loads. What should i do to prevent the page to load or to not close the popup?

BTW, I am using Visual Studio 2003 :|

Answer: 
There are many ways to solve your problem but the quickest/easiest is to simply wrap your DataGrid inside of an [UpdatePanel (MSDN)](http://msdn.microsoft.com/en-us/library/system.web.ui.updatepanel.aspx).

The UpdatePanel will give the impression of an AJAXified DataGrid and it can be implemented with minimal code.

The code in your ASPX page would look something similar to the following:

```
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true" />
<div id="myPopUp">
    <asp:UpdatePanel ID="UpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            //Insert DataGrid here
        </ContentTemplate>
</asp:UpdatePanel>

```

See here for more details: [Introduction to the UpdatePanel Control](http://msdn.microsoft.com/en-us/library/bb399001.aspx)
use ajax [update panel] it will help you to not load the page again otherwise put you data grid user control inside a page and load it the page will never be closed except if you close it :)