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
AI-Enhanced UI Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
protected
void
RadGrid1_SortCommand(
object
sender, GridSortCommandEventArgs e)
{
string
datafield = e.SortExpression;
//you will get the column Datafield
foreach
(GridColumn col
in
RadGrid1.MasterTableView.RenderColumns)
if
(col
is
GridBoundColumn && (col
as
GridBoundColumn).DataField == e.SortExpression)
uniquename = col.UniqueName;
//you will get the column uniqueName(of bound column for example)
}
RadGrid1_PreRender(
sender, EventArgs e)
GridSortExpression expression =
new
GridSortExpression();
expression.FieldName =
"UniqueName"
;
expression.SortOrder = GridSortOrder.Ascending;
RadGrid1.MasterTableView.SortExpressions.AddSortExpression(expression);
RadGrid1.MasterTableView.Rebind();