html element is rendered in Page title

2 posts, 0 answers
  1. dick
    dick avatar
    11 posts
    Member since:
    Jun 2010

    Posted 22 Jun 2010 Link to this post

    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.
  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 25 Jun 2010 Link to this post


    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
Back to Top