Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
101 views
The project I am working on is missing some images.  I added filters to a few grid columns by using allowfilterbycolumn and the filter pull down has missing images in it.  Not sure where I can find these images, I have attached a screenshot of the issue.  Any help would be appreciated, thanks.
Dimo
Telerik team
 answered on 27 Apr 2010
6 answers
563 views
Hi,

I am creating a stacked bar chart programatically with one or several series across the x-axis.  The chart is being created and displays fine, except I cannot work out how to change the x-axis labels to a variable text item - everything I have tried so far just results in the x-axis being labelled as 1, 2, 3 etc...

The code being used (and working at present) is:

 Dim cs_hours As New ChartSeries  
                    cs_hours.Name = "Hours Recorded" 
                    Dim cs_under As New ChartSeries  
                    cs_under.Name = "Hours Deficit" 
                    Dim cs_over As New ChartSeries  
                    cs_over.Name = "Hours Over" 
 
                    cs_hours.Type = ChartSeriesType.StackedBar  
                    cs_under.Type = ChartSeriesType.StackedBar  
                    cs_over.Type = ChartSeriesType.StackedBar  
 
                    cs_hours.Appearance.FillStyle.FillType = Styles.FillType.Solid  
                    cs_hours.Appearance.FillStyle.MainColor = Drawing.Color.Green  
 
                    cs_under.Appearance.FillStyle.FillType = Styles.FillType.Solid  
                    cs_under.Appearance.FillStyle.MainColor = Drawing.Color.Blue  
 
                    cs_over.Appearance.FillStyle.FillType = Styles.FillType.Solid  
                    cs_over.Appearance.FillStyle.MainColor = Drawing.Color.Red  
 
                    cs_hours.Appearance.LabelAppearance.Visible = False 
                    cs_under.Appearance.LabelAppearance.Visible = False 
                    cs_over.Appearance.LabelAppearance.Visible = False 
 
                    Chart.Series.Add(cs_hours)  
                    Chart.Series.Add(cs_under)  
                    Chart.Series.Add(cs_over)  
 
                    While dr.Read  
                        Dim tm As String = dr.Item(0)  
                        Dim hrs As Decimal = dr.Item(1)  
                        Dim ehrs As Decimal = dr.Item(2)  
                        Dim ah, vh, rh As Decimal  
...  
                        cs_hours.AddItem(ah, tm, Drawing.Color.Green)  
                        cs_under.AddItem(vh, "", Drawing.Color.Blue)  
                        cs_over.AddItem(rh, "", Drawing.Color.Red)  
 
                    End While 

What I want to do is display the text in the tm field as the label on the x-axis underneath each series of stacked bars.  I really want to display this at an angle, but I think I can work out how this is done, not just how to get the label text to show something other than the number.

David Penny
Ves
Telerik team
 answered on 27 Apr 2010
1 answer
85 views
Hello,

I need to display a StackedBar chart with a datasource containing this kind of data
Month    Amount    Product 
Jan      12        A 
Jan      13        B 
Feb      10        A 
Mar      11        C 
Mar      10        B 

The question is how to databind these three columns to a StackedBar RadChart?
I know Month and Amount columns could be databinded by DataLabelsColumn and DataYColumn to display a Bar RadChart...
But what about the third column? How to databind it to display a StackedBar RadChart?

The samples you provide about this type of chart contain its data predefined in the aspx. There aren't examples illustrating databinding on this type of chart.

Please help.
Thanks is advance.
Ves
Telerik team
 answered on 27 Apr 2010
1 answer
83 views
I have a chart with stackedbars, which I want to appear as area's. But with the rounding/3d effect of the bars, it still appears as bars. How can I disable this look?

See attached file for example.
Vladimir Milev
Telerik team
 answered on 27 Apr 2010
3 answers
92 views
I am in the process of evaluating different charting packages to determine which one meets the few requirements that we have. Can anyone let me know which control can perform all of the following requirements?

All features need to work from a browser either using ASP.Net or Silverlight:
- Printing in landscape or portrait (need a chart to expand to paper size)
- Zooming/scrolling
- Real-time/Live updating of chart
- Fastline and stepline support

We do not have a preference between the 2 technologies but we cannot combine them, meaning we cannot have Silverlight to show the zooming/scrolling and then if printing is required display the ASP.Net version.

Are there any examples with all of the above working together? I got the impression that I would need to include the slider control for zooming to work with the chart control. Is that a correct assessment? Is there anything for printing?

Thanks for any help!

Vladimir Milev
Telerik team
 answered on 27 Apr 2010
0 answers
108 views
Hi telerik,

I want a rad menu in the semi circular form.

Please help to build Semi circular menu.
ravi shankar
Top achievements
Rank 1
 asked on 27 Apr 2010
6 answers
67 views
I've installed the Editor Lite on my WSS site - and it's displaying succesfully - but is not picking up any changes I am making.

Can someone assist please?
Stanimir
Telerik team
 answered on 27 Apr 2010
7 answers
239 views

I have following  Rad controls on a user control. I load this user control dynamically.  I am doing everything mentioned in general to maintain viewsatate.

Following RadText box is not maintaining a viewstate in between postbacks. Next to Rad I have put regular aspText box and it works fine with viewstate.

<telerik:RadTextBox ID="txtName" runat="server" MaxLength="50"

                                          meta:resourcekey="txtName" Width="300px" EnableViewState="true">

                                    </telerik:RadTextBox>

<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>  --- This one works fine

Following Rad combobox is behaving like locked I can not select values from a dropdown. But next to this one is regular aspdropdown on the same page which works fine with view state as well as with dropdown list selection. Exactly same code I use to load both boxes. Which is also given

<telerik:RadComboBox ID="cboAccount" runat="server" Skin="Vista"

                                          meta:resourcekey="cboAccount" Sort="Ascending" Width="300px" AppendDataBoundItems="True">

                                    </telerik:RadComboBox>

           

 

<asp:DropDownList ID="DropDownList1" runat="server">

                                    </asp:DropDownList>

 

      With cboAccount

                        .DataSource = _piggyBankEligibleAccounts

                        .DataTextField = "Text"

                        .DataValueField = "id"

                        .DataBind()

                  End With

                  With DropDownList1

                        .DataSource = _piggyBankEligibleAccounts

                        .DataTextField = "Text"

                        .DataValueField = "id"

                        .DataBind()

                  End With

Iana Tsolova
Telerik team
 answered on 27 Apr 2010
3 answers
274 views
Hello

I have an OnRowCreated event in my RadGrid.  I need to add a onclick event depending on what column it is for each cell.  Instead of using (i == #) in my loop to determine the onclick event (because the column index numbers change depending on the data being loaded), I would like to find out the column unique name (elementName in the code below) for that cell and use that as the determinant for the onclick event.  But so far, I have not found out how to obtain the unique name for the column. 

Thanks
Oscar

            function RowCreated(sender, eventArgs) {  
                var dataItem = eventArgs.get_gridDataItem();  
 
                for (var i = 0; i < dataItem.get_element().cells.length; i++) {  
                                          
                    //if (elementName == 'CompName') {  
                    if (i == 1) {  
                        dataItem.get_element().cells[i].onclick = function() {  
                            this.selected = this.selected == true ? false : true;  
                            //some function  
                        };  
                    }  
                    else if (i == 2) {  
                        dataItem.get_element().cells[i].onclick = function() {  
                            this.selected = this.selected == true ? false : true;  
                            //some function  
                        };  
                    }  
                    else if (i == 3) {  
                        dataItem.get_element().cells[i].onclick = function() {  
                            this.selected = this.selected == true ? false : true;  
                            //some function  
                        };  
                    }                         
                }  
            }  
 
Princy
Top achievements
Rank 2
 answered on 27 Apr 2010
2 answers
128 views
Dear Telerik development team!
 
I'm using AJAX RadControls for ASPNET Q3 2008. I use the Edit Form on Radgrid usercontrols. Inconvenient when this method  InsertCommand executed  completed, when User Control Edit window  form is closed, the user have to click the Insert button more than once if you want to insert multiple rows. How do I fix this?

Sincerely ....
Phuoc Nguyen Thanh
Top achievements
Rank 1
 answered on 27 Apr 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?