开发者

telerik editor with iframe

I'm using Telerik Editor, with following,

<div class="Telerik开发者_如何学Python-Editor">
            @{
       Html.Telerik().EditorFor(model => model.Description).Name("Editor").FileBrowser(settings => settings
           .Browse("Browse", "ImageBrowser")
           ).Render();
        }
            @Html.ValidationMessageFor(model => model.Description)
        </div>

doing only above, it is working, (Editor is working) , but If I add iframe , then Editor is disabled. Anybody getting this error/bug?

        <iframe src="mysomeurl" /> 


As I replied in the Telerik forum thread which you opened you need to close the iframe like this:

<iframe src="http://www.example.com"></iframe>

Otherwise the browser expects the closing iframe tag and stops parsing the page any further.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜