StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



SF Maintenance Form functionality implemented...Expand / Collapse
Author
Message
Posted 03/26/2006 11:04:58 AM
StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: Forum Members
Last Login: 01/10/2008 9:33:30 AM
Posts: 65, Visits: 820
Hi,

would it be possible - and if yes, how - to have the functionality (New,Edit, Delete etc) of a SF Maintenance Form implemented in a SF UserControl?

The reason for asking this is that I'm hoping that it would be possible to use the same UserObjects both in WinForms and WebForms.

As I'm quite new to the .Net world this may not be a good idea. In an other environment I have done this and it has worked quite well.

TIa,

Kari

Post #739
Posted 03/27/2006 8:44:09 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 1:09:23 PM
Posts: 2,686, Visits: 1,888
Kari,

You cannot use the same user controls for both WinForms and WebForms applications. A WinForms control inherits from System.Windows.Forms.UserControl, while a WebForms control inherits from System.Web.UI.WebControls.WebControl. The functionality of the base classes is completely different. You can, however, create a "sealed" class that contains all of the code implementing the functionality you desire, and then just create the user control "wrappers" for that sealed class. Very little of the user interface can be reused between WinForms and WebForms... that's why SF is designed to put most of the application logic in the Business Layer.


www.bungie.net
Post #741
Posted 03/27/2006 10:37:21 AM
StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: Forum Members
Last Login: 01/10/2008 9:33:30 AM
Posts: 65, Visits: 820
ok, thanks....
Post #743
Posted 03/27/2006 3:04:40 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 4:50:35 PM
Posts: 4,796, Visits: 4,766
Kari,

If you need some help getting started please let me know.  Don't spend a bunch of time before asking for help on this, that is why we are here

Post #744
Posted 03/28/2006 8:20:09 PM
StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: Forum Members
Last Login: 01/10/2008 9:33:30 AM
Posts: 65, Visits: 820

Trent,

thank you for your kind offer. What I have in mind is to wait for your new demos and then on April gradually start to do the programming. My purpose is to port parts of a existing PowerBuilder application to the .Net world, both as a WinForm and WebForm application.

As I'm quite new at .Net world it will take a moment to pick up it. There the samples will come handy.

Cheers,

Kari

Post #750
Posted 03/28/2006 9:35:55 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 4:50:35 PM
Posts: 4,796, Visits: 4,766
Kari,

Your plan to move forward sounds good.  Well just know that as you migrate your application, you have a place to go for some answers   The "official" new update should be available around April 10-12th and will include much more documentation and some additional tutorials.  We will send out an email to all of our users when the new update is available so you can download the update.  We look forward to working with you...welcome to the StrataFrame community!

Post #751
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 6:15am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 11 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.