Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I am using HtmlEditorExtender ajax control........If we select Times New Roman Font that name is not showing completely....I tried to increase the width of that box which is having a default width of 90px(showing at run time) now i want to change that width to 120px but i cant get any solution ....... Please can anyone help me
Posted

You can try this one.

Get the id or class name of the your control (by using chrome dev tools) and after that give below css style for that.

XML
<style type="text/css">

 #controlId
        {
          width: 120px !important;
 }

</style>
 
Share this answer
 
This should do it.

$('#TextBox1_HtmlEditorExtenderFontName').width(150);


BUT!!!
You must run this in the footer of your page after the html editor extender loads.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900