Window title is empty

5 posts, 0 answers
  1. Damian
    Damian avatar
    21 posts
    Member since:
    Mar 2013

    Posted 29 Aug 2013 Link to this post

    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
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 29 Aug 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 30 Aug 2013 Link to this post

    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.
  5. Damian
    Damian avatar
    21 posts
    Member since:
    Mar 2013

    Posted 19 Sep 2013 Link to this post

    Thanks shinu marin. How can I set the font style and text color for window title?
  6. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 19 Sep 2013 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017