We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to set the Title property of the Window control

Thread ID:





75072 Jul 10,2008 06:06 PM UTC Jul 15,2008 08:58 AM UTC ASP.NET Web Forms (Classic) 1
Tags: Tools
Andy Richard
Asked On July 10, 2008 06:06 PM UTC

I have a form (Form1) that loads a Window control with its Source property set to a specific Web page (Form2). In code behind on Form2, I need to change the title of the Window control at run time, but I can't find a way from Form2 to get a reference to the Window control because that Window control is in fact sitting on Form1.

Is there a way to do this?

Melba Winshia [Syncfusion]
Replied On July 15, 2008 08:58 AM UTC

Hi Andy

Thank you for your interest in Syncfusion Products.

It is not possible to change the title of Window control in Code behind on Form2. But you can change the title in client side using clientobjectid. Please use below code snippet to achieve this:

function test()
window.parent.sfwindow1.SetTitleText("Modified Title");

Please refer the sample in the below link which illustrates the above:


Please try this and let me know if this helps.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon