RadToolBar & ConfirmTemplate in RadWindowManager

2 posts, 0 answers
  1. hasan
    hasan avatar
    7 posts
    Member since:
    Dec 2008

    Posted 03 Jan 2009 Link to this post

    hello
    How can i  call ConfirmTemplate  in RadToolBar
    then if confirm is "YES"  active onitemcommand on radtoolbar

    My tag of RadWindowManager  is
        <telerik:RadWindowManager ID="rwmMain" runat="server" Width="850" VisibleStatusbar="False" 
            Height="600px" ShowContentDuringLoad="False" Skin="WebBlue" Modal="True" Font-Names="Tahoma" 
            ReloadOnShow="True"
            <ConfirmTemplate> 
                <div> 
                    <div> 
                        {1} 
                    </div> 
                    <div> 
                        <p> 
                        </p> 
                        <class="Button" onclick="$find('{0}').callBack(true);" href="javascript:void(0);"
                            YES</a> <class="Button" onclick="$find('{0}').callBack(false);" href="javascript:void(0);"
                                NO</a> 
                    </div> 
                </div> 
            </ConfirmTemplate> 
        </telerik:RadWindowManager> 
     
    My tag of RadToolBarButton is:
    <telerik:RadToolBarButton Text="Pert" ImageUrl="~/Styles/icons/pert.bmp" CommandName="MoveToPert"     > 
                                                                     
     </telerik:RadToolBarButton> 

  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 05 Jan 2009 Link to this post

    Hello hasan,

    Please, see this kb article:
    http://www.telerik.com/support/kb/aspnet-ajax/window/using-radprompt-and-radconfirm-with-telerik-navigational-controls.aspx


    Regards,
    Peter
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top