This is a migrated thread and some comments may be shown as answers.

Cannot get .SelectValue

1 Answer 76 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Dwayne Starkey
Top achievements
Rank 1
Dwayne Starkey asked on 03 Dec 2009, 02:52 PM
I am using the Radlist view to hold our internal company's catalog. Within the catalog I have 3 buttons. One for adding to cart, viewing larger image, and seeing a components list. I am using the select command for cart, editing command for larger image, and update command for components list. 

If there is a better way please let me know.

My issue is when I select to see the larger image I cannot seem to use the .SelectValue to get the items ID within ItemEditing.  When I use the add to cart it works fine (Since this button is using the select command). What other way can I do this using VB and no javascript?

Thanks 

1 Answer, 1 is accepted

Sort by
0
Accepted
Iana Tsolova
Telerik team
answered on 04 Dec 2009, 10:34 AM
Hello Dwayne,

I suggest that you can handle the ItemCommand event of RadListView to implement your logic. There you use the GetDataKeyValue() property to the the current item value.
Find the sample project attached and see if it works for you.

All the best,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ListView
Asked by
Dwayne Starkey
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or