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

html element is rendered in Page title

1 Answer 33 Views
Window
This is a migrated thread and some comments may be shown as answers.
dick
Top achievements
Rank 1
dick asked on 22 Jun 2010, 10:14 AM
I tried to set
string x = "<input/>";
Page.Title = x ;

when the window is opened, the page title displays an input box.

I also tried this
string x = "<input/>";
Page.Title = Server.HtmlEncode(x);

the title is still the same.

i want the title to display the string "<input/>" at the title of the rad window.

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 25 Jun 2010, 09:17 AM
Hello,

To set the title to RadWindow's toolbar, we are using set_title(). This function however uses innerHTML (so you can additionally format the title when needed). In your case however, because the title is an HTML tag, the browser renders the textbox. Currently there is no way to override that, but I logged this issue in our PITS and we will improve the behavior of the control for one of the following updates. You can follow the PITS Issue by its ID: 2541

Your points were updated.


Sincerely yours,
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
Tags
Window
Asked by
dick
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or