<
PagerTemplate>
<table border="0" cellpadding="2" cellspacing="0" style="height: 20px" align="right">
<tr>
<td valign="baseline">
<%# ((int)DataBinder.Eval(Container, "OwnerTableView.CurrentPageIndex")+ 1) * (int)DataBinder.Eval(Container, "Paging.PageSize") - 4%>
-
<%
# ((int)DataBinder.Eval(Container, "OwnerTableView.CurrentPageIndex") + 1) * (int)DataBinder.Eval(Container, "Paging.PageSize") - 5 + (int)DataBinder.Eval(Container, "Paging.Count")%> of
<%
# DataBinder.Eval(Container, "Paging.DataSourceCount")%>
|
<asp:LinkButton CssClass="pagination" ID="lbPrev" Enabled='<%# (int)DataBinder.Eval(Container, "OwnerTableView.CurrentPageIndex") !=0 %>' CommandName="Page" CausesValidation="false" CommandArgument="Prev" runat="server">
<%=Resources.Resource.strPrev_Paging%></asp:LinkButton>
|
</td>
<td valign="baseline">
<%=Resources.Resource.strPage%><asp:DropDownList ID="tbPageNumber" CssClass="forminputcomboPagination" runat="server" onchange="javascript:this.disabled = true;this.nextSibling.click();" />
<asp:LinkButton CssClass="pagination" ID="LinkButton4" runat="server" CommandName="CustomChangePage"></asp:LinkButton>
</td>
<td valign="baseline">
|
<asp:LinkButton CssClass="pagination" ID="lbNext" Enabled='<%# (int)DataBinder.Eval(Container, "OwnerTableView.CurrentPageIndex") != (int)DataBinder.Eval(Container, "Paging.PageCount")-1 %>' CommandName="Page" CausesValidation="false" CommandArgument="Next" runat="server">
<%=Resources.Resource.strNext_Paging%></asp:LinkButton>
</td>
</tr>
</table></PagerTemplate>
It worked fine until recently when I encountered an "Object doesn't support this property or method." error message when I select from the dropdown. In View Source, the entire grid is not visible. I tried using Style["Display"] instead of the Visible property but I still encounter the same error.
What can I do?