Thanks in advance.
Richard
7 Answers, 1 is accepted
I was using ViewBag instead of ViewData.
I changed my field to be ViewData["PositionDetails"] instead of ViewBag.PositionsDetails. Once I did that, I can now cut and paste from word into the editor.
New Code is :
@{Html.Telerik().TabStrip()
.Name("tabStrip")
.Items(items =>
{
items.Add().Text("Details")
.Content(() =>
{
Html.Telerik().Editor()
.Name("details")
.Value( ViewData["PositionDetails"].ToString())
.Render();
});
items.Add().Text("Notes on Position")
.Content(() =>
{
Html.Telerik().Editor()
.Name("notes")
.Value(ViewData["PositionNotes"].ToString())
.Render();
});
})
.SelectedIndex(0)
.Render();
}
Just a follow up. I didn’t realise that If I turn on compatibility mode on IE 9 copy and paste works in the editor. However, If I turn off compatibility then IE will not allow to copy and paste. I tried in Google chrome and seems to work ok.
We discovered a number of issues with the Editor in IE9 due to breaking changes in their text range implementation. The copy/paste problem is a result of this.
We've worked around the problems and the Q1 Beta release that is due for release today works much better.
MS have already acknowledged the problem. Hopefully, they will fix it for the official release.
Tsvetomir Tsonev
the Telerik team
Do you experience the same problem in any of our online editor demos? If the problem exists in your application only, please send us a sample project so we can investigate further.
Georgi Tunev
the Telerik team
Do you by any chance have the IE Enhanced Security enabled on that machine? If so, the security module limits the browser experience and, as far as I remember, limits the access to the clipboard. If indeed the IE ES is enabled, could you please try turning it off and see if it changes the behavior of the control on your side?
Kind regards,
Georgi Tunev
the Telerik team