Problem with Rad Button with Confirm Button Extender

2 posts, 0 answers
  1. chiran
    chiran avatar
    10 posts
    Member since:
    Nov 2007

    Posted 13 Sep 2011 Link to this post

    I Use Rad button with Image and I add a Confirm Button Extender to it. on button click event I redirect the page to another page. but confirm extender not shoving . actually its shows just for second and fire the click event without getting the confirmation .
    when I remove the image its work......

    Can any one help me on this...

     <telerik:RadButton ID="radbtnLogout" runat="server" Width="100px" Height="48px" onclick="radbtnLogout_Click">
                                <Image  ImageUrl="App_Themes/Common/Dashboard/Logout-Normal.png"   HoveredImageUrl="App_Themes/Common/Dashboard/Logout-MouseOver.png" IsBackgroundImage="true" />
                            <cc1:ConfirmButtonExtender ID="radbtnLogout_ConfirmButtonExtender"  ViewStateMode="Inherit"
                                    runat="server" ConfirmText="Logout current user from MasterKey HRM?" Enabled="True" TargetControlID="radbtnLogout">


    protected void radbtnLogout_Click(object sender, EventArgs e)

  2. Slav
    Slav avatar
    1351 posts

    Posted 15 Sep 2011 Link to this post

    Hello Chiran,

    The RadButton control is not compatible with the AjaxToolkit's ConfirmButtonExtender. This is caused by a conflict between the RadButton's client-side functionality, and the extender. The ConfirmButtonExtender control is designed to add a client-side functionality to the existing standard ASP.NET button control, while the RadButton, like the rest of our RadControls for AJAX, already has a rich Client API that lets you achieve complicated tasks while avoiding unnecessary post-backs.

    My suggestion is to check the following online demo, implementing a similar functionality: Button / Confirm Postback.

    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
  3. DevCraft R3 2016 release webinar banner
Back to Top