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

Page number not displayed while dragging

3 Answers 20 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Teodorico
Top achievements
Rank 1
Teodorico asked on 10 May 2009, 01:36 AM

I have set the grid PagerStyle mode='Slider". When dragging the knob, the page number is not displayed on the text (Page n of m). When I release the knob (stop dragging), it displays the current page.

This is happening with v2009.1.402.35. If I just replace the DLL with version 2009.1.311.35 it works. This is happening on IE8 and FF.

Regards,

Teo

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 12 May 2009, 08:09 AM
Hello Teodorico,

I can't reproduce the described issue in a simple web page locally or on our online demos:

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/slider/defaultcs.aspx

Please send us a runnable example, which exhibits the problem. Thank you.

All the best,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Teodorico
Top achievements
Rank 1
answered on 31 May 2009, 10:45 PM

Hi Dimo,
This is the code for the grid:
 
<telerik:RadGrid
 ID="RadGrid"
 runat="server"
 AllowPaging="true"
 PageSize="25"
 Width="100%"
 Height="100%"
 style="border:0px;outline:none"
 >
 <MasterTableView TableLayout="Auto" ClientDataKeyNames="Id">
  <Columns>
   <telerik:GridBoundColumn DataField="Icon" HeaderText="" HtmlEncode="false" HeaderStyle-Width="26px"></telerik:GridBoundColumn>
   <telerik:GridBoundColumn DataField="Name" HeaderText="Food" HtmlEncode="false" HeaderStyle-Width="100%"></telerik:GridBoundColumn>
  </Columns>
 </MasterTableView>
 <ClientSettings EnableRowHoverStyle="true">
  <Selecting AllowRowSelect="true" />
  <Scrolling AllowScroll="true" UseStaticHeaders="true" />
  <DataBinding Location="Grid.aspx" SelectMethod="Search"
   FilterParameterType="String" SortParameterType="String"></DataBinding>
  <ClientEvents OnDataBinding="RadGrid_DataBinding" OnRowClick="RadGrid_RowClick" OnDataBound="RadGrid_DataBound" />
 </ClientSettings>
 <PagerStyle Mode="Slider" />
</telerik:RadGrid>

function RadGrid_DataBinding(sender, args)
{
 var methodArguments = args.get_methodArguments();
 methodArguments.criteria = _criteria;
 args.set_methodArguments(methodArguments);
}

_criteria is a string used to search on the web service.

 

Thanks.

 

0
Accepted
Dimo
Telerik team
answered on 02 Jun 2009, 11:00 AM
Hello Teodorico,

I see you are actually using client-side data binding. In this case I am afraid that the slider label cannot be updated in realtime. In order to be updated, the label should get the slider's value during the clientvaluechanged event, however, this event used to rebind the grid.

Please use another type of pager if this is a major problem.

Sincerely yours,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Teodorico
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Teodorico
Top achievements
Rank 1
Share this question
or