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

TileGroup type not found

5 Answers 61 Views
TileList
This is a migrated thread and some comments may be shown as answers.
Keaire
Top achievements
Rank 1
Keaire asked on 26 Jan 2014, 11:37 PM
Trying to dynamically create TileGroups in code behind, but for some reason, Telerik.Windows.Controls doesn't not contain the TileGroup type.

Any help?

5 Answers, 1 is accepted

Sort by
0
Keaire
Top achievements
Rank 1
answered on 27 Jan 2014, 04:07 PM
Eh! I was able to figure things out.
0
Keaire
Top achievements
Rank 1
answered on 04 Feb 2014, 02:03 AM
For some reason, I can't seem to get the TileGroup Header to appear.
0
Maya
Telerik team
answered on 04 Feb 2014, 07:53 AM
Hello Keaire,

Could you verify whether you have GroupTemplate defined ? 

Regards,
Maya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Keaire
Top achievements
Rank 1
answered on 08 Feb 2014, 07:40 PM
Yes, a group template is defined. The funny thing, is that it will only populate some times.

Here is what I'm doing:

1) Hit a service to retrieve user rights.
2) Bind RadTileList.ItemsSource to ViewModel's ObservableCollection<UserRights> property
3) Use RadTileList_AutoGeneratingTile event to set the given Tile's Group to one of the TileGroup items stored within a static collection in the code behind.

I also tried implementing an example for TileList selection using an Extension I found here - without luck.

Goals:

1) Dynamically generate tile groups.
2) Grab the selected UserRight stored within the selected tile and perform navigation.
0
Maya
Telerik team
answered on 13 Feb 2014, 08:30 AM
Hello Keaire,

I am attaching a sample project illustrating how you can set groups dynamically. Does it correspond to your scenario ? 

Regards,
Maya
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

Tags
TileList
Asked by
Keaire
Top achievements
Rank 1
Answers by
Keaire
Top achievements
Rank 1
Maya
Telerik team
Share this question
or