开发者

Load HTML in CKEditor

Could someone explain to me how to load 开发者_如何转开发HTML into the CKEditor?

I have an editor in an asp.net page using the ajaxtoolkit. I have a AsyncFileUpload control that allows the user to upload an HTML file which I read and assign the value to the editor's Value property (which appears to be the way to load data into the control). However, this doesn't load the HTML ?!?

I've tried several different methods, but they all come down to this more or less...

editorCorps.Value = Server.HtmlEncode(html)

or simply

editorCorps.Value = html

Thanks in advance, Sam

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜