Strataframe and Devexpress integration


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
Is it worthwhile to use controls like Infragistics or DevExpress with the Strataframe framework?




Edhy's response was good and it just depends on what you are trying to accomplish. Over time, we will continue to release more controls. However, there are some things to consider when using 3rd party controls. If you use the StrataFrame Themes, you can use 3rd party editor controls such as the UltraTextBox or UltraNumericEditor from Infragistics and still use the SF themes without conflict. But if you use other panel controls, etc. that rely on the parent themes, then you could end up having theme color conflicts. So generally, I recommend that you use SF for all theme based controls and if you have the need for more discrete money and numeric controls, then use DevExpress or Infragistics for those purposes as they will not have a negative impact on the theme since they are just editor controls.
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Alex Bibiano González (11/26/2009)
... Is it worthwhile to use controls like Infragistics or DevExpress with the Strataframe framework?




Hi Alex,



Well it all depend on your needs and what the base SF or .NET controls have to offer to the application. In my case I don't like the way .Net controls handles numeric or currency data, so I use the Infragistics UltraNumericEditor and since the guys at SF took the time to wrap some of those controls to work native with SF binding then it is worth use them. I use other controls like Ribbon menu.

Edhy Rijo

Les Pinter
Les Pinter
StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)
Group: Forum Members
Posts: 43, Visits: 213
Hi Alex,

   Disregard previous post; I was subclassing the DevEx control, not the StrataFrame DevEx control...

Les

Les Pinter
Les Pinter
StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)StrataFrame Team Member (73 reputation)
Group: Forum Members
Posts: 43, Visits: 213
Hi Alex,

   I was trying to reproduce your results, and I can't find the properties you mention. I have DecExpress 9.2.9.0 installed (downloaded yesterday). I can't even find a BindingFormat property on the textEdit control. Am I looking in the wrong place?

Les

Alex Bibiano González
Alex Bibiano González
StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)
Group: Forum Members
Posts: 31, Visits: 125
Thanks Edhy,



Taking advantage of this thread I will make you another question.



Is it worthwhile to use controls like Infragistics or DevExpress with the Strataframe framework?



Thanks,



Alex B.
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Glad you identify the problem and found the solution.

Edhy Rijo

Alex Bibiano González
Alex Bibiano González
StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)
Group: Forum Members
Posts: 31, Visits: 125
I have found the problem. Setting the EditMask to "c" and the BindingFormat to "c" makes it work. I think that the BindingFormat has to be the same than the EditMaks.

Alex B.

Alex Bibiano González
Alex Bibiano González
StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)
Group: Forum Members
Posts: 31, Visits: 125
In Sql Server the field type is already Money (its mapped as decimal in the BO). I think the problem has somethink to do with the currency mask.
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Alex Bibiano González (11/25/2009)
I'm using a DevEx Maintenance Form. I have in my BO a decimal field.



When I put a Strataframe inherited DevExpress textEdit on the form and set the Mask to currency (c), the value I put in the field is lost when the control lose the focus. If I change the mask to decimal it works fine. Is this normal?





Hi Alex,



I don't have DevEx, but I do used Infragistics and in my case I use the field type of "Money" for all my currency fields and they work just fine, could you change the field to "Money" in SQL and test it again?

Edhy Rijo

Alex Bibiano González
Alex Bibiano González
StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)
Group: Forum Members
Posts: 31, Visits: 125
I'm doing some tests with DevExpress integration and have 2 questions:

I'm using a DevEx Maintenance Form. I have in my BO a decimal field.

When I put a Strataframe inherited DevExpress textEdit on the form and set the Mask to currency (c), the value I put in the field is lost when the control lose the focus. If I change the mask to decimal it works fine. Is this normal?

Another question is about the errorprovider used in the DevEx Maintenance Form on the business rules validation process.

Is it using a DXErrorprovider? If not, is it possible to use the DXErrorprovider and bound it to the broken business rules?

Thanks,

Alex B.

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