Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for .NET
»
SetHeight() and SetWidth() don't work. (my bad, please ignore)
SetHeight() and SetWidth() don't work. (my bad, please ignore)
09-03-2009, 11:53 AM
geewhizbang
Joined on 09-02-2009
Posts 6
SetHeight() and SetWidth() don't work. (my bad, please ignore)
Reply
Quote
<
CE
:
Editor
ID
="CuteEdit"
AutoConfigure
='Simple'
Visible
="true"
AllowPasteHtml
="true"
EditorWysiwygModeCss
="/content/css/styles.css"
ShowCodeViewToolBar
="true"
ResizeMode
="None"
runat
="server"
/>
$KB.CuteEdit = $g(
'<% = CuteEdit.ClientID%>'
);
function
Resize()
{
$KB.CuteEdit.SetHeight(EditorWindow.height-100);
$KB.CuteEdit.SetWidth(EditorWindow.width-20);
}
The function fails to do anything to modify the width or the height. It runs ( I have trapped it in the debugger) and
$KB.CuteEdit
is the CuteEdit object. It doesn't cause a debug error, it just doesn't do anything.
We are using ExtJS on our pages if that has anything to do with this.
I have determined that the EditorWindow.height / width are always the same. So the problem is external to Cute Edit.
Geoff Swenson
Seattle Washington
Filed under:
Set Height
View Complete Thread