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

RadWindow w/ jpg Can't Control Title

1 Answer 20 Views
Window
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 2
Stephen asked on 11 Nov 2008, 11:21 PM
I have a page that loads into a RadWindow and sets the url to a jpg image. But any attempt to control the Title and Status displays are overridden by the jpg's attributes.

        function ShowMedia(url) {
            // Get a handle on the RadWindow we are in
            var window1 = null;
            if (window.radWindow)
                window1 = window.radWindow;
            else if (window.frameElement.radWindow)
                window1 = window.frameElement.radWindow;
            window1.setUrl(url);
            window1.set_title("I can change the title");
            window1.set_status("I can chagne the status");
            window1.show();
        }

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 17 Nov 2008, 02:22 PM
Hello Stephen,

In general, the status and title are set in the OnClientPageLoad event - after the content has been loaded.

If you still experience problems, please open a support ticket and send me a small sample project - I will check it and get back to you right away.



Greetings,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Stephen
Top achievements
Rank 2
Answers by
Georgi Tunev
Telerik team
Share this question
or