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. ASP2 PostbackURL and Performance

ASP2 PostbackURL and Performance

Scheduled Pinned Locked Moved ASP.NET
performancequestion
4 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.
  • N Offline
    N Offline
    Naif_Prof
    wrote on last edited by
    #1

    Hi , Using PostbackURL property in ASP.NE 2 to pass the values of controls between pages Now if we have different controls in page 1 and we link page1 to page 2 by setting the PostbackURL property of link button in page1 to be linked to page 2 And in page 2 we use Request.form[“Control Name”] to get the values of some controls of page 1 Is this impact the performance of application ( slowness ) if page 1 contain a lot of controls ?

    G 1 Reply Last reply
    0
    • N Naif_Prof

      Hi , Using PostbackURL property in ASP.NE 2 to pass the values of controls between pages Now if we have different controls in page 1 and we link page1 to page 2 by setting the PostbackURL property of link button in page1 to be linked to page 2 And in page 2 we use Request.form[“Control Name”] to get the values of some controls of page 1 Is this impact the performance of application ( slowness ) if page 1 contain a lot of controls ?

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      No. If you are using Request.Form, you are reading the values directly from the form data sent from the browser. It doesn't involve the server controls of the first page at all.

      --- b { font-weight: normal; }

      N 1 Reply Last reply
      0
      • G Guffa

        No. If you are using Request.Form, you are reading the values directly from the form data sent from the browser. It doesn't involve the server controls of the first page at all.

        --- b { font-weight: normal; }

        N Offline
        N Offline
        Naif_Prof
        wrote on last edited by
        #3

        Ok thanks Im using master pages, when i use PostBackURL with button control to pass the values of controls in page 1 to page 2 its give me the follwing exception Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. But when I use it with normal pages that not use master pages its work with postbackurl in page 1 and request.form in page 2 to get the values of controls in page 1 why its nor working withe pages that use master pages

        G 1 Reply Last reply
        0
        • N Naif_Prof

          Ok thanks Im using master pages, when i use PostBackURL with button control to pass the values of controls in page 1 to page 2 its give me the follwing exception Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. But when I use it with normal pages that not use master pages its work with postbackurl in page 1 and request.form in page 2 to get the values of controls in page 1 why its nor working withe pages that use master pages

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          The id of controls inside containers, like in master pages, gets the id of the container prepended to it. Check the source of the html page to see what the field's names are.

          --- b { font-weight: normal; }

          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