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

[Solved] Facing problem with Create Link

0 Answers 91 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Yalamarty
Top achievements
Rank 1
Yalamarty asked on 15 Oct 2012, 07:30 AM
Hi,

I am using MVC Editor in my Application and I am facing this problem. When ever I click on the Link to insert hyper link I ma able to see the below Exception:
"Unable to get value of the property 'center': object is null or undefined in telerik MVC Editor"

My tool set code:
.Tools(tools =>
        tools.Clear()               // remove the existing tools from the default configuration
                .Bold()                // "bold" command
                .Italic()              // "italic" command
                .Underline()           // "underline" command
                .Strikethrough()       // "strilethrough" command
                .Separator()           // separator item  
                .CreateLink()          // "create hyperlink" command
                .Unlink()              // "remove hyperlink" command
                .Separator()           // separator item 
                .FontName()            // "Font name" command
                .FontSize()            // "Font Size" command
                .FontColor()           // "Font color" command
                .BackColor()           // "background color" command
                .Separator()           // separator item
                .JustifyLeft()         // "Left align" command
                .JustifyCenter()       // "Center align" command
                .JustifyRight()        // "Right align" command
                .JustifyFull()         // "Justify" command
                .Separator()           // separator item
                .InsertUnorderedList() // "insert unordered list" command
                .InsertOrderedList()   // "insert ordered list" command
                .Separator()           // separator item
                .Indent()              // "indent" command
                .Outdent()             // "outdent" command
                .Separator()           // separator item
                .FormatBlock()         // "format a block of content" command
                .Separator()           // separator item
                
                .Custom(settings => settings.HtmlAttributes(new { @class = "t-html", data_bind = "click:insertHTML" }))
                .Separator()           // separator item
                .Custom(settings => settings.HtmlAttributes(new { @class = "t-ImageIcon", data_bind = "click : insertImage" }))
    )

Any help on this would be appreciated. 

NOTE: its happening in only IE. Chrome and Firefox its working fine.

Thanks,
Sundeep.
Tags
Editor
Asked by
Yalamarty
Top achievements
Rank 1
Share this question
or