This question is locked. New answers and comments are not allowed.
Hello,
I have been looking all over forums / google to figure out how to trigger the spellchecker by default when binding the editor to a model property in mvc3 razor? I can pull the property into the editor, save it back to the database but I cannot figure out how to trigger spell checking when the editor is bound. It works once I right click and click "Check Spelling". Can you please help? Here is the code below:
@{ Html.Telerik().EditorFor(m => m.Model.Comments)
.Name("Model.Comments")
.HtmlAttributes(new { style = "width:100%; height:20px; background-color:#FFFFFF;" })
.Encode(false)
.Tools(tools => tools
.Clear()
)
.Render();
}
Is there a way through the .Tools() or .HtmlAttributes()
Can anyone help? Thanks.
I have been looking all over forums / google to figure out how to trigger the spellchecker by default when binding the editor to a model property in mvc3 razor? I can pull the property into the editor, save it back to the database but I cannot figure out how to trigger spell checking when the editor is bound. It works once I right click and click "Check Spelling". Can you please help? Here is the code below:
@{ Html.Telerik().EditorFor(m => m.Model.Comments)
.Name("Model.Comments")
.HtmlAttributes(new { style = "width:100%; height:20px; background-color:#FFFFFF;" })
.Encode(false)
.Tools(tools => tools
.Clear()
)
.Render();
}
Is there a way through the .Tools() or .HtmlAttributes()
Can anyone help? Thanks.