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

[Solved] RadGrid ConfirmDialogType="RadWindow" Choose Skin

3 Answers 331 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jacques
Top achievements
Rank 2
Jacques asked on 07 Aug 2009, 09:04 AM
Hi,

I'm using the Grid and all is peachy in terms of skinning the grid itself, but I can't seem to find a place where one can choose the skin to use for a column that makes use of the RadWindow.

E.g.
<telerik:GridButtonColumn CommandName="Delete" ConfirmText="Are you sure you want to delete this Item ?" 
  ConfirmDialogType="RadWindow" Reorderable="False" Text="delete" UniqueName="column1" ConfirmTitle="Delete Item" /> 

I don't see any obvious attribute on this column that allows me to say which skin, or custom skin, this Confirm Dialog should use.

How do I skin the confirm Dialog?

Regards,
Jacques

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 07 Aug 2009, 09:38 AM
Hello Jacques,

To display a RadWindow on your page, you would have to drop a RadWindowManger on your markup page. So, you just have to set the skin of the RadWindowManager to set the skin of the ConfirmDialog window:

aspx:
<telerik:RadWindowManager ID="RadWindowManager1" Skin="Black" runat="server"
</telerik:RadWindowManager> 

Thanks
Princy.
0
Jacques
Top achievements
Rank 2
answered on 07 Aug 2009, 09:52 AM
Hi Princy,

We have two RadWindows in use on this page.
1. Used inside the grid column as a confirm popup
2. As the edit window when the user edits one of the records.

We already have RadWindowManager on the page, but if we specify a Skin in this RadWindowManager will it apply that skin to both our RadWindows? In the grid and the editor window?

Regards,
Jacques
0
Veli
Telerik team
answered on 11 Aug 2009, 05:26 AM
Hello J.Hov,

The two possible scenarios are to use separate RadWindows on page, or to use a single RadWindowManager and its client-side API to open windows. Both of these objects are discussed in the help articles on RadWindow and you can get yourself acquainted. If you are using RadWindowManager (sometimes required, e.g. for ConfirmDialogType="RadWindow" in GridButtonColumn), RadWindowManager's Skin property will specify the CSS skin to use for all windows.

Kind regards,
Veli
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.
Tags
Grid
Asked by
Jacques
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Jacques
Top achievements
Rank 2
Veli
Telerik team
Share this question
or