9 Answers, 1 is accepted
I suggest reading the following tutorial that contains instructions about using Silverlight and HTML/Javascript together:
http://silverlight.net/quickstarts/htmlbridge1.aspx
Best wishes,
Valeri Hristov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Also I, and surely many other Telerik customers, want to use Silverlight controls in asp.net applications.
It appears rather complex to follow procedures at the "guidance link".
Could you provide a demo like the current silverlight demo but showing the Silverlight controls in asp.net applications?
It would help so much. Even such a demo with just ONE Telerik Silverlight control would be helpful.
If possible, show a Telerik Silverlight control running as part of a user control.
I was able to run the silverlight demo on my developer pc but it is not clear how to set up these examples in a normal asp.net application.
I am most interested in seeing the following in an asp.net application:
http://demos.telerik.com/silverlight/default.aspx#Chart/Gallery/StackedBar
http://demos.telerik.com/silverlight/default.aspx#Chart/Gallery/Line
http://demos.telerik.com/silverlight/default.aspx#Chart/DrillDown
Steve
We would suggest you to review this code library project here that demonstrates integration of the Silverlight chart control in ASP.NET application. You can find runnable demo attached there as well.
Let us know if you have any specific questions on the implementation.
Kind regards,
Manuel
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Thank you. This is the kind of example I was looking for.
Can you help me run it? I get a black screen with message "No Data Series".
When I debug execution I see execution of parts of Default.aspx.cs and ChartUserControl.aspx.cs
But nothing is executed in Page.xaml.cs
Steve
Indeed it seems that due to a glitch in the connection string in the web.config it is possible that in some scenarios the dbfile is not attached correctly onto the SQLEXPRESS instance and thus the web service does not feed the chart control with data.
We have attached a modified version of the application that should behave as expected and we will update the zip in the code library as well.
Let us know if the problem persists.
Best wishes,
Manuel
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Still I get a black screen with message "No Data Series".
My goal is to set up a graph in an asp.net web application that uses Sql Server 2008. In my application, data for controls such as graphs, grids, etc. is retrieved from the database using Linq and put into business objects (collections of programmer-defined entities) for use by controls.
Therefore the most useful example would employ programmer-defined business objects that separate (insulate) the graph control from the details of the database retrieval, and it would be based on SQL Server Standard. The current example uses a data service technique with which I am not familiar and it seems there is not a clean separation of the graph from the details of the database retrieval code. To get the example working for me may require me to study and debug the database interaction when I would rather focus on the graph. Effort devoted to learning how this type of database interaction works is a distraction that will not help me in my work.
Another issue is I use SQL Server 2008 standard, whereas the example uses SQL Server Express. This difference may be causing problems in my running the example project.
Probably many other Telerik customers are in a situation similar to mine and would benefit from an example such as I am suggesting.
Steve
We have stripped down the ADO.NET Data Service logic and we have attached a modified sample application that demonstrates databinding the chart control to a list of custom business objects. You can easily replace the RadChart.ItemsSource passed to the control with the result of a LINQ query or any IEnumerable data object you would like to retrieve from a database, web service, data service, etc as the control is data-agnostic and works with any IEnumerable source passed to it.
Hope this helps.
Best wishes,
Manuel
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Steve