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

ListHeader and EmptyContent

2 Answers 27 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.
Scott Lovegrove
Top achievements
Rank 1
Scott Lovegrove asked on 12 Nov 2013, 04:01 PM
I'm using the DataBoundListBox with some empty content defined, and also a ListHeader template/content defined as well. Unfortunately, when the ListHeader is added, it stops my empty content from showing, even if there is no actual content in the DataBoundListBox

I'm told that this is fixed in the latest internal release, but I'm not seeing it, or I'm not seeing the option that will make it work. Any guidance on this?

EDIT: sorry, for clarification, I'm seeing this with the ListFooter, not ListHeader (although probably the same problem)

2 Answers, 1 is accepted

Sort by
0
Scott Lovegrove
Top achievements
Rank 1
answered on 12 Nov 2013, 10:23 PM
Found it.

ListFooterDisplayMode="WithDataItems"
0
Deyan
Telerik team
answered on 13 Nov 2013, 09:38 AM
Hi Scott,

Thanks for writing.

The ListFooterDisplayMode and ListHeaderDisplayMode are the properties that you should be using to define the behavior of the footer and header in your case. We will be updating our online help soon regarding these new APIs.

Let us know should you have additional questions.

Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
DataBoundListBox
Asked by
Scott Lovegrove
Top achievements
Rank 1
Answers by
Scott Lovegrove
Top achievements
Rank 1
Deyan
Telerik team
Share this question
or