RadButton SingleClick="true" on IE9

3 posts, 0 answers
  1. Titus
    Titus avatar
    11 posts
    Member since:
    Mar 2012

    Posted 25 Oct 2013 Link to this post

    Hello there,

    Here is the code I'm using to redirect the user to a new page:

    <telerik:RadButton ID="buttonProcessing" runat="server" ButtonType="LinkButton" Text="Modify" SingleClick="true" NavigateUrl='the web address goes here' SingleClickText="Please wait..." />

    On any version of FireFox it works very well, however on IE9 the button launches the refresh of the current page.

    Do you have any idea why this behavior?

    I'm using Telerik.Web.UI v.4.0.30319

    Thanks in advance!
  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 28 Oct 2013 Link to this post

    Hi Titus,

    I tried to reproduce the problem with the latest available version of RadControls (2013.3.1015), but to no avail. Please review the attached clip, in which I am showing a button, which is set with the provided configuration and on my end seem to work as expected.

    If you need further assistance on this, please get back to me with more details about the following matters:
    • Are there any JavaScript errors thrown in the dev toolbar's console?
    • Are there any additional customization used with the button?
    • Can you please verify which is the used version by following this release notes

    Regards,
    Ianko
    Telerik
    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 the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Titus
    Titus avatar
    11 posts
    Member since:
    Mar 2012

    Posted 28 Oct 2013 Link to this post

    Hello Ianko,

    Thanks for your reply!

    Let me first answer to your questions:
    <...Are there any JavaScript errors thrown in the dev toolbar's console?...> - No, there are no errors.
    <...Are there any additional customization used with the button?...> - No customization
    I'm using the Q3 2012 version of the Telerik framework.

    I managed to fix this by setting CausesValidation="false" and AutoPostBack="false" then implementing a JS function on the client side for the OnClientClicked handler:
    function OnClientClicked(button, args) {
                    window.location = button.get_navigateUrl();
                    args.set_cancel(true);
            }

    Everything runs fine now.
Back to Top