Silverlight Demo Applications - Code Please

10 posts, 0 answers
  1. Silly
    Silly avatar
    21 posts
    Member since:
    Oct 2008

    Posted 07 Nov 2009 Link to this post

    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
  2. Nikolay
    Admin
    Nikolay avatar
    3997 posts

    Posted 12 Nov 2009 Link to this post

    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.
  3. Silly
    Silly avatar
    21 posts
    Member since:
    Oct 2008

    Posted 17 Nov 2009 Link to this post

    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
  4. Rosi
    Admin
    Rosi avatar
    2529 posts

    Posted 19 Nov 2009 Link to this post

    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.
  5. Silly
    Silly avatar
    21 posts
    Member since:
    Oct 2008

    Posted 19 Nov 2009 Link to this post

    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


  6. Silly
    Silly avatar
    21 posts
    Member since:
    Oct 2008

    Posted 24 Nov 2009 Link to this post

    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
  7. Rosi
    Admin
    Rosi avatar
    2529 posts

    Posted 25 Nov 2009 Link to this post

    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.
  8. Silly
    Silly avatar
    21 posts
    Member since:
    Oct 2008

    Posted 26 Nov 2009 Link to this post

    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
  9. Silly
    Silly avatar
    21 posts
    Member since:
    Oct 2008

    Posted 30 Nov 2009 Link to this post

    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
  10. Rosi
    Admin
    Rosi avatar
    2529 posts

    Posted 01 Dec 2009 Link to this post

    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.
Back to Top