all groups > asp.net mobile > july 2006 >
You're in the

asp.net mobile

group:

ObjectList and ItemSelect event


ObjectList and ItemSelect event JJ
7/26/2006 1:26:53 AM
asp.net mobile:
I'm using the ObjectList control and I need to execute some code when an
item is selected from the list view, as it goes into the details view.

I get the ItemSelect event, but can't figure out how I get the information
about the item selected.

I can see that the ObjectList.SelectedIndex is set to the index of the item
selected, and e.ListItem[0] returns the text displayed for the item
selected, but that's all I can find - ideally I would like to get the values
of the detail fields for the selected item.

Anyone know how I can access those from that event?

Re: ObjectList and ItemSelect event Taoge
7/27/2006 12:00:00 AM
ObjectList1.Items[ObjectList1.SelectedIndex][ColumnIndex] hold the value .

Cheers

[quoted text, click to view]

AddThis Social Bookmark Button