Hi Telerik Team,
I have a problem with alert dialog window.
When I using alert dialog window with RadWindow static class, I see a little icon in the Title bar of this window (I suppose the default icon). Ther's the possibility to replace or remove this icon?
Yhank you
Michele
I have a problem with alert dialog window.
When I using alert dialog window with RadWindow static class, I see a little icon in the Title bar of this window (I suppose the default icon). Ther's the possibility to replace or remove this icon?
Yhank you
Michele
7 Answers, 1 is accepted
0
Hi Michele,
Regards,
Miroslav Nedyalkov
the Telerik team
Instantly find answers to your questions on the newTelerik Support Portal.
Check out the tipsfor optimizing your support resource searches.
To change the Icon of the Alert Window, use the overload with the parameter with type DialogParameters. The DialogParameters class has a property IconContent. Unfortunately the default IconTemplate of the RadWindow control will not show the Icon. As a work-around you could handle the Opened event of the window and to set the IconTemplate property to null. You will not need this work-around after Q2 release, because this will be fixed.
The following code demonstrates the idea:
RadWindow.Alert(new DialogParameters() |
{ |
Opened = (w, e) => |
{ |
var wnd = w as RadWindow; |
wnd.IconTemplate = null; |
}, |
IconContent = GetMyIcon() |
}); |
Regards,
Miroslav Nedyalkov
the Telerik team
Instantly find answers to your questions on the newTelerik Support Portal.
Check out the tipsfor optimizing your support resource searches.
0
Michele
Top achievements
Rank 1
answered on 04 Jun 2009, 08:32 PM
Thank's for your help Miroslav, everything works now.
I'm waiting for Q2 version as soon as possibile.
Michele
I'm waiting for Q2 version as soon as possibile.
Michele
0
Sreekanth Medisetty
Top achievements
Rank 1
answered on 16 Oct 2009, 12:56 PM
Hi,
Can you please send the sample code.
I am not able to implement this.
Thanks,
Sreekanth
Can you please send the sample code.
I am not able to implement this.
Thanks,
Sreekanth
0
Hello Sreekanth,
What do you need to implement? We will assist you, but first of all we need to know what is the goal.
Regards,
Miroslav Nedyalkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Regards,
Miroslav Nedyalkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Satish J
Top achievements
Rank 1
answered on 08 Dec 2009, 11:34 AM
Hi,
Can you please post the code to set the IconContent property, to change the RadConfirm's icon ("?") to my own icon. Iam using Q3 2009 version.
Thanks,
Satish
0
Hello All,
Sreekanth, would mind to attach here the project I sent you in the support thread, as Satish needs the same things as you do and meets the same problems?
Kind regards,
Miroslav Nedyalkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Sreekanth Medisetty
Top achievements
Rank 1
answered on 14 Dec 2009, 12:36 PM
Hi,
I am not using Rad window, instead i have created my own control where I can chnage the icons, buttons etc.
Regards,
Sreekanth
I am not using Rad window, instead i have created my own control where I can chnage the icons, buttons etc.
Regards,
Sreekanth