I'm still new to .dotnet. ..using VB with visual web developer express 2005 version.
I'm attempting to have a button (bstart) open a new window that does not contain the standard navigation icons, toolbars, and
address box. The code below works, but I'm attempting to convert it to work in the click event to simplify it (the original I
believe is in javascript rather than VB). I'm also interested in specifying a window size in pixels if possible and taking away the
ability to close the window via the standard close icon (this may not be possible), centering it on the monitor, and preventing it
from being resized. Can someone get me started?
Thanks in advance.
Jeff
**** Original ******
bstart.Attributes.Add("onclick", "window.open('log.aspx','Survey','status=yes, resizable=yes, scrollbars=yes, toolbar=no,
location=no, menubar=no');")
***** want to place the equivalent of the above into the click event below *****
Protected Sub bstart_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles bstart.Click
End Sub
--
Posted via a free Usenet account from http://www.teranews.com