Much as I enjoy the hunt for what I'm missing I hope someone out there will take pity on me and help me along the learning curve ;)
I have a listview databound to a LINQ query and all works fine. I need the user to be able to select an item, by clicking on it's icon and deleting it. So, in my ASPX I have this:
<asp:ImageButton ID="categoryImageBtn" OnClick="categoryBtn_Click" CommandName="Select" Height="30" Width="50" runat="server" ImageUrl='<%# Eval("ImagePath") %>' />
And in my codebehind I have this:
protected void myProjectListView_ItemCommand(object sender, RadListViewCommandEventArgs e)
if (e.CommandName == RadListView.SelectCommandName)
Label2.Text = "Bingo";
Just to see if it's working and needless to say... no luck :( I know the button works, as I wired up an onCLick event that fires fine.
I've tried various approaches in the tutorials with no luck.
I'd be very very grateful if someone could take a moment to point me in the right direction!