The ItemCreated event is fired twice when filtering: before the NeedDataSource and after the NeedDatasource.
I am using built in column filters.
Can you tell me if it's a bug please.
I could reproduce the behavior with versions 2013.1.403 and 2013.1.423
I am using built in column filters.
Can you tell me if it's a bug please.
I could reproduce the behavior with versions 2013.1.403 and 2013.1.423
<telerik:RadScriptManager ID="ScriptManager" runat="server" EnableEmbeddedjQuery="true" /> <telerik:RadGrid ID="RadGridTest" runat="server" AllowFilteringByColumn="true" OnNeedDataSource="RadGridTest_NeedDataSource" OnItemCreated="RadGridTest_ItemCreated" />protected void RadGridTest_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e){ RadGridTest.DataSource = new List<int>() { 1, 2, 3, 4, 5 };}protected void RadGridTest_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e){ if (e.Item is GridFilteringItem) { // this is fired twice when using grid filters Debug.WriteLine("filter created"); }}