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. a page is being Loaded towice without past back

a page is being Loaded towice without past back

Scheduled Pinned Locked Moved ASP.NET
help
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.
  • M Offline
    M Offline
    Masood Ahmed
    wrote on last edited by
    #1

    hi, i h a class a.aspx.cs which is derive from another class b.cs and a.spx also h a materpage M.aspx which mean it also inherite M.aspx.cs now the problem is that when i call this page it is being loaded towice without being postback .i second time page load the Post back is still false due to which gridview column get twice as i m declaring them dynamically but i h solved this problem using Clear() Method . what might be the reason can some one help me in this regard . is using Master page and also deriving from basic page causing the problem Thnx in advance

    M 1 Reply Last reply
    0
    • M Masood Ahmed

      hi, i h a class a.aspx.cs which is derive from another class b.cs and a.spx also h a materpage M.aspx which mean it also inherite M.aspx.cs now the problem is that when i call this page it is being loaded towice without being postback .i second time page load the Post back is still false due to which gridview column get twice as i m declaring them dynamically but i h solved this problem using Clear() Method . what might be the reason can some one help me in this regard . is using Master page and also deriving from basic page causing the problem Thnx in advance

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

      Hi there, I doubt that what you said here is not the code that causes the error, one of the reasons is that the Master page normally does not end with the .aspx extension. Could you post your real code?

      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