GridButtonColumn with ConfirmDialogType="RadWindow" shows other RadWindows

2 posts, 0 answers
  1. Dédé
    Dédé avatar
    60 posts
    Member since:
    May 2009

    Posted 04 Jun 2009 Link to this post


    Using 2009 Q1...

    I have a RadWindowManager containing a RadWindow :
        <telerik:RadWindowManager ID="windowManager" runat="server"
                <telerik:RadWindow ID="winNewUser" runat="server" KeepInScreenBounds="true" Modal="true" Behaviors="Move,Close,Resize" ReloadOnShow="true" AutoSize="true" /> 

    I have a RadGrid with a column defined like this :
    <telerik:GridButtonColumn UniqueName="colBtnDelete" CommandName="Delete" ConfirmDialogType="RadWindow" ConfirmText="Confirm delete ?" ConfirmTitle="Delete" Text="Delete" ButtonType="PushButton" Groupable="false" /> 

    When I click on the button, my window "winNewUser" is shown on top of the confirm dialog... Is this a normal behavior ?

    And is it possible to let the button be visible according to a data condition ? (like a boolean field)


  2. Sebastian
    Sebastian avatar
    9934 posts

    Posted 09 Jun 2009 Link to this post

    Hello Damien,

    You do not need to add a separate window instance to the RadWindowManager's Window collection as thus there will be actually two window controls which may overlap. See how the confirmation dialog is configured on this demo of the product:

    or, alternatively, consider using RadWindow confirm in template columns as illustrated here:

    How to display the buttons in the column conditionally based on a boolean field value you can find out from this documentation article.

    Best regards,

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top