ASP2 PostbackURL and Performance
-
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 ?
-
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 ?
-
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; }
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
-
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