Hi
See, I think the scenario is little misunderstood,
I have a normal window from which a modaldialog windowthat is showing a grid with records and allows to edit and insert records. This window opens another modaldialog window on it once for editing and once for adding records and calls window.location.reload right after the statement for opening the modaldialog window for record adding/editing.
The problem is that whenmodaldialog window is opened for adding, the grid window's experiences a post back but post back does not occures when it calls window.location.reload after the record adding/edintg modaldialog window is closed for the other case.
Even if what you are saying is correct then why it only happens for the editing scenario.
But I have found a solution for this. I have added an asp button on the grid window and applied it the hidden style. and instead of calling the window.location.reload I call the click event of this button after the record adding/editing window is closed. The post back occurs in both cases. 
Regards,
Haris Munawar
Hi, I have a same requirement in which I'm opening a new window from a page that takes a value and loads grid based on that value from the main page .In this Grid, there is a field with a hyperlink that opens another window.
Now the problem is that I'm using a window.ShowmodalDialog() from the main page and it is loading /hitting the server only for the 1st time and there after executing the client side script only.
If i replace it with window.open() every thing works fine.But I want the popup window to be a modal dialog only.Can you please explain how you have added the button in grid and doing the post back to the page.
Thanks in advance.