On the client, you can use JavaScript to check the "opener" property of the
window. A window spawned by another window has an "opener" that is a window.
If it was not spawned by another window, the 'Opener" will be null.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
"Suma" <Su**@discussions.microsoft.com> wrote in message
news:0C**********************************@microsof t.com...
Hi all,
Is there any way from which we can find out if a window is opened as a
modal
window or as a normal window?
I have a screen which opens as a normal window in one case and in other
case
it opens as a modal window.
I want to differentiate these two conditions.
TIA.