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

Drop Down Button in Tile's Header Template

5 Answers 58 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Paul Gallen
Top achievements
Rank 1
Paul Gallen asked on 14 Sep 2010, 10:42 AM
Hi
I have sucessfully, in Blend, templated a Tile's header template. In this template I have a drop down button. Its drop down content is a radCalendar. However, at runtime the drop down content is not shown. Is this scenario possible?

Thanks

P

5 Answers, 1 is accepted

Sort by
0
Paul Gallen
Top achievements
Rank 1
answered on 15 Sep 2010, 10:36 AM
HI

Is there any movement on this? Only because if this is not possible I will have to use another approach

Sorry for being a pest

P
0
Paul Gallen
Top achievements
Rank 1
answered on 15 Sep 2010, 04:24 PM
Anyone??
0
Tina Stancheva
Telerik team
answered on 17 Sep 2010, 10:26 AM
Hi Paul Gallen,

Please accept my apology for the delayed response. I am not sure if I understand your scenario correctly, so I prepared a sample project illustrating how to set a HeaderTemplate to a RadTileViewItem. It works as expected on our side. Can you please take a look at it and let me know if this is what you had in mind or if I am missing something.

Also, if you need to  display the DropDownButton's content at design-time, you can set the RadDropDownButton IsOpen property to True.

Also, you can use the RadDatePicker control instead of inserting a RadCalendar inside a RadDropDownButton. This approach is also illustrated in the attached example.

Regards,
Tina Stancheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Paul Gallen
Top achievements
Rank 1
answered on 20 Sep 2010, 09:38 AM
Thanks Tina,

Since I had no earlier response, I ditched the problematic template that I had created and embedded the required XAML in the radTileViewItem header section directly.

The code example that you supplied is exactly what I required.

Looking back over my template that I created, I had a stack panel instead of a grid for the container for the radDropDownButton. Although this rendered correctly in Blend (i.e. I could see the drop down content) at runtime this did not appear.

P
0
Tina Stancheva
Telerik team
answered on 23 Sep 2010, 11:12 AM
Hi Paul Gallen,

I am glad you worked it out, but I thought it's good to mention anyway that the issue is caused by the fact that the RadTileView control by default is stretched throughout the available space. Since the StackPanel's size is infinity, the RadTileView cannot be properly displayed unless its size is implicitely defined.

Kind regards,
Tina Stancheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TileView
Asked by
Paul Gallen
Top achievements
Rank 1
Answers by
Paul Gallen
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or