Completed
Last Updated: 08 Jan 2016 11:49 by ADMIN
ADMIN
Ianko
Created on: 02 Jun 2015 08:13
Category: UI for ASP.NET AJAX
Type: Bug Report
0
Layout of buttons in the RadSpell dialog when longer text is applied from localization
When localizing RadSpell to e.g., German, buttons' text is longer than expected and overflows outside the button.

To fix the issue you can use an external dialog css file like in this code snippet:

ASP.NET 
--------------------------------------------------------------------------------------
<asp:TextBox ID="textBox2" runat="server" width="100%" Height="100px" 
    TextMode="MultiLine">Dies ist eine Textbox mit ainigen absichtlichen fehlern.</asp:TextBox>
<br />
<telerik:RadSpell ID="spell2" runat="server" ControlToCheck="textBox2" Language="de-DE"
    DictionaryLanguage="de-DE" SpellCheckProvider="EditDistanceProvider" Skin="Silk" DialogsCssFile="spell-dialog-css.css"></telerik:RadSpell>


CSS
--------------------------------------------------------------------------------------
button {
    overflow: hidden;
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
0 comments