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

SelectionChanging Event problem after update.

1 Answer 43 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Felipe
Top achievements
Rank 1
Felipe asked on 19 Feb 2015, 01:08 PM
Hello,

I did an update on my Telerik WinForms from 2013 Q3 to 2014 Q3.

And here is what happened:

There was a lot of SelectionChanging events on my grids and they were called like this:

private void gridXml_SelectionChanging(object sender, CancelEventArgs e)
{
      DoSomething();
}

And after the update I noticed that all my grids had lost their SelectionChanging event and I couldn't select the events that I used before.

So I created a new SelectionChanging and noticed that it had a different parameter:

private void gridXml_SelectionChanging(object sender, Telerik.WinControls.UI.GridViewSelectionCancelEventArgs e)
{

}

Now I changed all my old SelectionChanging to this new one.

What I want to know if this happened because of the big gap on my updates or if it would have happened anyway on the version that this changed.

Thanks.


1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 24 Feb 2015, 09:55 AM
Hello Felipe,

Thank you for writing.

This is an improvement which was introduced in our Q2 2014 (version 2014.2.617) release. From then on, the GridViewSelectionCancelEventArgs keeps delivering information about the current selection and the new selection. You can refer to the release notes for more information.

This change has nothing to do with the big gap between your updates, it would have happened anyway when the improvement got introduced.

I hope this helps. Should yo have further questions please do not hesitate to write back.

Regards,
Hristo Merdjanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
GridView
Asked by
Felipe
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or