or
tableView.set_currentPageIndex(0,
true
);
var
tableView = $find(radGridPracticesClientID).get_masterTableView();
tableView.rebind();
if
(currentPageIndex == 0) {
tableView.rebind();
}
else
{
// buggy - does not always rebind - e.g. when new results are less than 1 page
tableView.set_currentPageIndex(0,
true
);
}
var currentPageIndex = 0;
.
.
PageMethods.GetPracticesAndCount(currentPageIndex, pageSize,
sortExpressions, filterExpressions, installationID,
environmentalWeight, regulatoryWeight,
publicPerceptionWeight, healthAndSafetyWeight,
includeAspects, includeImpacts, checkedCommandIDs, selectedLocationIDs,
rebindPracticeGridResult);
}
function rebindPracticeGridResult(result) {
var tableView = $find("ctl00_PlaceHolderMain_Practice1_RadGridPractices").get_masterTableView();
tableView.set_dataSource(result.Practices);
tableView.dataBind();
tableView.set_virtualItemCount(result.PracticeCount);
}
Hello, please help me.
I uses RadFormDecorator and i want to change the font family of button
I apply this css style
.RadForm_Sitefinity.rfdButton input[type="button"].rfdDecorated
{
font: normal 11px Tahoma, Arial, Sans-serif !important;
}
it change only font-style and font-size but the font family is not change.
please help me
thank you
<
asp:Content
ID
=
"GridContent"
ContentPlaceHolderID
=
"GridContent"
Runat
=
"Server"
>
<
table
border
=
"0"
cellpadding
=
"0"
cellspacing
=
"0"
width
=
"520"
>
<
tr
>
<
td
>
<
div
>
<
telerik:RadGrid
ID
=
"RadGridProgram"
runat
=
"server"
AutoGenerateColumns
=
"false"
AllowSorting
=
"True"
AllowPaging
=
"true"
Skin
=
"Simple"
ClientSettings-Resizing-AllowColumnResize
=
"true"
ItemStyle-Wrap
=
"false"
Width
=
"500"
HeaderStyle-Wrap
=
"false"
PageSize
=
"10"
OnNeedDataSource
=
"RadGridProgram_NeedDataSource"
OnItemCommand
=
"RadGridProgram_ItemCommand"
>
<
PagerStyle
Mode
=
"NumericPages"
/>
<
ClientSettings
>
<
Scrolling
AllowScroll
=
"true"
UseStaticHeaders
=
"true"
/>
</
ClientSettings
>
<
MasterTableView
TableLayout
=
"Fixed"
AllowMultiColumnSorting
=
"true"
DataKeyNames
=
"ProgramID"
ShowFooter
=
"false"
PagerStyle-AlwaysVisible
=
"false"
>
<
NoRecordsTemplate
>
<
asp:Label
ID
=
"lblMsg"
runat
=
"server"
Text
=
"No Records found"
></
asp:Label
>
</
NoRecordsTemplate
>
<
Columns
>
<
telerik:GridButtonColumn
ButtonType
=
"LinkButton"
HeaderText
=
"Edit"
CommandName
=
"EditProgram"
UniqueName
=
"Edit"
Text
=
"Edit"
HeaderStyle-Width
=
"40"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Program ID"
HeaderButtonType
=
"TextButton"
DataField
=
"ProgramID"
HeaderStyle-Width
=
"80"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Prog. Collection. ID"
HeaderButtonType
=
"TextButton"
DataField
=
"ProgramId"
Display
=
"false"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Program Collection"
HeaderButtonType
=
"TextButton"
DataField
=
"ProgramCollection.ProgramName"
HeaderStyle-Width
=
"200"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Client ID"
HeaderButtonType
=
"TextButton"
DataField
=
"ClientId"
Display
=
"false"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Client"
HeaderButtonType
=
"TextButton"
DataField
=
"Client.ClientName"
HeaderStyle-Width
=
"150"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Program Name"
HeaderButtonType
=
"TextButton"
DataField
=
"ProgramName"
HeaderStyle-Width
=
"200"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Program Code"
HeaderButtonType
=
"TextButton"
DataField
=
"ProgramCode"
HeaderStyle-Width
=
"100"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Description"
HeaderButtonType
=
"TextButton"
DataField
=
"ProgramDescription"
HeaderStyle-Width
=
"300"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Program Type Id"
HeaderButtonType
=
"TextButton"
DataField
=
"ProgramTypeId"
HeaderStyle-Width
=
"200"
Display
=
"false"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Program Type"
HeaderButtonType
=
"TextButton"
DataField
=
"ProgramType.ProgramTypeCode"
HeaderStyle-Width
=
"100"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Domain Exp. Date"
HeaderButtonType
=
"TextButton"
DataField
=
"DomainExpDateText"
HeaderStyle-Width
=
"100"
/>
<
telerik:GridBoundColumn
HeaderText
=
"SSL Exp. Date"
HeaderButtonType
=
"TextButton"
DataField
=
"SSLExpDateText"
HeaderStyle-Width
=
"100"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Domain Name"
HeaderButtonType
=
"TextButton"
DataField
=
"DomainName"
HeaderStyle-Width
=
"250"
/>
<
telerik:GridBoundColumn
HeaderText
=
"IPAddress"
HeaderButtonType
=
"TextButton"
DataField
=
"IPAddress"
HeaderStyle-Width
=
"250"
/>
<
telerik:GridBoundColumn
HeaderText
=
"PM Name"
HeaderButtonType
=
"TextButton"
DataField
=
"PMName"
HeaderStyle-Width
=
"100"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Developer Name"
HeaderButtonType
=
"TextButton"
DataField
=
"DeveloperName"
HeaderStyle-Width
=
"100"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Job Number"
HeaderButtonType
=
"TextButton"
DataField
=
"JobNumber"
HeaderStyle-Width
=
"100"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Adverse Events"
HeaderButtonType
=
"TextButton"
DataField
=
"HasAdverseEvents"
HeaderStyle-Width
=
"100"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Pharmacy Lookup"
HeaderButtonType
=
"TextButton"
DataField
=
"HasPharmacyLookup"
HeaderStyle-Width
=
"100"
/>
<
telerik:GridBoundColumn
HeaderText
=
"Fax"
HeaderButtonType
=
"TextButton"
DataField
=
"Fax"
HeaderStyle-Width
=
"100"
/>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
</
div
>
</
td
>
</
tr
>
</
table
>
</
asp:Content
>