Running silvelight samples as VB versions only?

4 posts, 1 answers
  1. odx
    odx avatar
    6 posts
    Member since:
    Jan 2009

    Posted 16 Aug 2009 Link to this post

    Hi There
    I've created a copy of  the silverlight samples  and have been playing about with them Visual Studio 2008 in order to improve my knowledge, the bottom line is I know VB, not C#  so its only the VB samples i want to load and run when i hit F5.

     I was wondering if it was possible to get only the VB samples to load in the browser when i hit F5?

      Sorry if this is a stupid question,  i'd  really appreciate any help


  2. Answer
    Boyan avatar
    758 posts

    Posted 18 Aug 2009 Link to this post

    Hello odx,

    First of all you can unload the projects from ExamplesCS  folder so  C# examples won't load  at all. Another
    way is to go to the web project locate Default.VB.aspx , right click on it and choose "Set as Start Page" option. Thus the web project will load the Vb examples.
    Hope that helps, if you need more help please let me know.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Garry
    Garry avatar
    49 posts
    Member since:
    Sep 2012

    Posted 18 Feb 2010 Link to this post

    This approach does not work for your ExamplesVB_SL project which resolutely insists upon loading the .CS.xap modules instead of freshly compiled .VB.xap modules. How can I get it to pick this up? I changed the  following construct as yours has a reference to .CS:



    param name="source" value="Examples/Examples.VB.xap" />


    Also, in this project (from your Q3 2009 SP2 release), the Default.VB.aspx contains an error in the first Eval when compiled and run after setting this as the start page.

    I look forward to your reply.

    Regards, Garry.

  4. Boyan
    Boyan avatar
    758 posts

    Posted 23 Feb 2010 Link to this post

    Hi Garry,

    This seems  to be a bug in our Demo examples. The application is loading Examples.VB.xap but after that  you download another XAP file for each control examples. For some reason after downloading the correct Examples.VB.xap then it downloads the .CS version of the control XAPs.

     We will investigate the issue and will be fixed for one of our next releases. For now if you want to change and try something in our examples you will need to create new project and copy the code of the example there and then modify it.

    Please, excuse us for the inconvenience. We have added points to your account for the report. Don't hesitate to contact us if you have other questions.

    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