New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Load Event

Fired when the server control is loaded into the RadGrid object.

Event Parameters

  • (object) sender

    • The control that fires the event
  • (EventArgs) e

    • Does not contain arguments

Attaching the event

In the Markup

<telerik:RadGrid ID="RadGrid1" runat="server" OnLoad="RadGrid1_Load">

In the Code behind

protected void Page_Init(object sender, EventArgs e)
    RadGrid1.Load += RadGrid1_Load;
Protected Sub Page_Init(sender As Object, e As EventArgs) Handles Me.Init
    AddHandler RadGrid1.Load, AddressOf RadGrid1_Load
End Sub

The event handler

protected void RadGrid1_Load(object sender, EventArgs e)
    //execute some logic
Protected Sub RadGrid1_Load(ByVal sender As Object, ByVal e As EventArgs)
    'execute some logic
End Sub

See Also

In this article