This is a migrated thread and some comments may be shown as answers.

RadToolBar & ConfirmTemplate in RadWindowManager

1 Answer 56 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
hasan
Top achievements
Rank 1
hasan asked on 03 Jan 2009, 09:42 AM
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> 

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 05 Jan 2009, 02:21 PM
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.
Tags
ToolBar
Asked by
hasan
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or