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. Model PopUp Problem

Model PopUp Problem

Scheduled Pinned Locked Moved ASP.NET
csshelpannouncement
3 Posts 3 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.
  • A Offline
    A Offline
    AtiqueJnp
    wrote on last edited by
    #1

    Hi In My application, I am Using Model PopUP In which data are coming in a grid with paging. But Problem is that when I am Clicking on 2nd paging, Page Model popup Become Closed, So Is there any way to stop that model popup, My model popup is in Update panel thanks in Advanced

    M A 2 Replies Last reply
    0
    • A AtiqueJnp

      Hi In My application, I am Using Model PopUP In which data are coming in a grid with paging. But Problem is that when I am Clicking on 2nd paging, Page Model popup Become Closed, So Is there any way to stop that model popup, My model popup is in Update panel thanks in Advanced

      M Offline
      M Offline
      michaelschmitt
      wrote on last edited by
      #2

      You're using the ModalPopupExtender from the AjaxToolKit, right? If so, the problem is the occurring postback while paging. Although i remember that there was a better solution than mine, i unfortunately dont remember the solution itself..So heres mine: Either put the content of your popup in a seperate updatePanel (if that works for you), or call the Show method of your popupextender again in the paging event. This way it should stay open (at least i'm doing this somewhere in a click-event of a button and this way it stays open). Hope this helps somehow.

      1 Reply Last reply
      0
      • A AtiqueJnp

        Hi In My application, I am Using Model PopUP In which data are coming in a grid with paging. But Problem is that when I am Clicking on 2nd paging, Page Model popup Become Closed, So Is there any way to stop that model popup, My model popup is in Update panel thanks in Advanced

        A Offline
        A Offline
        Andreas X
        wrote on last edited by
        #3

        Hi! Make sure that you modalpopup is placed in an updatepanel which has not got chlidrenastrigger. You have to ensure that the control that causes the popup is not reloaded with the postback.

        Andreas Johansson
        IT Professional at Office IT Partner i Norrbotten Sweden
        What we don't know. We learn.
        What you don't know. We teach

        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