<telerik:RadButton runat="server" ID="testButton" OnClientClick="onclicktestbutton" />
<script type="text/javascript">
    function onclicktestbutton(sender, args) {
        // I don't use window.event (it is non-standard)
    }
</script>

Where can I set the event object??

I wanted to do it like this:

<telerik:RadButton runat="server" ID="testButton" OnClientClick="onclicktestbutton(event)" />

but we all know you can't insert paragraph on a telerik client event attribute because it automatically includes in the function the parameters (sender, args).

Related posts

Recent Viewed