Click here to Skip to main content
15,886,519 members
Articles / Web Development / ASP.NET
Tip/Trick

Overflow issue in Infragistics WebHtmlEditor

Rate me:
Please Sign up or sign in to vote.
1.00/5 (1 vote)
3 Feb 2011CPOL 14K   1
Overflow issue in Infragistics WebHtmlEditor
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)


Written By
Technical Lead
India India
Hi, I am Narsimlu Keshagouni working as Technical Lead in Hyderabad, India.

Comments and Discussions

 
QuestionCSS in Editor Pin
Mitch284-May-13 22:53
Mitch284-May-13 22:53 
Hi Narsimlu,
I have just found your article and perhaps you have an idea to my issue.
If I add a css-link to my Editorcontent, all styles around like toolbar and so Change but
I want only to Change my Content style, do you have an idea to handle it like a sandbox without
changing the Environment?
Cheers
Michael

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

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