When I click on the button, BtnClick is not fired. What is wrong my code?
Thanks.
3 Answers, 1 is accepted
0
Slav
Telerik team
answered on 03 Jul 2012, 12:28 PM
Hello Jocelyn,
The code that you have provided appears to be valid. Most probably there is a JavaScript error that is breaking the client-side event handling of RadButton. Also, you can verify that the handler method is declared on the actual page in which the button control is added.
This online demo Button / Client-side Events shows the RadButton client-side events. You can use it as a reference for handling the OnClientClicked event on your end.
If you are still having difficulties, please open a support ticket and send a simple, runnable page that isolates your case so that I can inspect it locally and provide an according solution.
Regards,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.