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. modal popup issue

modal popup issue

Scheduled Pinned Locked Moved ASP.NET
csharpjavascriptasp-netsysadminhelp
2 Posts 2 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.
  • T Offline
    T Offline
    trilokharry
    wrote on last edited by
    #1

    Hi in asp.net, I have opened modal pop using jquery with login form and after logged in I'm displaying data in modal popup itself but I want to display username and Logout link in parent page which content is disabled when modal popup is opened. when i use below code to refresh parent page: window.parent.location.reload(); it refreshes parent page and in parent page username logout link also displayed which is managed by user control. but I want that: modal popup should not be closed and paraent page should be refreshed without looking like server trip. thanks

    You get the best out of others when you give the best of yourself.

    S 1 Reply Last reply
    0
    • T trilokharry

      Hi in asp.net, I have opened modal pop using jquery with login form and after logged in I'm displaying data in modal popup itself but I want to display username and Logout link in parent page which content is disabled when modal popup is opened. when i use below code to refresh parent page: window.parent.location.reload(); it refreshes parent page and in parent page username logout link also displayed which is managed by user control. but I want that: modal popup should not be closed and paraent page should be refreshed without looking like server trip. thanks

      You get the best out of others when you give the best of yourself.

      S Offline
      S Offline
      Sandeep Mewara
      wrote on last edited by
      #2

      trilokharry wrote:

      modal popup should not be closed and paraent page should be refreshed without looking like server trip

      Why not do it using JavaScript/jQuery? Google for: updating Parent page control from child page... You can also trigger an async parent page button to update it partially.

      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