AutoNavigateToSelectedRecord Property on Listview


Author
Message
Philipp Guntermann
Philipp Guntermann
StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)
Group: Forum Members
Posts: 141, Visits: 263
Hi,

i wasnt sure wether to post this in the Winforms or the Data Access Forum.

I have a Listview set up together with a buisness object and a maintance toolstrip. Adding, deleting, and stuff all works fine. Also when selecting an entry within the Listview, the BO will navigate to that row aswell.

Navigating the BO with the maintance Toolstrip works fine aswell, but what it doesnt do is update the selected row within the listview, even tho the listview property AutoNavigateToSelectedRecord is set to true.

Any Idea?

Thanks.

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
The listview doesn't do this. It navigates the BO when an item is selected, but it doesn't stay in synch when the BO is navigated. You can subclass the listview and make this happen though. I posted a sample that does this:



http://forum.strataframe.net/FindPost14966.aspx



However, this also replicates a lot of what the ListView does now. I have an updated version I'll try to post later today.
Philipp Guntermann
Philipp Guntermann
StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)
Group: Forum Members
Posts: 141, Visits: 263
thanks, i will have a look.

sadly i dont have VB-Support installed with Visual Studio. The CD's got somehow lost Smile

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