closing webform

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Guest's Avatar

    #1

    closing webform

    How can I close a webform from withing C# (not HTML)?



  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: closing webform

    VM,

    To do this, you will have to inject script code from the server side to
    have the browser window close. The code on the server runs on the server,
    returning a response when a request is made. Because of this, you have to
    issue commands to the browser in the request that it can understand, like
    javascript.

    Hope this helps.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - nicholas.paldin o@exisconsultin g.com

    <VM> wrote in message news:ORPqnG%23R DHA.2676@TK2MSF TNGP10.phx.gbl. ..[color=blue]
    > How can I close a webform from withing C# (not HTML)?
    >
    >
    >[/color]


    Comment

    Working...