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

Window title is empty

4 Answers 25 Views
Window
This is a migrated thread and some comments may be shown as answers.
Damian
Top achievements
Rank 1
Damian asked on 29 Aug 2013, 05:32 PM
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

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
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:
<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
Marin Bratanov
Telerik team
answered on 30 Aug 2013, 01:42 PM
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
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 1
answered on 19 Sep 2013, 08:50 AM
Hi Damian,

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.
Tags
Window
Asked by
Damian
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Marin Bratanov
Telerik team
Damian
Top achievements
Rank 1
Share this question
or