or
When setting PageSize in code behind, pager will not navigate past page 1.
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Me.Load
Dim dataPager As RadDataPager = DirectCast(lstProduct.FindControl("RadPager1"), RadDataPager)
dataPager.PageSize = 36
<
telerik:RadDataPager
ID
=
"RadPager1"
AllowSEOPaging
=
"true"
SEOPagingQueryPageKey
=
"page"
skin
=
"Office2010Silver"
runat
=
"server"
PagedControlID
=
"lstProduct"
>
<
Fields
>
<
telerik:RadDataPagerButtonField
FieldType
=
"FirstPrev"
/>
<
telerik:RadDataPagerButtonField
FieldType
=
"Numeric"
PageButtonCount
=
"7"
/>
<
telerik:RadDataPagerButtonField
FieldType
=
"NextLast"
/>
<
telerik:RadDataPagerTemplatePageField
>
<
PagerTemplate
>
<
div
style
=
"float: right"
>
<
b
>Items
<
asp:Label
runat
=
"server"
ID
=
"CurrentPageLabel"
Text="<%# Container.Owner.StartRowIndex+1%>" />
to
<
asp:Label
runat
=
"server"
ID
=
"TotalPagesLabel"
Text="<%# IIF(Container.Owner.TotalRowCount > (Container.Owner.StartRowIndex+Container.Owner.PageSize), Container.Owner.StartRowIndex+Container.Owner.PageSize, Container.Owner.TotalRowCount) %>" />
of
<
asp:Label
runat
=
"server"
ID
=
"TotalItemsLabel"
Text="<%# Container.Owner.TotalRowCount%>" />
<
br
/>
</
b
>
</
div
>
</
PagerTemplate
>
</
telerik:RadDataPagerTemplatePageField
>
</
Fields
>
</
telerik:RadDataPager
>
DataTable dtTable = objTest.ReturnsDataTable();
RadGrid2.DataSource = dtTable;
RadGrid2.DataBind();
GridImageColumn gridImageCol =
new
GridImageColumn();
gridImageCol.ImageUrl =
"/images/stift_icon.gif"
;
GridImageButton gridButton =
new
GridImageButton(gridImageCol);
gridButton.OnClientClick =
"testAlert"
;
RadGrid2.DataBind();
RadGrid2.Columns.Add(gridImageCol);
//RadGrid2.Rebind();
RadGrid2.DataBind();
RadGrid1.Allowpaging = false;
RadGrid1.ReBind();
foreach
(GridDataItem item
in
grid1.Items)
{
RadioButton btn = (RadioButton)item.FindControl(
"radiobutton1"
);
string
value = item.GetDataKeyValue(
"Questionnumber
"
).ToString();
if( value == Questionnumber
)RadGrid1.Allowpaging = true;
RadGrid1
.PageSize = 20; RadGrid1.ReBind();
// if I write this then my Radio Button selected is not show and if I not write then paging is not showIn telerik gridview, i am having checkbox, preview button, description button in each row of telerik grid once i select some checkboxes and hits download button i want to uncheck all the checkboxes that were checked earlier in the grid. is there any way in javascript or telerik functionality to uncheck all the checkboxes after hitting download button