You know what would be nice? To be able to specify a title for a radalert box without having to specify the window sizes.
radalert("You are doing it wrong", "Warning");
It'd be nice to just leave radalert to figure out the best size.
Just a thought
--
Stuart
radalert("You are doing it wrong", "Warning");
It'd be nice to just leave radalert to figure out the best size.
Just a thought
--
Stuart
4 Answers, 1 is accepted
0
Accepted
Hi Stuart,
You can do this by providing null for the width and the height arguments, e.g.
radalert("message",nul,null,"title");
I hope this helps.
All the best,
Georgi Tunev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You can do this by providing null for the width and the height arguments, e.g.
radalert("message",nul,null,"title");
I hope this helps.
All the best,
Georgi Tunev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Dan
Top achievements
Rank 1
answered on 30 Apr 2008, 01:05 PM
Cheers Georgi
--
Stuart
--
Stuart
0
Elias
Top achievements
Rank 2
answered on 03 Apr 2013, 08:03 PM
What will be the script or command to change the titlebar icon?
0
Hi Elias,
There is no build-in parameter in the command to change the icon, yet you can use some JavaScript to change it after showing the alert by using RadWindow's client-side API:
Greetings,
Marin Bratanov
the Telerik team
There is no build-in parameter in the command to change the icon, yet you can use some JavaScript to change it after showing the alert by using RadWindow's client-side API:
var
oAlert = radalert(
"warning"
);
oAlert.set_iconUrl(
"images/myIcon.jpg"
);
Greetings,
Marin Bratanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.