Edit this page

OnDataPagerCreated

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:RadDataPager>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        function DataPagerCreated(sender, eventArgs) {
            alert("Created datapager with UniqueID: " + sender.get_uniqueID());
        }
    </script>
</telerik:RadCodeBlock>

See Also