I just switched from 2011 Q3 to 2012 Q1 (2012.1.215.40) and the datapager on my main search page instantly became visible in both firefox and chrome. It used to be invisible, as I've done this:
The control is intended to be hidden when no results are found, i.e. PageCount != 1. This used to work. Now, the datapager is rendered as a gray box with this HTML
I would consider this to be a bug.
Any idea for a workaround until a fix is ready?
Best regards
Jan
<
telerik:RadDataPager
ID
=
"uiDataPager1"
runat
=
"server"
PagedControlID
=
"uiSearchResults"
PageSize
=
"10"
Visible='<%# Container.PageCount != 1%>'
>
The control is intended to be hidden when no results are found, i.e. PageCount != 1. This used to work. Now, the datapager is rendered as a gray box with this HTML
<
div
id
=
"ctl00_MainContent_uiSearchResults_uiDataPager1"
class
=
"RadDataPager RadDataPager_Default"
>
<
input
type
=
"hidden"
name
=
"ctl00_MainContent_uiSearchResults_uiDataPager1_ClientState"
id
=
"ctl00_MainContent_uiSearchResults_uiDataPager1_ClientState"
autocomplete
=
"off"
>
</
div
>
I would consider this to be a bug.
Any idea for a workaround until a fix is ready?
Best regards
Jan