this._RadGrid1.Skin = "WebBlue"; this._RadGrid1.Width = Unit.Percentage(100); this._RadGrid1.GridLines = GridLines.None; this._RadGrid1.AutoGenerateColumns = false; this._RadGrid1.AllowSorting = true; this._RadGrid1.GridLines = GridLines.None; this._RadGrid1.PageSize = 100; this._RadGrid1.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric; this._RadGrid1.AllowPaging = true; this._RadGrid1.AllowSorting = true; this._RadGrid1.ClientSettings.DataBinding.EnableCaching = true; this._RadGrid1.EnableLinqExpressions = false; this._RadGrid1.MasterTableView.NoMasterRecordsText = string.Format("There are no records"); this._RadGrid1.MasterTableView.Width = Unit.Percentage(100); this._RadGrid1.MasterTableView.HierarchyDefaultExpanded = true; this._RadGrid1.MasterTableView.DataKeyNames = new string[] { this._OrderTable.OrderIdColumn.ColumnName }; this._RadGrid1.MasterTableView.CommandItemSettings.ShowAddNewRecordButton = true; this._RadGrid1.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.Top; this._RadGrid1.MasterTableView.CommandItemSettings.AddNewRecordText = "Add Order task"; this._RadGrid1.MasterTableView.AllowAutomaticInserts = false; //this._RadGrid1.MasterTableView.EditFormSettings.UserControlName = "AddOrderTaskControl.ascx"; this._RadGrid1.MasterTableView.EditFormSettings.EditFormType = GridEditFormType.Template; this._RadGrid1.MasterTableView.EditFormSettings.FormTemplate = new InsertFormTemplate(this._OrderRequestId, this._SourceSystemTypeId, false); this._RadGrid1.InsertCommand += _RadGrid1_InsertCommand; this._RadGrid1.ItemCommand += _RadGrid1_ItemCommand; this._RadGrid1.NeedDataSource += RadGrid1_NeedDataSource;<telerik:RadContentTemplateTile ID="RadContentTemplateTile1" runat="server" Name="balancesTile" Shape="Wide" NavigateUrl="~/balances/balancesummary.aspx?MenuID=2&id=0" Width="460px" BorderStyle="None"> <ContentTemplate> <b>Balances</b> <p> <bal:ucBalance ID="balanceSummary" runat="server" /> </p> </ContentTemplate> </telerik:RadContentTemplateTile>
<LabelsAppearance Position="Circle" ClientTemplate="#=dataItem.department# <br/>$#=dataItem.amount#M (#=dataItem.percent#%)" > </LabelsAppearance>
LabelsAppearance works fine if I remove the <br/> tag.
<telerik:RadHtmlChart runat="server" ID="PieChart1" Width="800" Height="550" Transitions="true"
Skin="Forest">
<Appearance>
<FillStyle BackgroundColor="White"></FillStyle>
</Appearance>
<ChartTitle Text="Total: $2,694,491,736">
<Appearance Align="Center" BackgroundColor="White" Position="Bottom">
</Appearance>
</ChartTitle>
<Legend>
<Appearance BackgroundColor="White" Position="Right" Visible="true">
</Appearance>
</Legend>
<PlotArea>
<Appearance>
<FillStyle BackgroundColor="White"></FillStyle>
</Appearance>
<Series>
<telerik:PieSeries StartAngle="90" DataFieldY="percent" ColorField="customcolor">
<LabelsAppearance Position="Circle" ClientTemplate="#=dataItem.department# $#=dataItem.amount#M (#=dataItem.percent#%)" >
</LabelsAppearance>
<TooltipsAppearance ClientTemplate="#=dataItem.department#<br/>$#=dataItem.amount#M (#=dataItem.percent#%)"></TooltipsAppearance>
</telerik:PieSeries>
</Series>
</PlotArea>
</telerik:RadHtmlChart>
Thanks