Anyone using DevExpress Grid?


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Sounds good.  I will send you an example tomorrow.  In fact, I will post the sample on the forum so other users can see how to do this as well.
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
FYI, Rob,



The version that supports compound primary keys also implements IBindingListView and ITypedList on the BusinessLayer class (all business objects), so you can now assign a business object directly as the data source for a grid. This also solves the problem of needing to re-assign the data source each time you fill the business object (because the internal data table reference changed).



Additionally, when you Add and Delete records, it uses the appropriate methods on the business object to ensure that the proper hook events are fired (such as SetDefaultValues).
Robert Linton
Robert Linton
StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)
Group: Forum Members
Posts: 13, Visits: 49
Hi Ben,

Very cool, now that you've implemented the I-faces I see the BO in the drop-down list for DataSources.

However, I attempted to assign a simple BO to a SF ComboBox DataSource and Assign my text value to DisplayValue, I get the following error at runtime:

"Items collection cannot be modified when the DataSource property is set."

ApplicationException
 An error occurred while creating the main form
TargetInvocationException
 Exception has been thrown by the target of an invocation.
ArgumentException
 Items collection cannot be modified when the DataSource property is set.

StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Rob,



The reason you're getting that exception is that .NET will not allow you to manually add items to a combo box when you set the DataSource property to an object. So, make sure you don't have items in the combo box. Also, make sure the PopulationType property is set to Manual.



However, the SF ComboBox was designed to be populated using a business object through the PopulationDataSourceSettings property, not by setting a business object as the data source directly. You might give it a try. There's a tutorial topic on ListControl Population under Getting Started -> Tutorials -> Creating a WinForms App [VB] -> List Control Population.
StarkMike
StarkMike
Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)
Group: Forum Members
Posts: 436, Visits: 944
Hi Guys, I'm very excited w00t about you guys creating a DevExpress wrapper so that their Grid product can be used seamlessly with StrataFrame. How will you guys be notifying us when the wrapper is ready? The forums or a mass email to registered users?



P.S. I'm just curious... What made you choose to create a DevExpress wrapper first out of all the other grid products?



Thanks



StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Mike,



We'll be notifying people through a mass email on the forum. As for choosing DevExpress first over other grid products, we had several users specify that they wanted to use DevExpress controls (no one really mentioned anything else). As for the grid itself, we aren't going to subclass it other than to create a "list" that works similar to our current ListView (in details display mode). You can already use a DevExpress grid with a business object as the data source, so we aren't going to create a custom wrapper for the GridControl or GridView.
Steve L. Taylor
Steve L. Taylor
StrataFrame Developer (102 reputation)
Group: StrataFrame Developers
Posts: 40, Visits: 91

An Infragistics wrapper is not a function of development -- it is a legal issue.  We are currently waiting on a ruling from Infragistics' legal department.  Their current stance is we can't distribute a wrapper without violating their license.  I know it seems crazy all it would do is help them sell more copies.

 

Nevertheless, they will not respond to our requests.  If you want a wrapper you need to contact their sales department and nudge them along.

Larry Caylor
Larry Caylor
StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K

Last week I sent an e-mail off to Infragistics Sales asking them if I should switch to Dev Express controls if I wanted something that would be easy to use with your Framework. I received an email back this morning saying that they would contact you. Hopefully both companies will work things out and we’ll get an Infragistics wrapperSmile.

 

-Larry

StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Yes, as a matter of fact, they contacted us just a few minutes ago.  We'll let you know the results of our correspondance with them Smile
Kari Paukku
Kari Paukku
StrataFrame User (139 reputation)StrataFrame User (139 reputation)StrataFrame User (139 reputation)StrataFrame User (139 reputation)StrataFrame User (139 reputation)StrataFrame User (139 reputation)StrataFrame User (139 reputation)StrataFrame User (139 reputation)StrataFrame User (139 reputation)
Group: Forum Members
Posts: 65, Visits: 820
Hi,

What is the situation with the DevExpress wrapper?

Kari

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