Click here to Skip to main content
Click here to Skip to main content

Overflow issue in Infragistics WebHtmlEditor

By , 3 Feb 2011
Rate this:
Please Sign up or sign in to vote.
I have a web page with WebHtmlEditor (of the Infragistics with version 10.3.20103). It works fine with browser IE7 but was not showing the scrollbar when the content is more than the window height.

 
To fix the issue, we can set the CSS style of the TextWindow ( the content editor of the control). Select the WebHtmlEditor control and in properties window under the 'TextWindow', set the 'CssClass' to your own CSS class. In this example, I wrote one class - 'infrWebEditor'.

Identified that when you use the properties window, Visual Studio is generating all the other property tags and was taking time while opening in design mode, instead of setting in the properties window you can copy the below tag in between the <ighedit:WebHtmlEditor> tags -
<TextWindow CssClass="infrWebEditor"/>
 
And my CSS class contains the property 'overflow' set to 'auto'. (You can write your own properties to set the control to look as you want).
 
.infrWebEditor{
    overflow:auto;
}
And the end result is:

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Narsimlu Keshagouni
Technical Lead Weston Solutions
India India
Hi, I am Narsimlu Keshagouni working as Technical Lead in Hyderabad, India. I work on the technologies:
 
-ASP.NET
-Silverlight
-WCF
-SQL Server
-SSRS

Comments and Discussions

 
QuestionCSS in Editor PinmemberMitch284-May-13 22:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web04 | 2.8.140415.2 | Last Updated 3 Feb 2011
Article Copyright 2011 by Narsimlu Keshagouni
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid