Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • James Crane 34 posts 80 karma points
    Mar 25, 2011 @ 00:26
    James Crane
    0

    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

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Mar 25, 2011 @ 03:20
    Tom Fulton
    1

    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

  • James Crane 34 posts 80 karma points
    Mar 25, 2011 @ 13:58
    James Crane
    0

    Hi Tom,

    Many thanks - that was indeed the issue.

    Appreciate the help.

    JC

  • Sascha Wolter 615 posts 1101 karma points
    Apr 15, 2011 @ 01:42
    Sascha Wolter
    0

    Cheers Tom,

    that did the trick for me as well! :)

    Sascha

  • Rudi Moritz 8 posts 28 karma points
    Jun 23, 2011 @ 00:23
    Rudi Moritz
    0

    Brilliant Tom,

    That solved my first newbie problem :)

    Rudi

Please Sign in or register to post replies

Write your reply to:

Draft