StrataFrame Forum

Creating web forms

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

By DoronF - 4/18/2007

Hi,

1) I wanted to know how do you add BOs into the web project?  Any documentation on that? So I can use BOs that were created in a Windows Proj.

2)When I created a new web form using the  StrataFrame Web Form, I did not see the buttons like Next Previous , Add Edit as shown in the Windows form. So it is all done manually?

Thanks,

Doron

By DoronF - 4/19/2007

Anybody's home?Smile
By StrataFrame Team - 4/19/2007

I wanted to know how do you add BOs into the web project?  Any documentation on that? So I can use BOs that were created in a Windows Proj.

Web projects do not allow components to be dropped on them like a WinForms application.  So you will define the business objects in the ApplicationBasePage of the web site.  You can create as many different application base pages as you would like.  Most applications generally only have one or two.  You can see how the BOs are defined in the Web Sample APplication in the ApplicationBasePage.vb or .cs file.

When I created a new web form using the  StrataFrame Web Form, I did not see the buttons like Next Previous , Add Edit as shown in the Windows form. So it is all done manually?

There is not a maintenance form toolstrip control for the web.  The reason for this is that it is web based and would be difficult to create a control that covers all of the potential environments that it may need to go as far as appearance is concerned.  This is only a few lines of code anyway.  You can see how to do this yourself in the sample web application.  It shows how to add, edit, delete, navigate, and so forth.

By DoronF - 4/25/2007

Web projects do not allow components to be dropped on them like a WinForms application.  So you will define the business objects in the ApplicationBasePage of the web site.  You can create as many different application base pages as you would like.  Most applications generally only have one or two.  You can see how the BOs are defined in the Web Sample APplication in the ApplicationBasePage.vb or .cs file.

So I can use the same BOs objects created in WinForm proj within the WebForm project, right?

Thanks,

Doron

By Trent L. Taylor - 4/25/2007

Correct Smile