: Hi,
: : There is no visual basic equivalent ... you have to use that JavaScript in order to get the functionality you want. It is an unfortunate side-effect of ASP.NET being server-side.
:
: True so...but you can use RegisterClientScriptBlock if you're not familiar with HTML, and you don't want to mess around with your app's html source. You could try the following (for ex. in the Page_Load section of you VB code):
:
: RegisterClientScriptBlock("", "<script>top.window.moveTo(0,0); top.window.resizeTo(screen.availWidth,screen.availHeight);</script>")
:
:
:
hai friend
tnk u very very much
i worked
i wrote it in page_init event so the code executes before the page executes
i was very upset regarding this prb
tnk u once again
it really helped me
bye
have a nice day