This is a migrated thread and some comments may be shown as answers.

Datatable

13 Answers 99 Views
Chart
This is a migrated thread and some comments may be shown as answers.
John Giblin
Top achievements
Rank 1
John Giblin asked on 31 Dec 2010, 05:52 AM
I didnt see the datatable in Silverlight like in Asp.net.  Is it not included in silverlight??

thanks

13 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 31 Dec 2010, 10:11 AM
Hello John Giblin,

I suppose you meant a GridView control that is available as part of our Silverlight offering. You can see all the controls that are available in our RadControls for Silverlight bundle at:
http://www.telerik.com/products/silverlight.aspx

Hope this helps.

Best wishes,
Nick
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
John Giblin
Top achievements
Rank 1
answered on 03 Jan 2011, 03:48 PM
There is an option in the Rad Chart asp.net to show datatable. I guess it is not available in silverlight.
0
Yavor
Telerik team
answered on 04 Jan 2011, 07:56 AM
Hello John,

The following article contains additional information on the databinding support for the control:

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

You can also directly bind to the database object, as shown in the following article:

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

I hope this information gets you started properly.

Regards,
Yavor
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
John Giblin
Top achievements
Rank 1
answered on 04 Jan 2011, 05:31 PM
Sorry I didn't think I needed that much explanation for this.  I should have explain myself better


In Asp.net Rad Chart there is a feature to show the datable below the chart. See attachment

I didnt see that same feature in SilverLight.
0
Ves
Telerik team
answered on 07 Jan 2011, 04:13 PM
Hello John Giblin,

I am afraid that's correct. RadChart for Silverlight does not support this out of the box. You can set RadChart.UseDefaultLayout property to false as shown here and provide your own layout for RadChart, including a RadGridView, or put directly RadGridView beneath the chart. In both cases, you will be responsible for populating RadGridView with data.

Best regards,
Ves
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
John Giblin
Top achievements
Rank 1
answered on 16 Aug 2011, 02:02 PM
thanks.  I see a good amount of example to get around this.
is there any plans to add this feature anytime soon
0
Ves
Telerik team
answered on 18 Aug 2011, 12:43 PM
Hello John,

I am afraid this is not in our plans for RadChart, you will need to follow the examples to achieve it. Let us know if you come across a problem with the implementation.

Best regards,
Ves
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
John Giblin
Top achievements
Rank 1
answered on 19 Aug 2011, 03:05 PM
Thanks Ves. From the examples I can use a datagrid. 

As you can see from my screen shot, I am using the DataGroups.  I would like it is line up in the same way.  Is there a way to get the width of the group and group names.

thanks.
0
Ves
Telerik team
answered on 24 Aug 2011, 09:23 AM
Hi John,

I am not sure I followed your question. Did you mean to attach a screenshot? In this case maybe the upload has failed. Please, try re-uploading it and provide more details about your question.

Looking forward to hearing from you,
Ves
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
John Giblin
Top achievements
Rank 1
answered on 24 Aug 2011, 09:33 PM
it is a few posts above from me.  the attached doc is
ChartDatatable.JPG
0
Ves
Telerik team
answered on 29 Aug 2011, 02:32 PM
Hi John,

I am afraid I could not see the relation between the data groups mentioned and the  ChartDatatable.jpg image, so I asked if there was another image. Can you please provide more details - which width do you need to get and how would you expect the grid to look like?

Best regards,
Ves
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
John Giblin
Top achievements
Rank 1
answered on 05 Sep 2011, 07:01 PM
you dont see how the chart and the datatable are grouped by the series (ie p18_34, p1849, etc
0
Ves
Telerik team
answered on 08 Sep 2011, 09:26 AM
Hello John,

You will need to configure the grid manually. As for the alignment -- here is how to obtain the width of the area, used to plot the bars:

RadChart1.ChildrenOfType<ChartPanel>().ElementAt(0).ActualWidth;

Then you need to divide that number by the number of items along the X axis and use the result to define the width of each column in the grid.

Best regards,
Ves
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Chart
Asked by
John Giblin
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
John Giblin
Top achievements
Rank 1
Yavor
Telerik team
Ves
Telerik team
Share this question
or