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

Running silvelight samples as VB versions only?

3 Answers 38 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
odx
Top achievements
Rank 1
odx asked on 16 Aug 2009, 11:25 PM
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

thanks

Dan

3 Answers, 1 is accepted

Sort by
0
Accepted
Boyan
Telerik team
answered on 18 Aug 2009, 01:25 PM
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,
Boyan
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.
0
Garry
Top achievements
Rank 2
Veteran
answered on 18 Feb 2010, 10:09 AM
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.

0
Boyan
Telerik team
answered on 23 Feb 2010, 09:05 AM
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.



Greetings,
Boyan
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.
Tags
General Discussions
Asked by
odx
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Garry
Top achievements
Rank 2
Veteran
Share this question
or