Telerik Sales Dashboard Demo

Thread is closed for posting
83 posts, 0 answers
  1. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 02 Sep 2009 Link to this post

    Hello Richard,

    The GetRepresentativesCompletedEventArgs type is automatically generated for you by Visual Studio when you add the service reference to the Silverlight project. This means that if you make any changes to the WCF service on the server side, you need to update the service reference in the Silverlight project in order to get the changes to the service on the client side. You can update the serivce reference by right-clicking on it in the Silverlight project and choosing "Update Service Reference" from the context menu that pops up.

    Let me know if this helps.


    Greetings,
    Tihomir Petkov
    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.
  2. Richard Newson
    Richard Newson avatar
    17 posts
    Member since:
    Aug 2009

    Posted 02 Sep 2009 Link to this post

    Does that require me making my "Sites" part of the "Representatives", instead of a class, module, etc of their own, in order to be reflected in the Service?
  3. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 04 Sep 2009 Link to this post

    Hello Richard,

    Whether you make a dedicated Sites module or you intergrate the data in the Representatives module depends entirely on your project requirements. However, what you do with your data on the client side, does not affect the data types exposed by the service proxy - they are determined by the WCF service on the server. Thus, if you want to alter the types exposed by the service, you should do that on the server side and the changes will be available on the client side after you update the service reference (which will re-generate the service proxy).

    All the best,
    Tihomir Petkov
    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.
  4. Richard Newson
    Richard Newson avatar
    17 posts
    Member since:
    Aug 2009

    Posted 06 Sep 2009 Link to this post

    Thanks for that - Am I correct in that the code for the WCF Service for the Dashboard is not delivered with the sample?
  5. Richard Newson
    Richard Newson avatar
    17 posts
    Member since:
    Aug 2009

    Posted 07 Sep 2009 Link to this post

    What would be the most appropriate way to cause the grid to frequently refresh itself from the Database, i.e. updating itself for when new sales coming in during viewing of the grid?
  6. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 08 Sep 2009 Link to this post

    Hello Richard,

    The WCF service is included in the solution - you can find it in the web project. Regarding your second question, you may use a duplex WCF service. Here are some links that may be useful if you are not familiar with this type of services:

    http://blog.developers.ba/post/2009/02/25/Silverlight-chat-application-using-WCF-full-duplex.aspx
    http://silverlight.net/forums/p/121442/274009.aspx
    http://www.mokosh.co.uk/post/Silverlight-3-and-WCF-Duplex-Services.aspx
    http://silverlightforbusiness.net/2009/06/23/pushing-data-from-the-server-to-silverlight-3-using-a-duplex-wcf-service/

    However, using a duplex service would require a number of modifications to the client code, including re-writing the service proxy.

    Greetings,
    Tihomir Petkov
    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.
  7. Bil@l
    Bil@l avatar
    40 posts
    Member since:
    Oct 2005

    Posted 21 Sep 2009 Link to this post

    Hi,
    For some reason, I am unable to debug the source code. "No symbols has been loaded". I have tried deleting the "obj" folder with no luck.

    Is there a resolution for this? I am running in Debug mode the SL version using VS 2008.

    Thank you,
    Regards
  8. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 22 Sep 2009 Link to this post

    Hi Bilal,

    The reason for the error you get is that the source code is distributed without the .pdb files of our controls. To resolve the problem simply copy the correct version (build # and type -  trial or full) of the .pdb files to the Binaries/Telerik/[Silverlight | Desktop] folder in the solution. The .pdb files are included in the .zip when you download the controls from our website.

    Let me know if you have any difficulties.

    All the best,
    Tihomir Petkov
    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.
  9. Bil@l
    Bil@l avatar
    40 posts
    Member since:
    Oct 2005

    Posted 22 Sep 2009 Link to this post

    Hello Tihomir,
    I downloaded the .zip file, and already have the msi and none contains the PDB files.

    Where do I get them please?
    Regards
  10. Bil@l
    Bil@l avatar
    40 posts
    Member since:
    Oct 2005

    Posted 24 Sep 2009 Link to this post

    Any input on this please?

    Also guys, how easy it is to design and develop fancy applications using Silverlight and Prism? Maybe I am new to it, I am finding it a bit complicated to do so, any ideas here?

    Thanks a lot,
    Regards
  11. Paul
    Paul avatar
    37 posts
    Member since:
    May 2009

    Posted 24 Sep 2009 Link to this post

    Hi Bilal,

    If I may make a comment:

    It depends on what you mean by fancy.  There are limitations to what Silverlight can do.  That being said, Prism is a collection of related software patterns and libraries and is not trivial to fully implement in a robust enterprise application.  It does have a steep learning curve but the rewards can be great.  It does require a good understanding of what Prism is trying to achieve and how you want to apply it to your situation.  This means it takes research time...

    As far as ideas, the best I can say is grab the Prism (Composite Application) guidance up on codeplex.  Then read it thoroughly.  Let it ferment in your brain, thinking how it applies to the application(s) you want to build.  Then read it again, looking for patterns that apply best to achieve that..  Then read Miroslav's blog post, download his source code and see how one might use the radDocking control to implement Prism.  Ask yourself what parts of Prism his example implements.

    At that point, you'll have a better understanding of Prism as it applies to Telerik's controls.  Then it's up to you to design your application and implement the parts of Prism you need.

    Regards,
    Paul from Minneapolis
  12. Bil@l
    Bil@l avatar
    40 posts
    Member since:
    Oct 2005

    Posted 24 Sep 2009 Link to this post

    Hi Paul,
    Thanks for your feedback. I truly appreciate it.

    Actually, I started like 3 months ago reading on Silverlight. I read around 4 or 5 books. I also worked on some of the Telerik's control. I even implemented a pluggable solution in Silverlight named it "VBC shortcuts". Where I load links to downloadable XAP files. Each XAP downloaded is a separate application by itself all hosted under the umbrella of one main host application.
    Now I am planning to learn Prism by convering this application to be modular and based on Prism.

    I read the guidance once, for sure I have better understanding on how Prism works. I also went through the Telerik's Sales Dashboard, checked out how things are done.

    I printed the Prism dashboard again and will go through it as a second read I am sure I will conclude things easily.

    But maybe the few resources on Prism, examples and stuff is making it hard to fully understand it and what can be done using it.


    Thanks again,
    Regards
  13. Heinz Schildgen
    Heinz Schildgen avatar
    1 posts
    Member since:
    Oct 2009

    Posted 20 Oct 2009 Link to this post

    I am trying to start the silverlight solution. I use Openaccess ORM and the compiler settings are like you suggest. I am able to compile but when i start the projetct, the browser starts with the modules in it, but no data is displayed. in the debugger i get the following message OpenAccessException not handeled (in SalesDashboradScopeProvider.cs at line 118):

    Unable to create instance of driver class 'Telerik.OpenAccess.RT.Adonet2Generic.Impl.DBDriver': System.Exception: Der Typeninitialisierer für "Telerik.OpenAccess.RT.Adonet2Generic.Impl.DBDriver" hat eine Ausnahme verursacht. ---> System.TypeInitializationException: Der Typeninitialisierer für "Telerik.OpenAccess.RT.Adonet2Generic.Impl.DBDriver" hat eine Ausnahme verursacht. ---> System.IO.FileLoadException: Die Datei oder Assembly "Telerik.OpenAccess, Version=2009.1.405.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342" oder eine Abhängigkeit davon wurde nicht gefunden. Die gefundene Manifestdefinition der Assembly stimmt nicht mit dem Assemblyverweis überein. (Ausnahme von HRESULT: 0x80131040)
    Dateiname: "Telerik.OpenAccess, Version=2009.1.405.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342"
       bei Telerik.OpenAccess.RT.ClassHelper.FromType(Type type)
       bei Telerik.OpenAccess.RT.ClassHelper.FromClass(Type cls)
       bei Telerik.OpenAccess.RT.sql.DriverManager.registerDriver(Driver driver)
       bei Telerik.OpenAccess.RT.Adonet2Generic.Impl.DBDriver.Initialize()
       bei Telerik.OpenAccess.RT.Adonet2Generic.Impl.DBDriver..cctor()

    Thanks

    Heinz
  14. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 22 Oct 2009 Link to this post

    Hello guys,

    @Heinz: The version of the application that you can currently download was targeting the Silvelright 2 platform. For our upcoming Q3 release, which is due in the beginning of November, we will update the application to the latest version of our controls and Silverlight 3. The most probable cause for the error you get is that you are using a version of the OpenAccess ORM that is different than the one used originally in the solution.

    @Bilal: I agree that Prism has a bit of a steep learning curve and using it requires proper research and some experience. We have provided several examples, but if the Microsoft guys, who are the authors after all, do not provide more samples and learning materials, Prism will remain somewhat obscure and it will not be able to enter the mainstream.

    Regarding your question about the .pdb files, they were actually not included in the last several builds we released. However, we will include them in the Q3 build, so that it is easier for clients to debug their applications.

    Best wishes,
    Tihomir Petkov
    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.
  15. kerrigan
    kerrigan avatar
    5 posts
    Member since:
    Mar 2007

    Posted 14 Nov 2009 Link to this post

    Hello, I know this question was asked previously on this thread. However I am unable to find the source code for the Telerik Sales Dashboard demo. I have gone to 'Your Account'. However I am unable to find the link to download the source code. Please give me a direct link or point me to how I may download the source code.

    thanks,
    Kerrigan.
  16. kerrigan
    kerrigan avatar
    5 posts
    Member since:
    Mar 2007

    Posted 16 Nov 2009 Link to this post

    I got a reply from Telerik. Apparently it's no longer on the Q3 release (presumably why I couldn't find the link). You have to try to download older Q2 version and you'll see the link to download the sales demo source code.

    Kerrigan.

    In order to download the source code of the Telerik Sales Dashboard Demo, please follow the steps below:

     

    1.    Go to Telerik.com and log-in.

    2.    Go to the ‘Free Trials’ section and select ‘Older Versions’ for the Silverlight product line.

    3.    Select ‘2009.2 812’ and then select ‘Telerik Sales Dashboard Demo’.

  17. Ryan Beaver
    Ryan Beaver avatar
    9 posts
    Member since:
    Oct 2008

    Posted 16 Nov 2009 Link to this post

    Same here, awesome demo, any way we can have a look at the source?
  18. Nikolay
    Admin
    Nikolay avatar
    3997 posts

    Posted 18 Nov 2009 Link to this post

    Hello Ryan Beaver,

    We are currently working on updating the demo. We will upload the new source code shortly - in two weeks at the latest.

    Kind regards,
    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.
  19. tony
    tony avatar
    10 posts
    Member since:
    May 2009

    Posted 03 Dec 2009 Link to this post

    Hi guys,

    Will there be an update to the code this week?

    Tony
  20. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 03 Dec 2009 Link to this post

    Hello Tony,

    The updated source code is already updated and you can download it from your client account.

    Sincerely yours,
    Tihomir Petkov
    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.
  21. Tairin Hahn
    Tairin Hahn avatar
    6 posts
    Member since:
    Jun 2012

    Posted 04 Jan 2010 Link to this post

    Hi,

  22. Bil@l
    Bil@l avatar
    40 posts
    Member since:
    Oct 2005

    Posted 04 Jan 2010 Link to this post

    Hello,
    Having used an intelligent way of dealing with data transfer objects by implementing interfaces at the client-side, What if there is a need to edit/update records at the client side and provide validation also.

    Is there an idea on how would this be added to the Telerik Dashboard?

    Regards
  23. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 05 Jan 2010 Link to this post

    Hello guys,

    @Tairin: I think that the information/directions from the forum threads linked below will help you address the error you receive when using OpenAccess as part of the ASP.NET AJAX Sales Dashboard application:

    http://www.telerik.com/community/forums/orm/orm-express/telerik-openaccess-orm-no-enhanced-assembly-has-been-found-for-meta-data-construction.aspx
    http://www.telerik.com/community/forums/orm/general-discussions/orm-example-errors.aspx

    @Bilal: I believe the best approach to this will be to use the RIA Services validation mechanism. Ofcourse this will be a quite a new approach compared to the one used right now in the Sales Dashboard.

    Best regards,
    Valentin.Stoychev
    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.
  24. Tairin Hahn
    Tairin Hahn avatar
    6 posts
    Member since:
    Jun 2012

    Posted 05 Jan 2010 Link to this post

    Thanks guys,  I resolved the previous issue.

    Now, I am getting lost to database link between the dashboard (for asp.net) and database.
    When I install the demo, I've installed the OpenAccess and download the NorthWind database in my machine.
    To trail down interaction between database and web application, I made simply changes to Employees Table in NorthWind database (such as Names...) that can be shown on the Employees list view in the front page. But, the website don't reflect the changed.
    I saved the database (surely.) and Also changed the names in LargeEmployees Table, just in case.
    Neither didn't work and I guess that the link between project and website didn't set up correctly.
    However, I still can load the site with information. 
    I attached a screen shot  for employees watcher (- that is data source of EmployeesListView). What I am bothering is that  it says
    "Telerik.OpenAccessQuery#4 not execute" although it loads the data ("Results View").

    I didn't change web configuration file.
    Could you give me an idea how I can re-integrate the connection between local computer database and  project??
    Or could you let me know other way to check the real-connection? ( the database link in Visual Studio looks fine. I can open Northwind.mdf through Sever Explorers section in VS and the UpdateDatabase has been set as True) 
  25. PetarP
    Admin
    PetarP avatar
    754 posts

    Posted 26 Jan 2010 Link to this post

    Hi Tairin,

    Initially the model in your project matches the schema on your database. If you however have to make some changes in the database schema you will have to merge the changes with your model. This is done by using the merge functionality of Telerik OpenAccess ORM. Basically what you need to do is go in the reverse mapping wizard and click the button merge located at the top left corner of the wizard. This will open the merge window.

    You see the query as not executed due to the deferred loading used by Telerik OpenAccess. This means that the query is not executed until the result enumerator is used to retrieve the first result object. Internally the grid does it for you and that is why you see your information loaded. Explicitly you can request the count of your result query and that will execute it.

    Best regards,
    Petar
    the Telerik team
  26. Praveen Verma
    Praveen Verma avatar
    1 posts
    Member since:
    Feb 2010

    Posted 18 Feb 2010 Link to this post

    We are developing a web app and require to read multiple points in various line graphs. Here is an example from Google finance: http://www.google.com/finance?q=INDEXDJX:.DJI,INDEXSP:.INX,INDEXNASDAQ:.IXIC

    Does Telerik has something to offer on the similar lines?

    Thanks,
    Praveen Verma

  27. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 19 Feb 2010 Link to this post

    Hello Praveen Verma,

    Unfortunately, our chart controls do not offer this functionality at present.

    All the best,
    Vladimir Milev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  28. Andrew
    Andrew avatar
    23 posts
    Member since:
    Oct 2008

    Posted 12 Mar 2010 Link to this post

    Hello,

    Can please someone point me where I can find the source code for the dashboard please?

    I am not able to find in my accounts, in download section.

    Thanks
  29. Doug
    Doug avatar
    1 posts
    Member since:
    Jun 2004

    Posted 12 Mar 2010 Link to this post

    Can the Sales Dashboard Demo work with the latest version of Telerik?

    Why is the demo not on the latest download page but can only be found listed for last year version?
  30. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 15 Mar 2010 Link to this post

    Hi Doug,

    We will update the SalesDashboard to the latest version of the controls and OpenAccess by the end of the week.

    Kind regards,
    Tihomir Petkov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top