Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Mobile / July 2006

Tip: Looking for answers? Try searching our database.

ObjectList and ItemSelect event

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JJ - 26 Jul 2006 06:26 GMT
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?
Taoge - 27 Jul 2006 06:50 GMT
ObjectList1.Items[ObjectList1.SelectedIndex][ColumnIndex] hold the value .

Cheers

> 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.
[quoted text clipped - 8 lines]
>
> Anyone know how I can access those from that event?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.