Use PageMethods not PostBack

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
6/3/2012 10:15:17 AM
Gravatar
Total Posts 38

Use PageMethods not PostBack

I always prefer to use PageMethods, PostBack is so old and always creates problem when refreshing page. Plus PageMethods are way too fast and quite simple to implement.

6/4/2012 7:47:35 AM
Gravatar
Total Posts 18439

Re: Use PageMethods not PostBack

Implementation details is not a feature and this is not a feature request in my opinion.

If you understand how mojoPortal works, you will know that all the pages in the menu aka CMS pages are served by a single physical page /Default.aspx?pageid=x so there is not a separate physical page for each page in a site. Page Methods must be implemented within the page so this would require Default.aspx to have page methods inside it to support every feature or it would require having separate physical .aspx files for each page. Page Methods can be used in supporting pages of custom features because those are actual physical .aspx files. I certainly don't agree with any suggestion that all use of postback should be replaced by page methods. 

6/4/2012 11:31:13 AM
Gravatar
Total Posts 38

Re: Use PageMethods not PostBack

Inside WebService(s) you can use PageMethods. smiley

You must sign in to post in the forums. This thread is closed to new posts.