This question is locked. New answers and comments are not allowed.
Hi,
We are using the MVC Grid in PopUp edit mode. We are using an editortemplate to display the Telerik MVC editor for items with the UiHint("RichText") attribute.
What we are observing is that after the content of the editor is deleted completely (press backspace when there is no text to delete the implicit <p> tag - the cursor should be only a couple of pixels from the top left corner), new lines are stripped out of any content that is added. We are observing this behaviour in Firefox 3.6.16, but not in IE 8.0. When loading the window we are centering it. We are finding that commenting out the CentreWindow() function but still referring to it in the Onload event in the windows client events the new line issue is resolved, but the browser issues a javascript error regarding the missing function. Also with this function commented out the window obviously no longer centers, and also the close (x) button in the top right won't work (Update and Cancel buttons within the window work).
I've attached a sample application that should reproduce the issue.
Any advice on the issue would be appreciated.
Regards,
Mark Hetherington,
Analyst/Developer Janison Solutions.
We are using the MVC Grid in PopUp edit mode. We are using an editortemplate to display the Telerik MVC editor for items with the UiHint("RichText") attribute.
What we are observing is that after the content of the editor is deleted completely (press backspace when there is no text to delete the implicit <p> tag - the cursor should be only a couple of pixels from the top left corner), new lines are stripped out of any content that is added. We are observing this behaviour in Firefox 3.6.16, but not in IE 8.0. When loading the window we are centering it. We are finding that commenting out the CentreWindow() function but still referring to it in the Onload event in the windows client events the new line issue is resolved, but the browser issues a javascript error regarding the missing function. Also with this function commented out the window obviously no longer centers, and also the close (x) button in the top right won't work (Update and Cancel buttons within the window work).
I've attached a sample application that should reproduce the issue.
Any advice on the issue would be appreciated.
Regards,
Mark Hetherington,
Analyst/Developer Janison Solutions.