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. event handlers that loads before page_load

event handlers that loads before page_load

Scheduled Pinned Locked Moved ASP.NET
helpquestion
5 Posts 5 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.
  • P Offline
    P Offline
    playout
    wrote on last edited by
    #1

    Hi, I am debugging a difficult application, that I didnt code, I have a problem - there is a bug somewhere in the application, that occurs before the page loads for the user. What are the event handlers that can be used before page_Load, eg pre pageload event handler?

    W S 2 Replies Last reply
    0
    • P playout

      Hi, I am debugging a difficult application, that I didnt code, I have a problem - there is a bug somewhere in the application, that occurs before the page loads for the user. What are the event handlers that can be used before page_Load, eg pre pageload event handler?

      W Offline
      W Offline
      www Developerof NET
      wrote on last edited by
      #2

      I don`t know this will work or not because i assume that the page is first rendered and then loaded.Try this 1.From the dropdown in properties window select WebForm1 System.Web.UI.Page. 2.Go to Events and double click on PreRender. Now u can do the work to be done inside this event.

      L 1 Reply Last reply
      0
      • P playout

        Hi, I am debugging a difficult application, that I didnt code, I have a problem - there is a bug somewhere in the application, that occurs before the page loads for the user. What are the event handlers that can be used before page_Load, eg pre pageload event handler?

        S Offline
        S Offline
        Sandeep Akhare
        wrote on last edited by
        #3

        Why you need event handlers ? i think are you confirm that all environment is set properly and check the base class if it is calling from your start up page

        Thanks and Regards Sandeep

        B 1 Reply Last reply
        0
        • S Sandeep Akhare

          Why you need event handlers ? i think are you confirm that all environment is set properly and check the base class if it is calling from your start up page

          Thanks and Regards Sandeep

          B Offline
          B Offline
          blue_arc
          wrote on last edited by
          #4

          you can do with it using preload... but i think u should first look at ur web.cofig.. global.asax some time they create problem... and it will vbe very helpfull for u if u put that error on the forum...

          Ravi Kant Srivastava (System Analyst) HandsOn Technology & Engineering Gurgaon (India) e-mail:ravikant@hte.co.in

          1 Reply Last reply
          0
          • W www Developerof NET

            I don`t know this will work or not because i assume that the page is first rendered and then loaded.Try this 1.From the dropdown in properties window select WebForm1 System.Web.UI.Page. 2.Go to Events and double click on PreRender. Now u can do the work to be done inside this event.

            L Offline
            L Offline
            lavanya_satheesh
            wrote on last edited by
            #5

            I think PreRender comes before UnLoad. Init comes before Load.

            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