Message doubled in tooltip


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Glad you got it working Smile 
Ralph Rutschmann
Ralph Rutschmann
StrataFrame User (137 reputation)StrataFrame User (137 reputation)StrataFrame User (137 reputation)StrataFrame User (137 reputation)StrataFrame User (137 reputation)StrataFrame User (137 reputation)StrataFrame User (137 reputation)StrataFrame User (137 reputation)StrataFrame User (137 reputation)
Group: Forum Members
Posts: 69, Visits: 1.3K
Hello Trent,

you're absolutely right. There have been two handlers. One into the designer file of the BO, and one from me which I copied from one of the CRM example forms. After removing the 'addhandler' stuff from the form, all is working as expected.



Thank you very much, your hint pointed me the right direktion. :-)



Friendly greetings,



Ralph
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
You are correct in that it is not related to localization.  More than likely you have two handlers managing the CheckRulesOnCurrentRow event which is handling the event twice.  To prove this, just another another broken rule on the same field and it should have two of those messages as well.  If so, remove one of your event handlers and then you should be back to one. Smile
Ralph Rutschmann
Ralph Rutschmann
StrataFrame User (137 reputation)StrataFrame User (137 reputation)StrataFrame User (137 reputation)StrataFrame User (137 reputation)StrataFrame User (137 reputation)StrataFrame User (137 reputation)StrataFrame User (137 reputation)StrataFrame User (137 reputation)StrataFrame User (137 reputation)
Group: Forum Members
Posts: 69, Visits: 1.3K
Hi,



in my BO i did the following, hopefully according to the examples, translated from VB to C#:



private void BOWareneingang_CheckRulesOnCurrentRow(CheckRulesEventArgs e)

{

if (this.EingangsMenge < 1)

this.AddBrokenRule("EingangsMenge", Localization.RetrieveTextValue("brEingangsMenge"));

{



But into my FixedToolWindow for editing entries in a listview now I get the appropriate errormessage twice in two identical lines of text in the same tooltip next to the error icon.



This isn't because of the localization, I tested this.



Does anybody know what I did do wrong?



TIA,



Ralph
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search