Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
AI Coding
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI/UX Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
function
SelectAllRow() {
var
grid = $find(
"<%= RadGrid2.ClientID %>"
);
if
(grid) {
MasterTable = grid.get_masterTableView();
Rows = MasterTable.get_dataItems();
for
(
i = 0; i < Rows.length; i++) {
row = Rows[i];
row.set_selected(
true
}
return
false
;
<
telerik:RadGrid
ID
=
"RadGrid2"
runat
"server"
AutoGenerateColumns
"false"
OnNeedDataSource
"RadGrid2_NeedDataSource"
AllowMultiRowSelection
"true"
>
MasterTableView
DataKeyNames
"ID"
ClientDataKeyNames
CommandItemDisplay
"Top"
CommandItemTemplate
asp:LinkButton
"Buttontest"
Text
"Select All Row"
OnClientClick
"return SelectAllRow();"
/>
</
Columns
telerik:GridBoundColumn
HeaderText
DataField
UniqueName
"Name"
ClientSettings
Selecting
AllowRowSelect
protected
void
RadGrid2_NeedDataSource(
object
sender, GridNeedDataSourceEventArgs e)
{
dynamic data =
new
[] {
{ ID = 1, Name =
"Name1"
},
{ ID = 2, Name =
"Name2"
{ ID = 3, Name =
"Name3"
};
RadGrid2.DataSource = data;