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

Customisation of Popup on delete command

6 Answers 308 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jaichand
Top achievements
Rank 1
Jaichand asked on 11 Jul 2011, 05:41 AM
Hi,
I need to change the fore color & background color of button on confirm dialog box on Radgrid delete command popup .
How can I change the CSS for pop.I have to make good look of pop window which is appear on click the delete button on RdGrid.
Please tell me how can i change the css for grid delete command popup.

Thanks

6 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 11 Jul 2011, 07:38 AM
Hello Jaichand,

Try the following CSS to customize the popup on delete command.

aspx:
<telerik:GridButtonColumn ConfirmDialogType="RadWindow" ConfirmText="Are you sure"   CommandName="Delete" UniqueName="Button1" Text="delete">
</telerik:GridButtonColumn>

CSS:
<style type="text/css">
  .RadWindow .rwDialogPopup
   {
    color:Blue !important;// customizing popup window
   }
  .RadWindow .rwWindowContent .rwPopupButton .rwInnerSpan
  {
     color:Red !important;// customizing the text in popup window
  }
</style>

Thanks,
Princy.
0
Jaichand
Top achievements
Rank 1
answered on 11 Jul 2011, 10:21 AM
Thanks Princy.
0
Jaichand
Top achievements
Rank 1
answered on 12 Jul 2011, 07:07 AM
Hi,
Thanks for your Reply but I have a problem that the confirmdialogType=" radwindow"  & css for popup is working fine on .aspx page while I m using on the same thing at same grid property in .ascx page is not working as our requirement mention in above forum. May I know what could be problem for both pages becuase I have used the same grid property in both page. Please Suggest me about this problem.

Thanks
Jaichand
0
Jaichand
Top achievements
Rank 1
answered on 15 Jul 2011, 06:52 AM

 I am struglling for this problem but not get success. Actually I want to display Radwindow type popup not classic. after using ConfirmDialogType="RadWindow" not working it always show classic popup that we are unable to customize the window by css. I want to tell you that it work on one of my .aspx page but not working for .ascx page. Please any one help me.

I have used the Code below.
<telerik:GridButtonColumn UniqueName="DeleteColumn" Text="Delete" ConfirmDialogType="RadWindow" CommandName="Delete" ImageUrl="~/Images/Delete.gif" ConfirmText="Do you want to delete claimant?"

ConfirmTitle="Delete Claimant" ButtonType="ImageButton" />


Thanks
Jaichand

0
Princy
Top achievements
Rank 2
answered on 15 Jul 2011, 08:00 AM
Hello Jaichand,

When you are using ConfirmDialogType as RadWindow, you should set "RadWindowManager"  in your aspx page and then customize the popup accordingly. Hope this helps.

aspx:
<telerik:RadWindowManager ID="window" runat="server" Title="Delete me">
</telerik:RadWindowManager>

Thanks,
Princy.
0
Jaichand
Top achievements
Rank 1
answered on 15 Jul 2011, 10:00 AM
Thanks, Its working fine.
Tags
Grid
Asked by
Jaichand
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Jaichand
Top achievements
Rank 1
Share this question
or