Results 1 to 6 of 6

Thread: Popup window?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2004
    Location
    fda
    Posts
    17

    Popup window?

    I woul like to know how to make a pop up window in asp.net?

  2. #2
    Hyperactive Member buddu's Avatar
    Join Date
    Jul 2001
    Location
    India
    Posts
    446

    try this

    hi
    in form Load event write down the following Code

    Button.Attributes.Add("OnClick","ShowPopUP()")


    in JavaScript Write the following Function

    function ShowPopUP()
    {
    var winHid
    winHid=window.open("frmPopuForm.aspx","anyName")
    }
    prasad

  3. #3
    Hyperactive Member
    Join Date
    Apr 2003
    Location
    Three Rivers, MI
    Posts
    354
    You may also want to check this out: Adding Client-Side Message Boxes in your ASP.NET Web Pages

  4. #4
    Addicted Member
    Join Date
    Jul 2003
    Posts
    232
    I have the same question. where is the form load method?

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Jan 2004
    Location
    fda
    Posts
    17
    Thank you. It helps a lot

  6. #6
    Hyperactive Member
    Join Date
    Apr 2003
    Location
    Three Rivers, MI
    Posts
    354
    Oops I just realised I posted a link to a pop up message box and not a pop up window. This should be more helpful: Opening popup windows with ASP.NET

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