Can I Cast a Generic List by Type??
- by CrazyJoe
NavigatorItem NavItem = (NavigatorItem)cboItems.SelectedItem;
lblTitle.Text = NavItem.Title;
RadWrapPanel Panel = new RadWrapPanel();
Type t = NavItem.ItemsType; //<------ The Type inside my List is here.
List<???> items = (List<???>)NavItem.Items; // <----Here Is the problem
foreach…