Hello,
I have got a grid. To create its footer I use a PagerTemplate. This is the code of my grid:
I don´t know if you have noticed but pagertemplate is taken from your online demos jeje.
My problem is that tooltips are not shown.
do you know why?
thank you in advance.
I have got a grid. To create its footer I use a PagerTemplate. This is the code of my grid:
| <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server"> |
| <script type="text/javascript"> |
| var tableView = null; |
| function pageLoad(sender, args) { |
| tableView = $find("<%= grdMaestro.ClientID %>").get_masterTableView(); |
| } |
| function RadComboBox1_SelectedIndexChanged(sender, args) { |
| tableView.set_pageSize(sender.get_value()); |
| } |
| function changePage(argument) { |
| tableView.page(argument); |
| } |
| function RadNumericTextBox1_ValueChanged(sender, args) { |
| tableView.page(sender.get_value()); |
| } |
| function PaginaDetalles(sender, eventArgs) { |
| window.location = "fweDetalle.aspx"; |
| } |
| </script> |
| </telerik:RadScriptBlock> |
| <asp:XmlDataSource ID="dsDatosMaestro" runat="server" DataFile="~/_Xml/DatosMaestro.xml"></asp:XmlDataSource> |
| <telerik:RadGrid ID="grdMaestro" runat="server" DataSourceID="dsDatosMaestro" AutoGenerateColumns="false" |
| AllowPaging="True" EnableEmbeddedSkins="False" Skin="OT" GridLines="Vertical" AllowMultiRowSelection="true" |
| ><%-- OnItemDataBound="grdMaestro_ItemDataBound" --%> |
| <PagerStyle Mode="NextPrev" PageButtonCount="5" PagerTextFormat="{4} Nº Registros: <strong>{5}</strong>" |
| FirstPageToolTip="Primera página" PrevPageToolTip="Página anterior" NextPageToolTip="Siguiente página" LastPageToolTip="Última página" /> |
| <MasterTableView CellSpacing="-1"> |
| <Columns> |
| <telerik:GridClientSelectColumn UniqueName="SelectColumn"> |
| <HeaderStyle width="25px" /> |
| <ItemStyle HorizontalAlign="Center" /> |
| </telerik:GridClientSelectColumn> |
| <telerik:GridBoundColumn DataField="Código" HeaderText="Código" SortExpression="Código" UniqueName="Código"> |
| <ItemStyle HorizontalAlign="Right" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="Nombre" HeaderText="Nombre" SortExpression="Nombre" UniqueName="Nombre"> |
| <ItemStyle HorizontalAlign="Left" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="Fecha" HeaderText="Fecha" SortExpression="Fecha" UniqueName="Fecha"> |
| <ItemStyle HorizontalAlign="Center" /> |
| </telerik:GridBoundColumn> |
| </Columns> |
| <PagerTemplate> |
| <span style="margin-top: 8px; margin-right: 5px; float: right;"> |
| <asp:Label ID="lblRegistro" runat="server" Text="Nº Registros: "></asp:Label> |
| <%# DataBinder.Eval(Container, "Paging.DataSourceCount")%> |
| </span> |
| <p style="margin: 0px;margin-top:3px; padding: 0px;float:left;margin-right:10px"> |
| <asp:Button ID="btn1" runat="server" OnClientClick="changePage('first'); return false;" |
| CommandName="Page" CommandArgument="Primero" CssClass="PagerButton FirstPage" /> |
| <asp:Button ID="btn2" runat="server" OnClientClick="changePage('prev'); return false;" |
| CommandName="Page" CommandArgument="Previo" CssClass="PagerButton PrevPage" /> |
| <span style="vertical-align: middle;"> |
| <asp:Label ID="lblPagina" runat="server" Text="Página:" /> |
| </span> |
| <telerik:RadNumericTextBox ID="RadNumericTextBox1" Skin="Office2007" Width="25px" |
| Value='<%# (int)DataBinder.Eval(Container, "Paging.CurrentPageIndex") + 1 %>' |
| runat="server"> |
| <ClientEvents OnValueChanged="RadNumericTextBox1_ValueChanged" /> |
| <NumberFormat DecimalDigits="0" /> |
| </telerik:RadNumericTextBox> |
| <span style="vertical-align: middle;"> |
| <asp:Label ID="Label1" runat="server" Text="de"></asp:Label> |
| <%# DataBinder.Eval(Container, "Paging.PageCount")%> |
| </span> |
| <asp:Button ID="btn3" runat="server" OnClientClick="changePage('next'); return false;" |
| CommandName="Page" CommandArgument="Siguiente" CssClass="PagerButton NextPage" /> |
| <asp:Button ID="btn4" runat="server" OnClientClick="changePage('last'); return false;" |
| CommandName="Page" CommandArgument="Ultimo" CssClass="PagerButton LastPage" /> |
| <asp:Panel runat="server" ID="NumericPagerPlaceHolder" > </asp:Panel> |
| </p> |
| </PagerTemplate> |
| </MasterTableView> |
| <ClientSettings EnableRowHoverStyle="true"> |
| <Selecting AllowRowSelect="True" /> |
| <ClientMessages /> |
| <ClientEvents OnRowDblClick="PaginaDetalles" /> |
| </ClientSettings> |
| </telerik:RadGrid> |
I don´t know if you have noticed but pagertemplate is taken from your online demos jeje.
My problem is that tooltips are not shown.
do you know why?
thank you in advance.