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

Bug with RadDataBoundListBox Footer and EmptyContent

3 Answers 20 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 1
Michael asked on 19 Nov 2014, 06:11 PM
I have noticed a bug in RadDataBoundListBox  when you enable EmptyContent and also have a ListFooterTemplate defined.  Instead of having the footer displayed below the EmptyContentTemplate it is displayed behind it.

Steps to repro:
1. Add RadDataBoundListBox and configure EmptyContent string along with a EmptyContentTemplate (TextBlock in StackPanel)
2. Define a ListFooterTemplate and add a few controls

When you view, you will notice that they overlap instead of having the Empty Content displayed on top of the footer

3 Answers, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 24 Nov 2014, 02:55 PM
Hello Michael,

Thank you for contacting us.

I tried to reproduce this bug following the described steps, but unfortunately to no avail. I have attached the test application. Could you please take a look and modify it in order to reproduce the issue.

I look forward to your reply.

Regards,
Rosy Topchiyska
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Michael
Top achievements
Rank 1
answered on 24 Nov 2014, 03:13 PM
If you look at your example, you will see that you only see the footer portion.  The empty content is not visible.  Only when I comment out the ListFooterTemplate can I see the Empty Content message.
0
Rosy Topchiyska
Telerik team
answered on 27 Nov 2014, 02:33 PM
Hi Michael,

Now I understand what you have meant in your previous post. This happens because the EmptyContent is displayed when the list box is completely empty. While there is a footer, the list box is not empty and the EmptyContent is not displayed. We will think of a way to extend the current functionality of the EmptyContentDisplayMode property to support your scenario. Until then, I can suggest that you add the empty content to the footer and show it when the ItemsSource is empty.

I hope this helps. I have added Telerik points to your account for reporting this issue. Please, let us know if you have further questions.

Regards,
Rosy Topchiyska
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Tags
DataBoundListBox
Asked by
Michael
Top achievements
Rank 1
Answers by
Rosy Topchiyska
Telerik team
Michael
Top achievements
Rank 1
Share this question
or