Unable to populate strataframe listview


Author
Message
Dustin Taylor
Dustin Taylor
StrataFrame Team Member (652 reputation)
Group: StrataFrame Users
Posts: 364, Visits: 771
The .dlls will show that since we haven't moved to "Production" in the build yet. But it is the 1.6.6 release Smile.
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
Hi Ivan,

Yes, suppose to be, but when installed, what I get as a version is  1.6.5.3, what version does the SF shows for you?



Edhy Rijo

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hey Edhy!

Just clarifying... isn't it 1.6.6 the latest beta released?

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
Hi Marcia,

Even though you will not be using a ListView, I think what you may have missed is the PopulateOnFormLoad value of the listview and you will need at some point to requery the listview to show the data.

Take a look at the StrataFlix sample application in the sample forums to see a couple of sample of how to use the ListView properly.  Also make sure you are running the latest beta 1.6.5.3 posted in the Released forum, it is pretty stable and have many enhancements for the ListView.

Edhy Rijo

Marcia G Akins
Marcia G Akins
StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Never mind - I gave up and decided to use a combo box instead and I have that working.

Thanks anyway

Marcia G Akins
Marcia G Akins
StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Hello All.

I created a business object to retrieve all the lookup categories in my lookup_hdr table called BOLookupCategories. It has a method called GetAllCategories with this code:

public void GetAllCategories()

{

SqlCommand loCommand = new SqlCommand();

loCommand.CommandType = CommandType.StoredProcedure;

loCommand.CommandText = "prcGetLupHdr";

this.FillDataTable(loCommand);

}

I then dropped a strataframe listview on to my windows form and set its properties as follows:

BusinessObjectType: BOLookupCategories

Method to Execute: GetAllCategories()

Tag Field: luphdr_pk

When I run the form, my listview shows up empty. No errors. When I step through the code, it shows me that my business object is getting populated. This should be dead simple. So what stupid thing am I doing wrong?

TIA.

Marcia


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