IgniteUI / igniteui-blazor

Ignite UI for Blazor component library packs 35+ native Blazor UI Controls with 60+ high-performance Charts designed for any Blazor WASM or Server-side app scenario.
https://www.infragistics.com/products/ignite-ui-blazor
3 stars 3 forks source link

Invalid cast Exception accessing collections from IgbGrid #117

Closed mddifilippo89 closed 3 months ago

mddifilippo89 commented 5 months ago

Description

Steps to reproduce

  1. Run sample
  2. Click Button
  3. Check console

Result

blazor.webassembly.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Specified cast is not valid. System.InvalidCastException: Specified cast is not valid. at IgniteUI.Blazor.Controls.BaseRendererControl.ReturnToObject[IgbColumn[]](Object val) at IgniteUI.Blazor.Controls.IgbGridBaseDirective.GetVisibleColumns() at Infragistics.Samples.App.OnAfterRenderAsync(Boolean firstRender) in C:\Users\mdifilippo.INFRAGISTICS\Documents\GitHub\igniteui-blazor-examples\samples\grids\grid\column-hiding-options\App.razor:line 151

Expected result

Methods and properties should be accessible.

Attachments

column-hiding-options.zip