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


The OnDataPagerCreating client-side event is fired before RadDataPager is created.

The event handler receives one argument:

  1. the RadDataPager object that fired the event.

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

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

See Also

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