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

RadWindow caption not showing changed Page.Title

6 Answers 201 Views
Window
This is a migrated thread and some comments may be shown as answers.
Raymond Andrews
Top achievements
Rank 1
Raymond Andrews asked on 08 Oct 2010, 06:02 PM
I have a aspx page that I open in a radwindow.  On this page is a button that when clicked updates some other elements on the page, and should change the Page.Title which should then be reflected in the radwindow caption.

This works fine & dandy, unless I ajaxify the button. If I use the ajaxmanager to update the other controls when the button is pressed, they update quickly, and the Page.Title does change, but it's not updated in the radwindow caption.

 I'd prefer to use ajax to update the few items on the page, rather than a full postback.  Anybody out there have a solution ?

ver.  2010.1.519.35

6 Answers, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 11 Oct 2010, 01:28 PM
Hello Raymond,

Basically, RadWindow checks / sets the title of the content page as its Title when the page is loaded or after a postback. Since you make an Ajax request, there is no postback, so you need to manually tell the window to update its title. You could do that with client-side code - for example call a JavaScript function after the Ajax request that would call GetRadWindow().set_title("my new title"); (assuming the GetRadWindow() function is present in the content page).

Regards,
Georgi Tunev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Raymond Andrews
Top achievements
Rank 1
answered on 14 Oct 2010, 05:49 PM
Thank you, that does it :)

Unfortunately it introduced me to another problem but i'll have to work around that, but for now my title changes like I want.
0
Georgi Tunev
Telerik team
answered on 15 Oct 2010, 05:18 AM
Hi Raymond,

I see that Cori helped you in the other thread - I hope all is OK now.

Best wishes,
Georgi Tunev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Raymond Andrews
Top achievements
Rank 1
answered on 15 Oct 2010, 10:44 AM
Yes, made more progress yesterday than in the previous 2 weeks.  Everyone here is such a huge help, Thanks  :)
0
Michael
Top achievements
Rank 1
answered on 10 Jul 2013, 06:37 PM
Hi
I have latest Q2 2013 library and since upgrade from Q1 RadWindow seems to not respond to Page.Title (server side initial value or update triggered by server side post back); RadWindow title is not display at all.
Any thoughts?

Thanks! :)
0
Marin Bratanov
Telerik team
answered on 15 Jul 2013, 10:56 AM
Hi,

This is a known regression bug in the Q2 2013 release and it will be fixed in the Q2 2013 SP1 release that should be available later this week. The fix is already available in the latest LIB.


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.
Tags
Window
Asked by
Raymond Andrews
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Raymond Andrews
Top achievements
Rank 1
Michael
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or