StrataFrame Forum

IInitOnFormLoad interface for Web

http://forum.strataframe.net/Topic32171.aspx

By hector - 8/4/2013

Hi folks,


As I can see from source code,  some functionalty in winforms didn't implemented in webforms.

For example, IInitOnFormLoad interface didn't implemented for Web Controls..

Other example is BaseForm.Save method.

Is there a documentation which explain us which functionality is absent in WebForms?

And what is your suggestion in order to impement same functionalty in webforms as in winforms?

Is there good news in version 2.0 about this issue?

Your comments are welcome.

Thanks in advance
By StrataFrame Team - 8/5/2013

Sorry, hector, we don't have a list of what's missing from WebForms.  For the Save(), since the business objects are generally listed as properties on the ApplicationBasePage and stored in session variables, your best bet would be to write a protected Save() method on the ApplicationBasePage to save all of your business objects from there.  For the IInitOnFormLoad objects, using the PageLoad and testing on IsPostBack would be best for initializing your stuff.

V2 have better web forms controls, but if anything, the business layer is more de-coupled from the UI.  There isn't a dependence upon one UI or another.  WPF is just as different from WinForms as WebForms is.
By hector - 8/5/2013

Hi Ben,

Is there a detail feature list about version 2.0 from the point of webforms ?

Kind regards...