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
Agent and App Development Solutions
Build. Accelerate. Govern.
AI-Ready Application Experiences
AI-Assisted SDLC
Agent Governance and Control
Telerik
Build modern .NET business apps
.Net Web
Desktop
Reporting and Documents
Cross-Platform
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
CMS
Debugging
UI Tools
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();