Vb.net 当RadEditor-Telerik Toolbar模式在chrome浏览器中设置为默认问题时

Vb.net 当RadEditor-Telerik Toolbar模式在chrome浏览器中设置为默认问题时,vb.net,google-chrome,telerik,radeditor,Vb.net,Google Chrome,Telerik,Radeditor,我正在使用RadEditor-Telerik 当Toolbarmode设置为默认时,工具不会显示在chrome浏览器中,在IE和firefox中工作正常 我不明白为什么chrome会出现这个问题 这是我的密码 Private Function GetNewEditorControl(ByVal sField As String, ByVal iWidth As Integer, _ ByVal iHeight

我正在使用RadEditor-Telerik

当Toolbarmode设置为默认时,工具不会显示在chrome浏览器中,在IE和firefox中工作正常

我不明白为什么chrome会出现这个问题

这是我的密码

   Private Function GetNewEditorControl(ByVal sField As String, ByVal iWidth As Integer, _
                                        ByVal iHeight As Integer, ByVal bUnique As Boolean, ByVal iColFldWidth As Integer, _
                                        ByVal iColSpan As Integer) As Telerik.Web.UI.RadEditor
    Dim sProc As String = System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.Name & "::" & System.Reflection.MethodInfo.GetCurrentMethod().Name

    Dim iUltimateWidth As Integer
    Select Case iWidth
        Case 0
            iUltimateWidth = iColFldWidth
            If iColSpan > 1 Then iUltimateWidth = iUltimateWidth + ((iColSpan - 1) * 4)
        Case Else
            iUltimateWidth = iWidth
    End Select

    Dim oEditor As New Telerik.Web.UI.RadEditor()
    oEditor.ID = sField
    If bUnique = False Then oEditor.ID = sField & "[" & GetNextSeqNo.ToString & "]"
    oEditor.Height = iHeight * 20
    oEditor.Width = System.Web.UI.WebControls.Unit.Pixel(iUltimateWidth)

    SetEditorProperties(oEditor)

    Return oEditor

End Function

'V_T:2/23/2015 MMR Change
Private Sub SetEditorProperties(ByVal oEditor As Telerik.Web.UI.RadEditor)

    oEditor.ToolbarMode = EditorToolbarMode.Default    
    oEditor.EditModes = EditModes.Design
    oEditor.NewLineMode = EditorNewLineModes.Br

    Dim uploadImages As String() = New String() {"~/Temp/MMRImages"}

    oEditor.ImageManager.ViewPaths = uploadImages
    oEditor.ImageManager.UploadPaths = uploadImages
    oEditor.ImageManager.MaxUploadFileSize = 2000000
    oEditor.ImageManager.AllowMultipleSelection = False
    oEditor.ImageManager.EnableAsyncUpload = True
    oEditor.ImageManager.EnableImageEditor = False

    oEditor.EnsureToolsFileLoaded()

    'to remove the Image context menu in the editor content area
    Dim imgTag As Telerik.Web.UI.EditorContextMenu = oEditor.ContextMenus.FindByTagName("IMG")
    imgTag.Enabled = False

请帮我解决这个问题。

我最终得到了这个。Default.reToolbarWrapper{height:80px!important;}编辑器必须具有一些最小尺寸,才能正确显示,请确保高度足够(即,尝试增加它以用于测试)。通过增加工具栏的高度,我在这里遇到了一个问题。。Rad编辑器内容区域高度正在增加,即从Rad编辑器中出来的固定高度。这也仅在chrome中。。如何在Vb.net中实用地设置内容区域高度。。您不能。控件在渲染时通过JS计算其尺寸。你可以在这里了解更多。另外,尝试轻量级渲染模式,看看它是否能改善这种情况。一般来说,尝试至少有200px的高度和400px的宽度或其他东西。最小大小取决于您启用的工具。