Hi
When we want set RadToolTipManager text direction to “right to left”, must use CssClass!
Well, now look at this code:
<%@ Page Language="C#" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>tooltip</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<form id="form" runat="server">
<h1>RadToolTipManager text direction set to default(left to right).</h1>
<div style="margin:auto;width:50px;">
<tlk:RadScriptManager ID="radScriptManager" runat="server" />
<tlk:RadToolTipManager runat="server" ID="radToolTipManager"
ManualClose="true"
ManualCloseButtonText="ManualCloseButtonText"
Position="MiddleLeft"
RelativeTo="Element"
ShowEvent="OnMouseOver"
Width="275">
<TargetControls>
<tlk:ToolTipTargetControl TargetControlID="button" />
</TargetControls>
</tlk:RadToolTipManager>
<asp:Button ID="button" runat="server"
Text="Button"
ToolTip="آزمايشی" />
</div>
</form>
</body>
</html>
first bug: CssClass is not working for RadToolTipManager, and also we can’t customize tooltips elements like font with Font Properties of RadToolTipManager!
So I set direction property of parent div tag style to rtl(direction:rtl;), but it is not working too!
Finally I realized that the only way to changing RadToolTipManager text direction is that I must be set direction property of form tag style or a tag that is parent of form tag!!!
now look at finally code:
<%@ Page Language="C#" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>tooltip</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<form id="form" runat="server" style="direction:rtl;">
<div style="margin:auto;width:50px;">
<tlk:RadScriptManager ID="radScriptManager" runat="server" />
<tlk:RadToolTipManager runat="server" ID="radToolTipManager"
ManualClose="true"
ManualCloseButtonText="ManualCloseButtonText"
Position="MiddleLeft"
RelativeTo="Element"
ShowEvent="OnMouseOver"
Width="275">
<TargetControls>
<tlk:ToolTipTargetControl TargetControlID="button" />
</TargetControls>
</tlk:RadToolTipManager>
<asp:Button ID="button" runat="server"
Text="Button"
ToolTip="آزمايشی" />
</div>
</form>
</body>
</html>
But when I do this an other bug detected!
Secound bug: Scrollbar is very long! Look at images
This is what I had in the ItemDataBound:
| if (lvGalleries.SelectedValue == null && item.DisplayIndex==0) |
| item.Selected = true; |
<telerik:GridTemplateColumn DataField="TotalToSell" UniqueName="colAmountToSell" SortExpression="TotalToSell" ><asp:LinkButton ID="SortMe" CommandName="Sort" CommandArgument="TotalToSell" runat="server" Text='Amount To Sell'></asp:LinkButton><telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="grdPlanCrops"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="grdPlanCrops" LoadingPanelID="RadAjaxLoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager>
<asp:Wizard ID="Wizard2" runat="server" ActiveStepIndex="0" BackColor="#EFF3FB" BorderColor="#B5C7DE" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.9em" Height="180px" Width="640px" onnextbuttonclick="Wizard1_NextButtonClick" onsidebarbuttonclick="Wizard1_SideBarButtonClick" onfinishbuttonclick="Wizard1_FinishButtonClick"> <HeaderStyle BackColor="#284E98" BorderColor="#EFF3FB" BorderStyle="Solid" BorderWidth="2px" Font-Bold="True" Font-Size="0.9em" ForeColor="White" HorizontalAlign="Center" /> <NavigationButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" /> <SideBarButtonStyle BackColor="#00AEEF" Font-Names="Verdana" ForeColor="White" /> <SideBarStyle BackColor="#00AEEF" Font-Size="0.9em" VerticalAlign="Top" Width="200px" /> <StepStyle Font-Size="0.8em" ForeColor="#333333" /> <WizardSteps> <asp:WizardStep runat="server" title="Selección Fecha"> <table align="center" class="style1"> <tr> <td class="style3"> Mes</td> <td style="text-align: center"> <telerik:RadComboBox ID="RadComboBox3" runat="server" Skin="Windows7"> <Items> <telerik:RadComboBoxItem runat="server" Owner="" Text="Enero" Value="01" /> <telerik:RadComboBoxItem runat="server" Owner="" Text="Febreo" Value="02" /> <telerik:RadComboBoxItem runat="server" Owner="" Text="Marzo" Value="03" /> <telerik:RadComboBoxItem runat="server" Owner="" Text="Abril" Value="04" /> <telerik:RadComboBoxItem runat="server" Owner="" Text="Mayo" Value="05" /> <telerik:RadComboBoxItem runat="server" Owner="" Text="Junio" Value="06" /> <telerik:RadComboBoxItem runat="server" Owner="" Text="Julio" Value="07" /> <telerik:RadComboBoxItem runat="server" Owner="" Text="Agosto" Value="08" /> <telerik:RadComboBoxItem runat="server" Owner="" Text="Septiembre" Value="09" /> <telerik:RadComboBoxItem runat="server" Owner="" Text="Octubre" Value="10" /> <telerik:RadComboBoxItem runat="server" Owner="" Text="Noviembre" Value="11" /> <telerik:RadComboBoxItem runat="server" Owner="" Text="Diciembre" Value="12" /> </Items> </telerik:RadComboBox> </td> </tr> <tr> <td class="style3"> Año</td> <td style="text-align: center"> <telerik:RadComboBox ID="RadComboBox4" runat="server" Skin="Windows7"> </telerik:RadComboBox> </td> </tr> <tr> <td class="style3"> </td> <td> </td> </tr> </table> </asp:WizardStep> <asp:WizardStep runat="server" title="Cargar Datos"> <div style="height: 32px"> <br /> <telerik:RadAsyncUpload ID="RadAsyncUploadPrueba0" runat="server" AllowedFileExtensions="xls,xlsx" MaxFileInputsCount="1" MaxFileSize="524288" OnClientFileSelected="" OnClientFilesSelected="" OnClientValidationFailed="validationFailed" OnFileUploaded="RadAsyncUpload1_FileUploaded"> <filefilters> <telerik:FileFilter Description="*.xls; *.xlsx" Extensions="xls,xlsx" /> </filefilters> </telerik:RadAsyncUpload> <br /> </div> </asp:WizardStep> </WizardSteps> </asp:Wizard>