Completed
Last Updated: 31 Jan 2024 11:39 by ADMIN
Release 2024 Q1 (2024.1.130)
Blake
Created on: 09 Oct 2023 09:40
Category: CardView
Type: Bug Report
0
RadCardView: SelectedGroup property inside a TabbedGroup is not respected when loading layout
I have it set as the SelectedGroup in the XML file and I have the other tab's visibility set to Collapsed, but it still opens on the 2nd tab (Characteristics) instead of the first.
1 comment
ADMIN
Nadya | Tech Support Engineer
Posted on: 09 Oct 2023 09:56

Hello, Blake,

Currently, to select the first group item you can use the following code snippet:

RadLayoutControl layoutcontrol = this.radCardView1.CardTemplate as RadLayoutControl;
CardViewGroupItem group = layoutcontrol.Items[0] as CardViewGroupItem;
LayoutControlTabbedGroup tg = group.Items[0] as LayoutControlTabbedGroup;
tg.SelectedGroup = tg.ItemGroups[0] as LayoutControlGroupItem;

Regards,
Nadya
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.