How to Create PopUp Window in ASP.NET

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • davidson1
    New Member
    • Feb 2008
    • 144

    How to Create PopUp Window in ASP.NET

    Hello Everybody,

    Actually in my project there is an Announcement Module... in ASP.NET written in vb languge

    Whenever any announcement enrolled in database , the popup window should come and say "New Announcement is Enrolled" So that Students can view immediately.... ...

    Back-End = SQL SERVER 2000

    pl give me coding......... .......


    Davidson
  • nateraaaa
    Recognized Expert Contributor
    • May 2007
    • 664

    #2
    Originally posted by davidson1
    Hello Everybody,

    Actually in my project there is an Announcement Module... in ASP.NET written in vb languge

    Whenever any announcement enrolled in database , the popup window should come and say "New Announcement is Enrolled" So that Students can view immediately.... ...

    Back-End = SQL SERVER 2000

    pl give me coding......... .......


    Davidson
    Have you tried using javascript? window.open should be sufficient for what you are trying to do.

    Nathan

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      Originally posted by davidson1
      Hello Everybody,

      Actually in my project there is an Announcement Module... in ASP.NET written in vb languge

      Whenever any announcement enrolled in database , the popup window should come and say "New Announcement is Enrolled" So that Students can view immediately.... ...

      Back-End = SQL SERVER 2000

      pl give me coding......... .......


      Davidson
      As Nathan has already recommended, you are probably going to want to use a JavaScript alert("message" ) that is displayed when the page is loaded if there was an enrollment. Check out the article on how to check if a textbox contains a number for an example of how to register your JavaScript function dynamically when it needs to be.

      cheers
      -Frinny

      Comment

      Working...