Author: prabakaranm2000 | Posted on: 12/3/2010 6:18:23 AM | Views : 519



Hi,
Today i faced on problem in my application developing in asp.net with c#..


actually have a requirement for showing new page in javascript popup window by using the code like this


var win = window.open('', '', 'left=0px, top=0px, width=820px, height=570px, scrollbars=yes, status =no, resizable=no');

win.location.href = url;


doThe same page is used to show the different results when we are directly navigating that page without javascript popup.

so, the exact requirement is follows.

now we should know the page is opened in popup window (or) oridinary browser window,

based on the result we have to decide which content we would be showing in page.

so, in this point the following question is arising.

1. How to identify the page is opened in javascript popup (or) normal browser window ...

Go to the complete details ...