Multiple Forms VS New Pages RRS feed

  • Question

  • User-221787929 posted

    I was wondering if you only get or get the best performance increase or benefit of using multiple forms on a single page when the other forms do not need to make any calls back to the server. It seems to me you get a benefit if you have a few forms on a page and can navigate to each one withought having the application make a call back to the server. This seems to work very well. It does not seem like you get any benefit of using multiple forms on a single mobile page if each form needs to do database lookups based on the previous selection in the previous form. It seems like you would be better of creating a new page.

    I just wanted to make sure my understanding of this is true.

    Thanks in advance


    Thursday, August 2, 2007 11:07 AM

All replies

  • User1347187933 posted

    Any way to measure this? I think it is possible to measure it.

    Wednesday, August 8, 2007 10:39 AM
  • User-221787929 posted

    I guess I can create a page and clock how fast it takes to load the page just using forms. Then create another sample to measure caliing a new page.

    I was kinda looking more for other peoples experiences. I keep reading that using multiple forms on a page is faster than calling another page.


  • Navigation time. Moving from form to form on a single page is faster than loading a new page. This is true even if the new page contains few controls.

    It seems to me that if you have move from one form to another and it has to go back to the server to still send the content back to the client than it would be just as fast as calling a new page that did the same thing. Just not sure how asp.net is compiling the pages on the server that it is going to make it that much faster to keep adding more forms on a single page than calling a new page.

Friday, August 10, 2007 2:21 PM