I just want one bar.. This one bar will contain 2 colors.. One color for 'Disbursed' and one color for 'Remaining'.. I have these 2 values as doubles... so if the values are 200/50 then one color of the bar will cover 25% and the other will cover 75%
What am I missing? As you see I have been poking in the dark (originally it was a datatable but since its just 2 numbers I got them... and now not sure what to do with them.
double dDisbursed = Convert.ToDouble(_grantService.GetFinacialDashboardTotal(234).Rows[0][2].ToString());
double dRemaining = Convert.ToDouble(_grantService.GetFinacialDashboardTotal(234).Rows[0][1].ToString());
// RadChartLOCCS.PlotArea.XAxis.DataLabelsColumn = "GrantID";
// RadChartLOCCS.Series[0].DataLabelsColumn = "AwardAmount";
// RadChartLOCCS.Series[0].DataXColumn = "AwardAmount";
// RadChartLOCCS.Series[0].DataXColumn2 = "LOCCSDisbursed";
//RadChartLOCCS.Series[0].DataYColumn = "AwardAmount";
RadChartLOCCS.DataBind();
<telerik:RadChart ID="RadChartLOCCS" runat="server" DefaultType="StackedBar100" SeriesOrientation="Horizontal">
<Series>
<telerik:ChartSeries Name="SeriesLOCCS" Type="StackedBar100">
</telerik:ChartSeries>
</Series>
<ChartTitle>
<TextBlock Text="LOCCS Budget">
</TextBlock>
</ChartTitle>
</telerik:RadChart>
I'm looking for a way to modify the alt rsp. tooltip text for ExpandCollapseColumn-ExpandImageUrl and ExpandCollapseColumn-CollapseImageUrl. I want to have different text on several pages e.g. in one page simple "collapse", in an other page "more information" and so on.
I did similar with the filter menu in Page_Load
Dim Menu As GridFilterMenu = RadGrid1.FilterMenu
Dim item As RadMenuItem
For Each item In Menu.Items
item.BackColor = Color.LightGreen
'change the text for the StartsWith menu item
If item.Text = "NoFilter" Then
item.Text = "kein Filter"
End If
And so on.
But I didn't find a similar solution for the ExpandImage and CollapseImage in the ExpandColumn.
Any suggestions, ideas?
Thanks
How is it possible to use a custom CSS-File for the RadEditor Content if the RadEditor ist instantiated in a CS Class File and not as a aspx-Control?
We defined a RadControl Object and tried to add our CSS-File by "radEditor.CssFiles.Add(new EditorCssFile(cssUrl));" But it doesn't work tough. It seems that the Method "CssFiles.Add(EditorCssFile file)" doesn't work in the same way as adding a external CSS File trough a aspx Property.
this is the sourcecode:
public class ITeamTextEditor : RadEditor {
public ITeamTextEditor(Page page, String text) {
...
this.EditModes = Telerik.Web.UI.EditModes.Design ^ Telerik.Web.UI.EditModes.Html;
this.Content = text;
...
////doesn't work??////
String cssUrl = "/EditorContentArea.css";
*****this.CssFiles.Add(new EditorCssFile(cssUrl));*****
...
}
The CSS-File doesn't show up in the Head-Tag of the I-Frame of the RadEditor Content. We tried out your example with a RadEditor in a aspx file and it worked. But if you use the RadEditor inside C#-code, it doesn't.
Best Regards
Rinaldo