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

Silverlight Demo Applications - Code Please

9 Answers 150 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Silly
Top achievements
Rank 1
Silly asked on 07 Nov 2009, 06:15 PM
Hello,

Is the code associated with silverlight demo application. Are they available?
In particular, I was interested in 'My Albums' and 'My Tweets'.

Could you please post them?

Thanks a million

- Sally

9 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 12 Nov 2009, 03:16 PM
Hello Silly,

Yes the source code of these applications is available under your account's Download section.

Best wishes,
Nick
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Silly
Top achievements
Rank 1
answered on 17 Nov 2009, 05:47 PM
Thanks for your amazing support.

I am a newbie to Silverlight/WPF and have not used VS in ages. So pardon me if I am doing something stupid.

I am also getting the following error:
Type Telerik.Windows.Control.DataControl is defined in assembly that is not referenced. You must add a reference to assembly 'Telerk.Windows.Data, Version=2009.3.1103.1030, Cutlure=neutral...'

 I did not find documentation at the api level (class heirarchy, class variables and methods and such). Is there one, and I am not looking at the right place?

Thanks a million

- Sally
0
Rosi
Telerik team
answered on 19 Nov 2009, 08:27 AM
Hi Silly,

I suggest you add references to the following Silverlight dll-s to the project. This should helps.

MyAlbums:
Telerik.Windows.Controls.dll.
Telerik.Windows.Controls.Navigation.dll.

MyTweets:

Telerik.Windows.Controls.dll.
Telerik.Windows.Controls.Navigation.dll.
Telerik.Windows.Controls.Input.dll.
Telerik.Windows.Controls.GridView.dll.
Telerik.Windows.Data.dll.

The version of the dll-s should be   2009.3.1103 - the one that we released with Q3 2009 release.

Regards,
Rosi
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Silly
Top achievements
Rank 1
answered on 19 Nov 2009, 06:11 PM
Thanks for your response. But I am afraid you did not answer my questions. I do have reference to the about mentioned .dlls in my project.

But I still get the following error:

Type Telerik.Windows.Control.DataControl is defined in assembly that is not referenced. You must add a reference to assembly 'Telerk.Windows.Data, Version=2009.3.1103.1030, Cutlure=neutral...'

Also help with the documentation. I did not find documentation at the api level (class heirarchy, class variables and methods and such). Is there one, and I am not looking at the right place?

Thanks a million

- Sally


0
Silly
Top achievements
Rank 1
answered on 24 Nov 2009, 06:06 AM
Hello,

This is in reference to the Twitter Demo App.
I am able to compile now without problems. But when I run, I get the following error:
An unhandled exception ("Unhandled Error in Silverlight Application
AG_E_UNKOWN_ERROR [Line: 76 Position: 118] at
System.Windows.Application.LoadComponent(Object component, UriresourceLocator)
 at TwitterSearchApplication.MainPage.InitializeComponent()

Can you please help with this?

- Sally
0
Rosi
Telerik team
answered on 25 Nov 2009, 02:01 PM
Hello Silly,

Please find an attached project including the needed dll-s that works as expected at our side.

As for the documentation - there is no documentation for the application,but you can find here a documentation for the controls used in the application - RadGridView,RadOutlookBar, RadTreeView and RadTabControl.


Regards,
Rosi
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Silly
Top achievements
Rank 1
answered on 26 Nov 2009, 07:35 PM
Hello Rosi,

Thanks for sending the updated version. The program now goes further along, but now I get the following error on line number 250 of
TwitterSearchApplication.TwitterSearchServiceReference.TwitterSearchServiceClient.TwitterSearchServiceClientChannel.EndGetData(IAsyncResult result).

Here is the stack trace:




at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
   at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
   at TwitterSearchApplication.TwitterSearchServiceReference.TwitterSearchServiceClient.TwitterSearchServiceClientChannel.EndGetData(IAsyncResult result)

Thanks
- Sally
0
Silly
Top achievements
Rank 1
answered on 01 Dec 2009, 02:43 AM
Hello Rosi,

Can you please help me with the resolution of this bug (Has it got to do with security settings on my end)

INNER EXCEPTION

System.Security.SecurityException ---> System.Security.SecurityException: Security error.

   at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)

   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)

   at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)

   --- End of inner exception stack trace ---

   at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)

   at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)}


I used the latest zip file that you provided. myTweets.zip.
I really need to have to resolved before we can authorize the purchase of telerik controls.

Thanks for your cooperation

- Sally
0
Rosi
Telerik team
answered on 01 Dec 2009, 01:01 PM
Hi Silly,

We are sorry to hear that the problem didn't go away.

The problem is related with the WCF service. Please be sure that the following things are as described below:

1.The web project is set as a started project.
2.The project runs on the following port: http://localhost:3195


Also you may find the following link helpful: http://stackoverflow.com/questions/122144/calling-wcf-service-from-silverlight

Another thing that you ca try is to delete the service reference from TwitterSearchApplication and add it again with the same name TwitterSearchServiceReference.

I suggest you try the suggestions above and let is known how this goes. Meanwhile you can also browse the online version of the application here.

Regards,
Rosi
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Silly
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Silly
Top achievements
Rank 1
Rosi
Telerik team
Share this question
or