We're currently using 4.7.0.RC. In previous versions we have customised the dashboard to include usercontrols allowing the user to do specific tasks. Generally the controls features a button that when click raises a postback and there we run our code.
With this release of Umbraco however, OnClick events don't fire?
I'm guessing it's because it's all moved to AJAX, but I'm unsure how I can get around this problem. If anyone could point me at an example I'd be grateful.
Is your dashboard control in the Content section? There's a known bug where the new "Change Password" dashboard that is included by default in 4.7 breaks postback on all other dashboard controls. The workaround for now is to remove the Change Password dashboard control from /config/dashboard.config.
Custom dashboard item not respecting onclick
Hi,
We're currently using 4.7.0.RC. In previous versions we have customised the dashboard to include usercontrols allowing the user to do specific tasks. Generally the controls features a button that when click raises a postback and there we run our code.
With this release of Umbraco however, OnClick events don't fire?
I'm guessing it's because it's all moved to AJAX, but I'm unsure how I can get around this problem. If anyone could point me at an example I'd be grateful.
Thanks
JC
Hi James,
Is your dashboard control in the Content section? There's a known bug where the new "Change Password" dashboard that is included by default in 4.7 breaks postback on all other dashboard controls. The workaround for now is to remove the Change Password dashboard control from /config/dashboard.config.
Please vote up the issue on Codeplex if this is your problem: http://umbraco.codeplex.com/workitem/30044
Hope this helps,
Tom
Hi Tom,
Many thanks - that was indeed the issue.
Appreciate the help.
JC
Cheers Tom,
that did the trick for me as well! :)
Sascha
Brilliant Tom,
That solved my first newbie problem :)
Rudi
is working on a reply...