That is the only way I can see it working. The reason why you were getting 2 pags before is because when authenticated, the destination url is brought up but of course with no window size settings. When authentication was confirmed, your java script was also being launched giving you 2 pages. If you want ot use the login control, you have the use the destination url which I can see gives you settings for setting the window's size so the only way is to feed it a intermediate page that will load the page you want in the size you want and then close itself. Other way is to not use the control and build a custom login method that will only run your javascript on if authenticated.
Quote:
quote:Originally posted by ckrajeshvarma
I could solve this problem by giving the destination page url as some other test(eg:test.aspx) page instead of giving as index.aspx.After that, In the page load event of the test page(test.aspx), I wrote the code to open my index.aspx page in full screen mode.
|