If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Hybrid View

Size Does Matter - amongst other things

I'm somewhat new to this, so please excuse if my questions seem trivial but I have searched the internet including this forum and several others and the microsoft site. . .my blood pressure is currently 181/90 and I'm quite frustrated!

How on earth do you set the size and position on screen of a new web form window that has been created from another link? The link code is posted below:-

I've found several examples using Javascript - but I dont want to use Javascript. Only vbScript or using VB.NET in the background code.

Essentially I'm using this to display a help window, ie a popup window.

I do not want the toolbar to be displayed either - is this possible?

one more. . .is it possible to dynamically create and place (position absolutly) controls (such as image buttons) on a user created control (.ascx) - I tried several methods but to no avail - I kept getting the "Control must be placed between tag runat=server" type message - I've reverted to placing creating the dynamic controls on a form, but would like to know if it is possible to do so on a user control.

. . .hope someone can help. . .I'll be off getting something for the pains in my chest

You can use the same technique in VBScript that the JavaScript examples demonstrate: Call the window.open method with the desired parameters. I know of no way to control a popup window's size or other properties from a standard link or code-behind; browser script (VBScript or JavaScript) is the only way to go.