For the popup to be the information, the accepted way is to use the
querystring. A popup is nothing more than a page, and there is little you
can do to prevent the user from loading it manually.
Now, if you want to be tricky, you could always do a postback for your
button and then use something like RegisterStartupScript to inject the
showModelDialog function. This way you can store the field value in a
session variable and use this to verify they came from the correct place.
You can also check the Referer header field to make sure they came from your
page.
"Jack" <ls*****@gmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
I know I can access via querystring, but what I need is:
The page can only be opened in my way, never display information if
user input the link in the addressbar, then click "enter".