Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

ListView

$
0
0
Hello A L,

Thank you for writing.

You should be able to use the CurrentItemChanging event, however, it appears that there is an issue with the event and the item is changed event if the Cancel property is set to true. I have logged the issue in our Feedback Portal. You can track the item for status changes and add your vote for it here.

To workaround this you can use the SelectedIndexChanged event:
private void RadListView1_SelectedIndexChanged(object sender, EventArgs e)
{
    this.radListView1.SelectedIndexChanged -= RadListView1_SelectedIndexChanged;
    this.radListView1.SelectedIndex = 0;
    this.radListView1.SelectedIndexChanged += RadListView1_SelectedIndexChanged;
}

Your Telerik Points have been updated for this report.

Should you have any other questions do not hesitate to ask.
 
Regards,
Dimitar
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.

Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>