Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListView Control
Message
 
To
14/09/2004 09:52:58
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00941889
Message ID:
00941933
Views:
9
Bonnie,
Thanks for the reply. This should work except I need to use count-1 because of the zero based indexing. Correct?
int count = this.MyListView.Items.Count;
this.MyListView.Items[count - 1].Selected = true;
Einar

>>How do I go to (select) the last item in the Items collection at runtime in a ListView control?
>
>int count = this.MyListView.Items.Count;
>this.MyListView.Items[count].Selected = true;
>
>
>~~Bonnie
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform