Broken Rule alert box does not show.
 
Home My Account Forum Try It! Buy It!
About Contact Us Site Map
StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Broken Rule alert box does not show.Expand / Collapse
Author
Message
Posted 01/30/2008 5:34:36 AM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 05/30/2008 10:52:28 AM
Posts: 72, Visits: 251
Here's another issue.

My form is a MicroFour.StrataFrame.UI.Windows.Forms.StandardForm.

The property AutoShowBrokenRulesAlert is (by default) true, but the alert does not show. I add the Broken rules in the BO, the little arrow of the build-in ErrorProvider shows fine, but the broken rules alert is not shown. I have searched the code and found that the property is only used by an event handler, when IsChildForm is true. Nevertheless, in your tutorial the alerts works fine, and the options are exactly the same as mine, and IsChildForm is false.

Any directions?

Thank you...

Post #13835
Posted 01/30/2008 9:10:37 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 06/17/2008 9:28:35 AM
Posts: 2,649, Visits: 1,863
Try calling .Save() on the form instead of .Save() on the business object and see if that gets the alert to show.


www.bungie.net
Post #13839
Posted 01/31/2008 9:04:06 AM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 05/30/2008 10:52:28 AM
Posts: 72, Visits: 251
This works. Thanks Ben.

By the way, how many database connections does the data layer need?

In my connection string I have enabled connection pooling with maximum pool size of 1, and I get an exception from time to time of a timeout, because the pool has no more available connections. What is a safe number?

Thank you again...

Post #13855
Posted 01/31/2008 9:23:05 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 06/17/2008 9:28:35 AM
Posts: 2,649, Visits: 1,863
I think the default number of connections is fine... we've never had any problem with the defaults.  In fact, I don't think we ever even set any of the pooling settings within the connection string.  Off the top of my head, I would say that 3-5 would be plenty.  I've never seen one of our clients even use more than 4.


www.bungie.net
Post #13857
« 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 10:14am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 9 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.