Print Page | Close Window

DevExpress

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=524
Printed Date: 11-Jun-2026 at 3:03pm


Topic: DevExpress
Posted By: orcities
Subject: DevExpress
Date Posted: 25-Oct-2007 at 3:00pm
I have tried to alter the BasicGrid and the SummaryDetailView to use the DevForce products.
 
The basic grid throws an error and The SummaryGrid tab takes the whole control up and doesn't display the widgets.
 
Anyone changed these successfully?



Replies:
Posted By: Bill Jensen
Date Posted: 26-Oct-2007 at 10:04am
Sorry, I don't quite understand the question.  Please give me some more detail about what you're trying to do and what the problem is.
 
Bill J.


Posted By: orcities
Date Posted: 26-Oct-2007 at 10:16am
I can't really think of another way to say it but I will try.
 
The SummaryDetail view that is in the IdeaBlade.Cab.DevEx is acutally using the DotNet tab controll for the detail grid. I want to use the DevEx grid so my skinning will remain constant. But when I try the tab takes up all available space and does not load any of the widgets/views that should be on that tab.
 
The BasicGrid that is in the IdeaBlade.Cab.DevEx is using the DotNet Grid which then is changed to the DevEx grid depending on if you have DevEx installed. On the basic grid I want to change some of the NavBars features but I can't because I can not create a new BasicGrid in my Foundation Project. It gives me an error "Could not find an appropriately matching constructor." And that is before changing anything.


Posted By: Bill Jensen
Date Posted: 26-Oct-2007 at 3:28pm
You said:
 
The SummaryDetail view that is in the IdeaBlade.Cab.DevEx is acutally using the DotNet tab controll for the detail grid. I want to use the DevEx grid so my skinning will remain constant. But when I try the tab takes up all available space and does not load any of the widgets/views that should be on that tab.
 
You're right, the DevEx SummaryDetail view does use the standard DotNet TabWorkspace to display the view.  There is a DevEx version of the TabWorkspace in the ThirdParty.DevEx.CompositeUI.Extensions project in the CabanaLib solution.  You could try replacing the DotNet-based TabWorkspace with that, but I don't guarantee the results.
 
You also said:
 
The BasicGrid that is in the IdeaBlade.Cab.DevEx is using the DotNet Grid which then is changed to the DevEx grid depending on if you have DevEx installed.
 
My reading is that DevExGridView, defined in IdeaBlade.Cab.DevEx uses a DevEx grid.  DevExBasicGridView combines this with a DotNet NavigationBar.
 
On the basic grid I want to change some of the NavBars features but I can't because I can not create a new BasicGrid in my Foundation Project. It gives me an error "Could not find an appropriately matching constructor." And that is before changing anything.
 
GridViews are normally configured by setting their GridViewContext that is passed to their presenter via the workitem.  If that doesn't provide the facility you need, create a view that inherits from GridView with a custom presenter (inheriting from GridViewContextBase).
 
Does this help?
 
Bill J.


Posted By: orcities
Date Posted: 27-Oct-2007 at 9:27am

I have tried using the DevEx Tab control in place of the DotNet tab control. As I stated it takes up the whole available area and doesn't show any widgets/views.

 
The only change I made to the GridView was that I changed the color of the BindingNavigator to fit my design and I change the icons. And it gives me the error specified earlier. 


Posted By: orcities
Date Posted: 27-Oct-2007 at 9:29am

You said:

GridViews are normally configured by setting their GridViewContext that is passed to their presenter via the workitem.  If that doesn't provide the facility you need, create a view that inherits from GridView with a custom presenter (inheriting from GridViewContextBase).
 
In essence this is what I did. I grabbed the BasicGrid, which does the above, changed the class name and unregisterd the basicgrid and registered mine in its place. And I got the error specified.


Posted By: Bill Jensen
Date Posted: 30-Oct-2007 at 2:46pm

I have tried using the DevEx Tab control in place of the DotNet tab control. As I stated it takes up the whole available area and doesn't show any widgets/views.

I finally had a chance to take a look at this.  You're right, it doesn't work. 
 
The problem is that as currently implemented, TabViewControllers are bound to the WinForms TabWorkspace and do nothing with the DevEx version.  We understand how to fix this (and should), but probably won't be able to get to it for a while, so for now you're stuck with the Winforms version.
 
Sorry.
 
Bill J.


Posted By: orcities
Date Posted: 31-Oct-2007 at 7:07am
Ok. Please let us know when it is done.



Print Page | Close Window