This topic is locked

My New Buttons Don't Work ?

2/5/2013 4:04:19 AM
PHPRunner General questions
N
netmedia59 author

Hello,
I try to insert new buttons on a list but the command doesn't work

Even with a simple button like as described in :

http://www.asprunner.com/forums/topic/20613-add-button-to-redirect-to-a-url/

ctrl.setEnabled();

location.href = 'http://www.cnn.com';;
Nothing happens when I click ??
Thanks
Olivier

Lille (FRANCE)

C
cgphp 2/5/2013

Enable Firebug in Firefox or "Developer tools" in Chrome and check if you get errors when you click the button.

Check this article to know how to troubleshoot custom buttons: http://xlinesoft.com/blog/2012/05/16/troubleshooting-custom-buttons-in-phprunner-and-asprunnerpro-applications/