StrataFrame Forum

"Broken Rules" feature For Web Forms?

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

By Ben Hayat - 4/19/2007

Broken Rules feature is such a wonderful feature in the Winform that helps to control the user entry. But what ASP.Net offers (validations) is not as nearly neat as what SF offers in Win form.



Is there an plan to incorporate this feate into Web Forms?



I probably have to have two interface for the new app (Windows and Web).



Thanks!
By Trent L. Taylor - 4/19/2007

Ben,

I am a little confused about your post.  The broken rules work in both win and web forms and is not a function of the UI but rather the business layer. 

By Ben Hayat - 4/19/2007

Trent L. Taylor (04/19/2007)
Ben,



I am a little confused about your post. The broken rules work in both win and web forms and is not a function of the UI but rather the business layer.




I'm sorry if I didn't give more detail. In Winform, SF ties the broken rule with edit controls under SF tab (like text edit), which shows, for example the required fields.

Here is a statement from help:

By default, any broken rule attached to a business object is automatically shown to the end-user using a .NET ErrorProvider. All of the error provider settings can be customized through a StrataFrame form's property sheet under the ErrorProvider Settings category.




I haven't looked into the web form in detail yet, I was wondering if SF can provide the same feedback to user in Web form the same way it does in Win form?



I hope this is more clear!
By Trent L. Taylor - 4/19/2007

The only feedback you can get on the WinForms that you don't on the web forms is the InfoBox that pops up in the corner.  All other broken rule logic, including a red arrow to the right, appears the same.  You can also enumerate the BrokenRules collection to give more detail.  To see this in action look at the Web Sample Application and try to create a new customer record and click save without entering anything.  Also, go to the Trial account area of StrataFrame and just click the save button.  You will get a list of all errors at top as well as see the broken rule arrow.  This is all native functionality.
By Ben Hayat - 4/20/2007

Thank you Trent; Great news!

I tried the "Try" page, very nice with arrows. That's what I was asking.



I think the docs needs to be beefed up a bit, to show all these great features that are in the Web form as well!



Thanks again!