Grids Not from StrataFrame


Author
Message
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
I have been trying to get my head around this product for about 6 hours know, and could not figure out what i was doing wrong.

Sorry about the frustrations, hopefully you'll get it working and see how smooth it is Smile

Thanks for sorting out the other problem so promptly, never seen support like that before.

Thank you for the compliment.  We try to handle all of the problems we receive as promptly as possible.  Thankfully, this was a quick fix.  I've got a couple improvements on my plate right now that aren't quick fixes Sad

Wayne Van Rooyen
Wayne Van Rooyen
StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)
Group: Forum Members
Posts: 15, Visits: 33
Hi,

Whatever you did it is working, thank goodness. I have been trying to get my head around this product for about 6 hours know, and could not figure out what i was doing wrong.

One a second note there is a sample of ChildDialog in C#. Where in the help manual does it show how this is done with explanations, i would like to jst have one devex grid that when double clicked opens the child form with the selected record in edit mode.

Thanks for sorting out the other problem so promptly, never seen support like that before.

Regards Wayne

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
Wayne,

Try this version and see if it corrects your problem with the auto-generated columns.  I tweaked the ITypedList interface methods to see if it would help.  You'll need to uninstall the version you have before installing this version, but you don't have to re-activate, or deploy the database again.

Attachments
StrataFrame.zip (135 views, 27.00 MB)
Wayne Van Rooyen
Wayne Van Rooyen
StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)
Group: Forum Members
Posts: 15, Visits: 33
It does it with all grids. All BO have been rebuilt. Which version do you have intalled that it works on.
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
Hrm, that's the correct process, and no, that's not the functionality you should be receiving.  The grid should populate with all of the columns that belong to that business object (cust_pk, cust_fname, cust_lname, etc.).  If you're only getting 1 column then something is wrong.  Do you get the same functionality when you use a standard DataGridView and set it's DataSource, or are the columns created correctly?

Out of curiosity, have you gone through the Business Object Mapper for your CustomersBO and built the partial class for it?  You'll need to make sure the partial class has been created and the project built before the columns will be auto-generated...

Wayne Van Rooyen
Wayne Van Rooyen
StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)
Group: Forum Members
Posts: 15, Visits: 33
I dont see what i am doing wrong here then.
1) I have a customerBO on a form
2) Place a BusinessBindingSoruce on form
3) Select CustomerBO for the BusinessObejct in the BusinessBindingSource
4) Drop a grid (either infragisitcs/devexpress  on the form
5) Set Datasource to BusinessBindingSource
6) Both grids do not show all columns they show 1 column called "column"

Is this the incorrect method also what version should i be using for this to work.

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
The columns will not appear unless the BusinessObject property is already set on the BusinessBindingSource before the BusinessBindingSource is set as the DataSource for the grid.  Configure the BusinessBindingSource first and then set it as the DataSource for the grid, and the columns will be auto-generated.
Wayne Van Rooyen
Wayne Van Rooyen
StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)StrataFrame Beginner (19 reputation)
Group: Forum Members
Posts: 15, Visits: 33
Based on the documentation we can place a binding source on the form and set that to a BO and bind a grid to the bindingsource. Under normal circumstances once you bind to a datasource you have the option of setting up columns in the grids as they are populated from the bindingsource. Using third party controls (infragistics) we dont see any columns in the grid designer. Is this normal, how do we set column captions etc etc.
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