Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
312 views
Hi,

In my chart ( type StackedBar ), I change my chart series filled color programmtically, the StackedBars colors display fine for each series, but somehow, the corresponding series Legend color is not displaying the same color.  Do I have to set the color for each series legend  or  anything I am missing..

here is my code

Telerik.Reporting.Processing.

Chart chart = sender as Telerik.Reporting.Processing.Chart;

 

Telerik.Reporting.

Chart defChart = chart.ItemDefinition as Telerik.Reporting.Chart;

 

defChart.SeriesPalette =

"";

 

 

int arrayPos = 0;

 

 

foreach (string s in _reporterTypeList)

 

{

 

   ChartSeries serie = new ChartSeries();

 

   serie.Type =

ChartSeriesType.StackedBar;

 

   serie.Clear();

   serie.Name = s;

 

   serie.Appearance.LegendDisplayMode = Telerik.Reporting.Charting.

ChartSeriesLegendDisplayMode.SeriesName;

 

   for (int year = 4; year >= 0; year--)

 

   {

 

      // Define the items in the series

 

      serie.AddItem(_countByReporterTypeYearly[arrayPos, 4 - year]);

 

      serie.Items[serie.Items.Count - 1].Appearance.FillStyle.MainColor = _serieColors[arrayPos];

 

   }

 

   defChart.Series.Add(serie);

   arrayPos++;

 

}


Any help,

thankls

Ves
Telerik team
 answered on 08 Jan 2010
3 answers
321 views
Hi guy,
  i read most message about this argument... i have try many solution without luck.

anyone have solved this problem?

I want fire one radalert window on page load in my c# code.

tnk's all

bye
Svetlina Anati
Telerik team
 answered on 08 Jan 2010
2 answers
80 views
Hi, All

I want to set 1st Day Of Year At RadDatePicker
when Page is Loaded

For example

Set 2010-01-01

How can I do this
Yoon-Ho Choi
Top achievements
Rank 1
 answered on 08 Jan 2010
1 answer
100 views
problem solve
Poul Henningsen
Top achievements
Rank 1
 answered on 08 Jan 2010
6 answers
206 views
Hello,

Referring to this here:

http://www.telerik.com/help/aspnet-ajax/schedule_databindingusingthedatasourceproperty.html

It doesn't seem this code handles recurring scenarios, where the user drags and moves a recurring appointment, or if they delete one of the recurring appointments...

Is that correct?

Thanks.
shanker bangari
Top achievements
Rank 1
 answered on 08 Jan 2010
1 answer
142 views
Hi,
    Am loading Radtab dynamically and tab selected am calling webservice and getting the usercontrol . on succeed call back am assigning that user control to the div tag.. on another tab selected am replacing the div tag with that usercontrol.. so i cant maintain the state,since div tag is replaced by present uc. on each tab selected am calling webservice and replacing the uc. but i want to preserve the state it should not call the webservice for previous clicked tab......

How can i maintain the state of the uc,my coding is full of clientside only..
i need a sample code for the above in clientside itself.

with regards,
Karthikeyan.G
Poul Henningsen
Top achievements
Rank 1
 answered on 08 Jan 2010
1 answer
162 views
Hi,
    When i am double click on grid need change edit mode it's working. But on single click need to change normal mode. If any one  know that give the result

By
Mrk 
Kumar Ramasany
Top achievements
Rank 1
 answered on 08 Jan 2010
1 answer
266 views
Hi,

We are using custom filters for our RadGrids.  We simply extended the class GridBoundColumn and binded the specific data for that column to a DropDownList.  The problem is that when a value is selected in a filter, it clears the filter values set on other columns.  Trying various configuration made us find out that the problem appears only when the page ViewData is 'False' and disappears when it is 'True'.  Also, when we change the order of declaration of extended gridBoundColumn in the .aspx page, the clearing of filter values is different but I cannot find what the pattern is exactly. 

Does anybody knows what could be the relation of this behavior with the viewState.  I don't think it is mentioned in the documentation of the RadGrid that we need the viewState to be true for it to work properly. Am I missing something ?

Best regards,

Princy
Top achievements
Rank 2
 answered on 08 Jan 2010
1 answer
106 views
Hello,
I have a Radgrid has one EditCommandColumn and then has columns dynamically generated for it in the Page_Load.  This generating two columns that have the Edit link in them for my data.  

My question is, is this a function of the grid?  If so how can I just limit the grid to generating one Edit column on the left side of the grid.

Here is the asp for my grid.

<telerik:RadGrid ID="RadGrid1" AllowPaging="True" ShowFooter="True" OnNeedDataSource="RadGrid1_NeedDataSource"
            runat="server" AutoGenerateEditColumn="true" AutoGenerateColumns="False" AllowSorting="True" OnItemDataBound="RadGrid1_ItemDataBound"
            GridLines="Both" CellPadding="0" Skin="Office2007" AllowMultiRowSelection="true" OnUpdateCommand="RadGrid1_UpdateCommand" AllowAutomaticUpdates="False">
            <MasterTableView EditMode="InPlace" CommandItemDisplay="Top" ShowFooter="True" AllowFilteringByColumn="True" TableLayout="Fixed">                
                <Columns>      
                    <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" >
                        <HeaderStyle Width="20px" />                        
                    </telerik:GridEditCommandColumn>                                   
                </Columns>                      
            </MasterTableView>
        </telerik:RadGrid>   


Thank you for any help,
Chris McMahan
Shinu
Top achievements
Rank 2
 answered on 08 Jan 2010
1 answer
94 views
Dear all,

I have a radsliding pane with vertical text when collapsed, it appears okay in IE7 but not in FireFox.
The vertical is displayed but the characters are displayed from top-down see the attached image.
Tsvetie
Telerik team
 answered on 08 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?