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

Paging buttons are not visible

1 Answer 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dariusz Tomoń
Top achievements
Rank 1
Dariusz Tomoń asked on 29 Aug 2008, 11:24 AM
Hi,

I've got two RadGrid objects in my project. Both of them have "allowpaging" set for "true".
The problem is that I cannot see buttons for paging. I footer I can only see this one:
Change page:  
 Displaying page 1 of 2, items 1 to 10 of 11.

I wonder what could be the problem with displaying buttons because thera are buttons but icons are not shown.

Here is my code:

<%

@ Page Language="C#" AutoEventWireup="true" CodeBehind="projekt.aspx.cs" Inherits="dns.projekt" %>

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<

html xmlns="http://www.w3.org/1999/xhtml" >

<

head runat="server">

<title>Untitled Page</title>

</

head>

<

body>

<form id="form1" runat="server">

<div>

<asp:ScriptManager ID="ScriptManager1" runat="server">

</asp:ScriptManager>

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px"

Width="75px">

<img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'

style="border: 0px;" />

</telerik:RadAjaxLoadingPanel>

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">

<AjaxSettings>

<telerik:AjaxSetting AjaxControlID="RadComboBox_Branze">

<UpdatedControls>

<telerik:AjaxUpdatedControl ControlID="RadComboBox_Branze" LoadingPanelID="RadAjaxLoadingPanel1" />

</UpdatedControls>

</telerik:AjaxSetting>

<telerik:AjaxSetting AjaxControlID="btn_DodajBranze">

<UpdatedControls>

<telerik:AjaxUpdatedControl ControlID="RadGrid_Branze" LoadingPanelID="RadAjaxLoadingPanel1" />

<telerik:AjaxUpdatedControl ControlID="RadGrid_Branze_Waiting" LoadingPanelID="RadAjaxLoadingPanel1" />

<telerik:AjaxUpdatedControl ControlID="RadWindow_Zamowienie_Branza_Dubel" LoadingPanelID="RadAjaxLoadingPanel1" />

<telerik:AjaxUpdatedControl ControlID="RadWindow_Zamowienie_Branza_Nowa" LoadingPanelID="RadAjaxLoadingPanel1" />

</UpdatedControls>

</telerik:AjaxSetting>

<telerik:AjaxSetting AjaxControlID="TextBox1">

<UpdatedControls>

<telerik:AjaxUpdatedControl ControlID="RadComboBox_Branze" LoadingPanelID="RadAjaxLoadingPanel1" />

</UpdatedControls>

</telerik:AjaxSetting>

<telerik:AjaxSetting AjaxControlID="RadGrid_Branze">

<UpdatedControls>

<telerik:AjaxUpdatedControl ControlID="RadGrid_Branze" LoadingPanelID="RadAjaxLoadingPanel1" />

</UpdatedControls>

</telerik:AjaxSetting>

<telerik:AjaxSetting AjaxControlID="RadGrid_Branze_Waiting">

</telerik:AjaxSetting>

</AjaxSettings>

</telerik:RadAjaxManager>

&nbsp;

<br />

<telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1"

SelectedIndex="2" Skin="Sunset">

<Tabs>

<telerik:RadTab runat="server" Text="Moduły Standard">

</telerik:RadTab>

<telerik:RadTab runat="server" Text="Moduły Extra">

</telerik:RadTab>

<telerik:RadTab runat="server" Text="Branża" Selected="True">

</telerik:RadTab>

<telerik:RadTab runat="server" Text="Info dodatkowe">

</telerik:RadTab>

</Tabs>

</telerik:RadTabStrip>

<telerik:RadMultiPage ID="RadMultiPage1" runat="server" BorderColor="Gray" BorderStyle="Solid"

BorderWidth="1px" SelectedIndex="2">

<telerik:RadPageView ID="ModulyStandard" runat="server">

<table cellpadding="10" border="1">

<tr>

<td>

<asp:Label ID="lbl_Zamowienie" runat="server" Text="Zamówienie_CC"></asp:Label>

</td>

<td>

<telerik:RadNumericTextBox ID="RadNumericTextBox_Zamowienie_CC" runat="server" ReadOnly="True">

<NumberFormat AllowRounding="True" DecimalDigits="0" GroupSizes="9" />

</telerik:RadNumericTextBox>

</td>

<td>

</td>

</tr>

<tr>

<td>

<asp:Label ID="Label2" runat="server" Text="Zamówienie_DNS"></asp:Label></td>

<td>

<telerik:RadNumericTextBox ID="RadNumericTextBox_Zamowienie_DNS" runat="server" ReadOnly="True">

<NumberFormat AllowRounding="True" DecimalDigits="0" GroupSizes="9" />

</telerik:RadNumericTextBox></td>

<td>

</td>

</tr>

<tr>

<td>

</td>

<td>

</td>

<td>

</td>

</tr>

</table>

</telerik:RadPageView>

<telerik:RadPageView ID="ModulyExtra" runat="server">

<telerik:RadCalendar ID="RadCalendar2" runat="server" Font-Names="Arial, Verdana, Tahoma"

ForeColor="Black" Skin="Default" Style="border-left-color: #ececec; border-bottom-color: #ececec;

border-top-color: #ececec; border-right-color: #ececec">

</telerik:RadCalendar>

</telerik:RadPageView>

<telerik:RadPageView ID="Branza" runat="server">

&nbsp;

<table width="500px">

<tr>

<td>

<telerik:RadComboBox ID="RadComboBox_Branze" runat="server" DataTextField="NAZWA_BRANZA"

DataValueField="idTB_BRANZA" EnableLoadOnDemand="True" OnItemsRequested="RadComboBox_Branze_ItemsRequested"

Width="300px" >

<CollapseAnimation Duration="200" Type="OutQuint" />

</telerik:RadComboBox>

</td>

<td style="width: 3px">

</td>

</tr>

<tr>

<td>

<asp:Button ID="btn_DodajBranze" runat="server" OnClick="btn_DodajBranze_Click" Text="Dodaj" CssClass="Przycisk" /></td>

<td style="width: 3px">

</td>

</tr>

<tr>

<td>

</td>

<td style="width: 3px">

</td>

</tr>

<tr>

<td>

Branże dodane do zamówienia:

</td>

<td style="width: 3px">

</td>

</tr>

<tr>

<td>

<telerik:RadGrid ID="RadGrid_Branze" runat="server" AllowAutomaticDeletes="True"

AutoGenerateDeleteColumn="True" DataSourceID="SqlDataSource_Branza_Zamowienia"

GridLines="None" Skin="Default" AllowPaging="True" AllowSorting="True">

<MasterTableView AutoGenerateColumns="False" DataKeyNames="id" DataSourceID="SqlDataSource_Branza_Zamowienia">

<RowIndicatorColumn Visible="False">

<HeaderStyle Width="20px" />

</RowIndicatorColumn>

<ExpandCollapseColumn Resizable="False" Visible="False">

<HeaderStyle Width="20px" />

</ExpandCollapseColumn>

<Columns>

<telerik:GridBoundColumn DataField="id" DataType="System.Int32" HeaderText="id" ReadOnly="True"

SortExpression="id" UniqueName="id">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="NAZWA_BRANZA" HeaderText="NAZWA_BRANZA" SortExpression="NAZWA_BRANZA"

UniqueName="NAZWA_BRANZA">

</telerik:GridBoundColumn>

</Columns>

<EditFormSettings>

<PopUpSettings ScrollBars="None" />

</EditFormSettings>

</MasterTableView>

<PagerStyle AlwaysVisible="True"/>

</telerik:RadGrid></td>

</tr>

<tr>

<td>

Branże oczekujące:

</td>

<td style="width: 3px">

</td>

</tr>

<tr>

<td>

<telerik:RadGrid ID="RadGrid_Branze_Waiting" runat="server" AllowAutomaticDeletes="True"

AllowPaging="True" AllowSorting="True" AutoGenerateDeleteColumn="True" DataSourceID="SqlDataSource_Branza_Zamowienia_Waiting"

GridLines="None" Skin="Sunset">

<MasterTableView AutoGenerateColumns="False" DataKeyNames="id" DataSourceID="SqlDataSource_Branza_Zamowienia_Waiting">

<RowIndicatorColumn Visible="False">

<HeaderStyle Width="20px" />

</RowIndicatorColumn>

<ExpandCollapseColumn Resizable="False" Visible="False">

<HeaderStyle Width="20px" />

</ExpandCollapseColumn>

<Columns>

<telerik:GridBoundColumn DataField="id" DataType="System.Int32" HeaderText="id" ReadOnly="True"

SortExpression="id" UniqueName="id">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="NAZWA_BRANZA" HeaderText="NAZWA_BRANZA" SortExpression="NAZWA_BRANZA"

UniqueName="NAZWA_BRANZA">

</telerik:GridBoundColumn>

</Columns>

<EditFormSettings>

<PopUpSettings ScrollBars="None" />

</EditFormSettings>

</MasterTableView>

</telerik:RadGrid></td>

<td style="width: 3px">

</td>

</tr>

</table>

&nbsp;&nbsp;<br />

&nbsp;<br />

<br />

<br />

<br />

</telerik:RadPageView>

<telerik:RadPageView ID="RadPageView4" runat="server">

<telerik:RadGrid ID="RadGrid_PG" runat="server">

<MasterTableView>

<RowIndicatorColumn Visible="False">

<HeaderStyle Width="20px" />

</RowIndicatorColumn>

<ExpandCollapseColumn Resizable="False" Visible="False">

<HeaderStyle Width="20px" />

</ExpandCollapseColumn>

<EditFormSettings>

<PopUpSettings ScrollBars="None" />

</EditFormSettings>

</MasterTableView>

</telerik:RadGrid></telerik:RadPageView>

</telerik:RadMultiPage>

<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" Skin="Vista" />

</div>

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:euroadres_local %>"

SelectCommand="select top 1 * from tb_firma"></asp:SqlDataSource>

<asp:SqlDataSource ID="SqlDataSource_Branze" runat="server" ConflictDetection="CompareAllValues"

ConnectionString="<%$ ConnectionStrings:euroadres_local %>" DeleteCommand="DELETE FROM [DNS_TB_ZAMOWIENIA_BRANZE] WHERE [id] = @original_id AND [id_branza] = @original_id_branza"

InsertCommand="INSERT INTO [DNS_TB_ZAMOWIENIA_BRANZE] (id_branza,[id_zamowienie]) VALUES (@id_branza,@id_zamowienie2)"

OldValuesParameterFormatString="original_{0}" SelectCommand="SELECT id_branza, TB_BRANZA.NAZWA_BRANZA as branza &#13;&#10;FROM &#13;&#10;TB_BRANZA INNER JOIN&#13;&#10;DNS_TB_ZAMOWIENIA_BRANZE ON &#13;&#10;TB_BRANZA.idTB_BRANZA = DNS_TB_ZAMOWIENIA_BRANZE.id_branza where idTB_JEZYK=1 AND ([id_zamowienie] = @id_zamowienie) order by TB_BRANZA.NAZWA_BRANZA"

UpdateCommand="UPDATE [DNS_TB_ZAMOWIENIA_BRANZE] SET [id_branza] = @id_branza WHERE [id] = @original_id AND [id_branza] = @original_id_branza">

<SelectParameters>

<asp:ControlParameter ControlID="RadNumericTextBox_Zamowienie_DNS" Name="id_zamowienie"

PropertyName="Text" Type="Int32" />

</SelectParameters>

<DeleteParameters>

<asp:Parameter Name="original_id" Type="Int32" />

<asp:Parameter Name="original_id_branza" Type="Int32" />

</DeleteParameters>

<UpdateParameters>

<asp:Parameter Name="id_branza" Type="Int32" />

<asp:Parameter Name="original_id" Type="Int32" />

<asp:Parameter Name="original_id_branza" Type="Int32" />

</UpdateParameters>

<InsertParameters>

<asp:Parameter Name="id_branza" Type="Int32" />

<asp:ControlParameter ControlID="RadNumericTextBox_Zamowienie_DNS" Name="id_zamowienie2"

PropertyName="Text" Type="Int32" />

</InsertParameters>

</asp:SqlDataSource>

<asp:SqlDataSource ID="SqlDataSource_Branza_Zamowienia" runat="server" ConnectionString="<%$ ConnectionStrings:euroadres_local %>"

DeleteCommand="DELETE FROM [DNS_TB_ZAMOWIENIA_BRANZE] WHERE [id] = @id" InsertCommand="INSERT INTO [DNS_TB_ZAMOWIENIA_BRANZE] ([id_zamowienie], [id_branza], [akcept]) VALUES (@id_zamowienie, @id_branza, 1)"

SelectCommand="SELECT DNS_TB_ZAMOWIENIA_BRANZE.id, TB_BRANZA.NAZWA_BRANZA &#13;&#10;FROM DNS_TB_ZAMOWIENIA_BRANZE INNER JOIN&#13;&#10;TB_BRANZA ON DNS_TB_ZAMOWIENIA_BRANZE.id_branza = TB_BRANZA.idTB_BRANZA&#13;&#10;WHERE ([id_zamowienie] = @id_zamowienie) AND akcept=1"

UpdateCommand="UPDATE [DNS_TB_ZAMOWIENIA_BRANZE] SET [id_zamowienie] = @id_zamowienie, [id_branza] = @id_branza WHERE [id] = @id">

<SelectParameters>

<asp:ControlParameter ControlID="RadNumericTextBox_Zamowienie_DNS" Name="id_zamowienie"

PropertyName="Text" Type="Int32" />

</SelectParameters>

<DeleteParameters>

<asp:Parameter Name="id" Type="Int32" />

</DeleteParameters>

<UpdateParameters>

<asp:Parameter Name="id_zamowienie" Type="Int32" />

<asp:Parameter Name="id_branza" Type="Int32" />

<asp:Parameter Name="id" Type="Int32" />

</UpdateParameters>

<InsertParameters>

<asp:Parameter Name="id_zamowienie" Type="Int32" />

<asp:Parameter Name="id_branza" Type="Int32" />

</InsertParameters>

</asp:SqlDataSource><asp:SqlDataSource ID="SqlDataSource_Branza_Zamowienia_Waiting" runat="server" ConnectionString="<%$ ConnectionStrings:euroadres_local %>"

DeleteCommand="DELETE FROM [DNS_TB_ZAMOWIENIA_BRANZE] WHERE [id] = @id" InsertCommand="INSERT INTO [DNS_TB_ZAMOWIENIA_BRANZE] ([id_zamowienie], [id_branza]) VALUES (@id_zamowienie, @id_branza)"

SelectCommand="SELECT DNS_TB_ZAMOWIENIA_BRANZE.id, DNS_TB_BRANZA_WAITING.NAZWA_BRANZA&#13;&#10;FROM DNS_TB_BRANZA_WAITING INNER JOIN&#13;&#10; DNS_TB_ZAMOWIENIA_BRANZE ON DNS_TB_BRANZA_WAITING.id = DNS_TB_ZAMOWIENIA_BRANZE.id_branza&#13;&#10;WHERE ([id_zamowienie] = @id_zamowienie) AND akcept=0"

UpdateCommand="UPDATE [DNS_TB_ZAMOWIENIA_BRANZE] SET [id_zamowienie] = @id_zamowienie, [id_branza] = @id_branza WHERE [id] = @id">

<SelectParameters>

<asp:ControlParameter ControlID="RadNumericTextBox_Zamowienie_DNS" Name="id_zamowienie"

PropertyName="Text" Type="Int32" />

</SelectParameters>

<DeleteParameters>

<asp:Parameter Name="id" Type="Int32" />

</DeleteParameters>

<UpdateParameters>

<asp:Parameter Name="id_zamowienie" Type="Int32" />

<asp:Parameter Name="id_branza" Type="Int32" />

<asp:Parameter Name="id" Type="Int32" />

</UpdateParameters>

<InsertParameters>

<asp:Parameter Name="id_zamowienie" Type="Int32" />

<asp:Parameter Name="id_branza" Type="Int32" />

</InsertParameters>

</asp:SqlDataSource>

&nbsp; &nbsp;&nbsp;&nbsp;<telerik:RadWindow ID="RadWindow_Zamowienie_Branza_Dubel" runat="server" Skin="Telerik">

</telerik:RadWindow>

<telerik:RadWindow ID="RadWindow_Zamowienie_Branza_Nowa" runat="server" Skin="Vista">

</telerik:RadWindow>

&nbsp;&nbsp;

</form>

</

body>

</

html>


 Best Regards

Dariusz Tomon

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 29 Aug 2008, 01:08 PM
Hello Dariusz Tomoń,

The problem is caused by RadFormDecorator, however, it has been fixed in the latest version of RadControls for ASP.NET AJAX. Please upgrade.


Kind regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Dariusz Tomoń
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or