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


The OnDataPagerCreated client-side event is fired after RadDataPager is created.

The event handler receives one argument:

  1. the RadDataPager object that fired the event.

The following example uses the OnDataPagerCreated event to display a message:

<telerik:RadDataPager RenderMode="Lightweight" ID="RadDataPager1" runat="server">
    <ClientEvents OnDataPagerCreated="DataPagerCreated" />
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        function DataPagerCreated(sender, eventArgs) {
            alert("Created datapager with UniqueID: " + sender.get_uniqueID());

See Also

In this article
Not finding the help you need? Improve this article