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

Telerik Paging buttons are not working(Mode="NextPrevNumericAndAdvanced")

8 Answers 250 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ankammarao
Top achievements
Rank 1
ankammarao asked on 08 Jan 2011, 01:49 PM
HI,

I am using telerik datagrid paging advanced (Mode="NextPrevNumericAndAdvanced")feature in my project, buttons are not working proper,  only click on any numeric number is woking ,please find attached image for the same

Can any one share share any ideas? Do I need to write any event handlers for making functional/ or telerik is providing the built in feature

<

 

 

telerik:RadGrid runat="server" ID="dgFilingManager" AutoGenerateColumns="False" Height="350px" GridLines="None" Skin="Windows7" OnItemDataBound="dgFilingManager_ItemCommand">

 


 

 

<MasterTableView TableLayout="Fixed" GroupLoadMode="Client" AllowPaging="true" PagerStyle-Mode="NextPrevNumericAndAdvanced" PagerStyle-Position="TopAndBottom" PagerStyle-HorizontalAlign="Center" PagerStyle-PageButtonCount="4" >

 


 

 

<Columns>
<telerik:GridTemplateColumn HeaderText=" FILING" DataField="UCCTYPE" UniqueName="FILING" HeaderStyle-Width="10%" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Left">
<ItemTemplate><asp:Label ID="lblFiling" runat="server" Text="" Visible="true"></asp:Label></ItemTemplate>
</telerik:GridTemplateColumn>
<
telerik:GridBoundColumn DataField="UCCTYPE" HeaderText="UCCTYPE" UniqueName="UCCTYPE" ItemStyle-HorizontalAlign="Left" Visible="false" />
<telerik:GridBoundColumn DataField="LienRefNumber" HeaderText="LIENREFNUMBER" UniqueName="LIENREFNUMBER" Visible="false" />
</Columns>

 

</telerik:RadGrid>

8 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 11 Jan 2011, 02:37 PM
Hello,

In order operations like paging, sorting and filtering to work without having additional code you need to use the NeedDataSource event to set the datasource of the grid. For more information please refer the following help article and live demo.

Otherwise, you need to handle the events manually as described here.

Greetings,
Pavlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Michael
Top achievements
Rank 1
answered on 13 Jan 2011, 06:19 PM
I have the same issue, but only in IE7.  The first/previous/next/last buttons do not do anything on click. Nor does the title appear when hovering over these buttons.  However, when I change the Page Size using the dropdown, the buttons work perfectly.  The numeric buttons behave correctly at all times.  I have also noticed, quite strangely, that the buttons works fine when I have the IE Developer Toolbar enabled.

I am using a dynamically created grid that is re-created on postback.
0
Pavlina
Telerik team
answered on 14 Jan 2011, 06:03 PM
Hello Michael,

Based on the provided information it is hard to determine the source of the problem. Can you, please open a formal support ticket and send us some test page we can debug locally?

Regards,
Pavlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Raghav
Top achievements
Rank 1
answered on 03 Feb 2011, 10:10 AM
Hi,

Can you please help.
I am using telerik datagrid paging advanced (Mode="NextPrevNumericAndAdvanced") feature in my project, buttons are not working proper,  only click on any numeric number is woking , Can any one share share any ideas? Do I need to write any event handlers for making functional/ or telerik is providing the built in feature
The first/previous/next/last buttons do not do anything on click. Nor does the title appear when hovering over these buttons.  However, when I set  EnableSEOPaging ="true"  the buttons work perfectly.  The numeric buttons behave correctly at all times.
0
Pavlina
Telerik team
answered on 03 Feb 2011, 04:27 PM
Hello Raghav,

Can you please confirm that you are using advanced binding with NeedDataSource event handling to populate the grid? In case you use simple binding with DataBind() calls, consider switching to this type of binding to see whether this addresses the issue. Also, please verify that EnableViewState property of the grid and page is set to true.

Moreover, I am sending you a simple working project that is working properly. Please check it out and let me know if it helps.

Kind regards,
Pavlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Lp1
Top achievements
Rank 1
answered on 03 Jun 2011, 09:06 AM
I was hoping "help article and live demo." would help me in some way to solve this issue but I get
"

500 - Internal server error.

There is a problem with the resource you are looking for, and it cannot be displayed.

"
for both pages.
0
Pavlina
Telerik team
answered on 03 Jun 2011, 01:32 PM
Hello Luca,

You can refer to the links below to access the needed information:
http://www.telerik.com/help/aspnet-ajax/grid-advanced-data-binding.html
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/needdatasource/defaultcs.aspx

Best wishes,
Pavlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Lp1
Top achievements
Rank 1
answered on 03 Jun 2011, 02:30 PM
Pavlina does telerik know someone has setup a phishing site for this forum? with details here Link
Tags
General Discussions
Asked by
ankammarao
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Michael
Top achievements
Rank 1
Raghav
Top achievements
Rank 1
Lp1
Top achievements
Rank 1
Share this question
or