Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

Listview with multiple select linkbuttons

Is it possible to have two linkbuttons on a listview row with a Command Name of Select? And if so, how do I determine which one was clicked in the SelectedIndexChanged event? I need to be able to run a query using the data in either button.   I tried using the ID but the name changes at runtime.
0
EDCTECH
Asked:
EDCTECH
1 Solution
 
Easwaran ParamasivamCommented:
In Listview_ItemCommand you can identify which button was clicked.

http://weblogs.asp.net/jeffwids/archive/2009/12/08/handle-the-button-click-event-from-an-asp-net-listview-control.aspx contains example.
0
 
EDCTECHAuthor Commented:
Got it. Thank you!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now