Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. show popup on content page

show popup on content page

Scheduled Pinned Locked Moved ASP.NET
helptutorialquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mhiny
    wrote on last edited by
    #1

    Hi all , I tried to show the modal popup as a message during page load .Problem is the page is content page (not have body). where i can put the code to open popup window? and how to code for open popup window?

    A B J 3 Replies Last reply
    0
    • M Mhiny

      Hi all , I tried to show the modal popup as a message during page load .Problem is the page is content page (not have body). where i can put the code to open popup window? and how to code for open popup window?

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      you can show popup from server side Page_Load() Method of content page. you can use Page.ClientScript or ScriptManager.RegisterStartupBlock ( For AJAX ) to show the popup.

      cheers, Abhijit

      1 Reply Last reply
      0
      • M Mhiny

        Hi all , I tried to show the modal popup as a message during page load .Problem is the page is content page (not have body). where i can put the code to open popup window? and how to code for open popup window?

        B Offline
        B Offline
        Brij
        wrote on last edited by
        #3

        you can do one thing.. in the masterpage first check the contentpage,if its that you are looking for then you can open the popup.

        Cheers!! Brij

        1 Reply Last reply
        0
        • M Mhiny

          Hi all , I tried to show the modal popup as a message during page load .Problem is the page is content page (not have body). where i can put the code to open popup window? and how to code for open popup window?

          J Offline
          J Offline
          jack_ajay
          wrote on last edited by
          #4

          U can use the code in .aspx page inside the content place holder tag,in code behind page in page_load event just type the modal popup control id.show. Eg: popupmsg.show()

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups