Opening Specialized Window?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jeff

    #1

    Opening Specialized Window?

    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.Attribut es.Add("onclick ", "window.open('l og.aspx','Surve y','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(By Val sender As Object, ByVal e As System.EventArg s) Handles bstart.Click

    End Sub




    --
    Posted via a free Usenet account from http://www.teranews.com

Working...