Results 1 to 5 of 5

Thread: Unload the webform

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2003
    Posts
    108

    Unload the webform

    VB.Net-Webapp.

    How do I close the form? same as in VB6 "unload me".

    Thanks

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Me.Page.RegisterStartUpScript("closeing","self.close();")

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2003
    Posts
    108
    Hello Nemaroller,

    I typed in exactly what you said. It didn't work. nothing was happening.

  4. #4
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Me.RegisterStartupScript("closeing", "<script language=javascript> onLoad=window.close();</script>")

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jan 2003
    Posts
    108
    Thanks. It works beautifuly

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width