Hi
Updated radcontrols to the latest release and noticed an usual behavior with radwindow title. Before updating the window title is automatically set to the title of its content by default and in the new release the title is null if no value is specified. Is this an expected modification?
Thanks
Damian
Updated radcontrols to the latest release and noticed an usual behavior with radwindow title. Before updating the window title is automatically set to the title of its content by default and in the new release the title is null if no value is specified. Is this an expected modification?
Thanks
Damian
4 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 30 Aug 2013, 03:37 AM
Hi Damian,
This is an issue which has been reported with the Q2 2013 release of RadWindow. As a work around you can try the following JavaScript in the OnClientPageLoad event.
JavaScript:
Thanks,
Shinu.
This is an issue which has been reported with the Q2 2013 release of RadWindow. As a work around you can try the following JavaScript in the OnClientPageLoad event.
JavaScript:
<script type=
"text/javascript"
>
function
OnClientPageLoad(sender, args) {
try
{
var
title = sender.get_contentFrame().contentWindow.document.title;
sender.set_title(sender.get_title() ==
""
? title : sender.get_title());
}
catch
(err) {
}
}
</script>
Thanks,
Shinu.
0
Hi guys,
I would just like to add that this has been fixed in the Q2 2013 SP1 release (2013.2.717 in numbers).
Regards,
Marin Bratanov
Telerik
I would just like to add that this has been fixed in the Q2 2013 SP1 release (2013.2.717 in numbers).
Regards,
Marin Bratanov
Telerik
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 the blog feed now.
0
Damian
Top achievements
Rank 1
answered on 19 Sep 2013, 07:51 AM
Thanks shinu marin. How can I set the font style and text color for window title?
0
Shinu
Top achievements
Rank 2
answered on 19 Sep 2013, 08:50 AM
Hi Damian,
Try overriding the default CSS as follows.
CSS:
Thanks,
Shinu.
Try overriding the default CSS as follows.
CSS:
<style type=
"text/css"
>
.RadWindow .rwTitleRow em
{
color
: Red
!important
;
font-family
:
Arial
Black
!important
;
}
</style>
Thanks,
Shinu.