New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Resize the Dropdown Header and Pop-up Size

You can set the header and pop up width and height of a specified dropdown tool of RadEditor for ASP.NET AJAX:

  • through the ToolsFile.xml file:
XML
<tools>    
	<tool name="FormatBlock" popupheight="250px"/>    
	<tool name="FontName" popupwidth="300px" />    
	<tool name="RealFontSize" width="200px"   />
</tools>
  • or through the code behind:
C#
//get a reference to the desired dropdown tool
Telerik.Web.UI.EditorTool tool = RadEditor1.Tools[5].FindTool("FontName");
//set the desired pop up width and height
tool.Attributes["popupwidth"] = "300px";
tool.Attributes["popupheight"] = "300px";
//set the desired dropdown header width
tool.Attributes["width"] = "300px";
Not finding the help you need?
Contact Support