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

[Solved] Changing the font settings of the Windows title and placing a logo beside it.

1 Answer 14 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
మాధవ్
Top achievements
Rank 1
మాధవ్ asked on 05 Apr 2013, 09:21 PM
i want to change the font settings of the title and also, i want to place a logo beside title to the left side. How to do that? 
Can you write a sample code. Or direct me to appropriate place.

 var alertWindow = $.telerik.window.create({
        title: "MedAssets Revenue Solutions",
        draggable: true,
        resizable: false,
        modal: true,
        actions: ["Close"],
        html: "<br><table><tr><td><img src='../Content/Images/red_x_sign.jpg' height='32' width='32'/></td><td valign='center'>" + msg + "<br>" + message + "</td></tr></table><br><br>" + "<div align='center'><input type='button' value=' OK ' style='width: 60px' class='t-button' onclick='CloseMessageBox()'></div>",
        width: 400,
        height: "auto"

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 10 Apr 2013, 01:51 PM
Hi Sethu,

 
Basically you can insert HTML inside the "title" property of the Window - please check the example below:

var windowElement = $.telerik.window.create({
    title: "<i>Insert image</i><img src='yourImageURL/image.png' alt='logo' style='width:16px; height: 16px;'/>",
Kind regards,
Vladimir Iliev
the Telerik team
Check out the successor of Telerik MVC Extensions - Kendo UI for ASP.NET MVC - and deem it for new ASP.NET MVC development.
Tags
Window
Asked by
మాధవ్
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or