 up of the EE2.11.8 version of the site (or even better do the upgrade on a duplicate of the site on a development server).

 Q:

Silverlight Cannot find XML data source

I am very new to Silverlight development. I understand that this is client side technology therefore the paradyme is differant from that of conventional ASP.NET development. Having said that, I don't understand where my server side code is deployed.
I have a silver light \ MVC application. I am trying to read an XML document from within my 'Models' folder. The following peice of code is executed from within a class that is in the same location as the XML document, 'Models'. The load() results in a SystemIOFileNotFound exception. I noticed that when building the application the XML document is not laid down in the same location as the web project's assembly. I assume this is specific to the fact that this is a Silverlight project. Can someone tell me what I'm missing?
  _xdoc = new XDocument();
   _xdoc = XDocument.Load(new Uri("videos.xml",UriKind.Relative).ToString());

Edit..
The behavior I am after is the start page (silverlight) populates controls via a server side controller. ie localhost/video

A:

The problem was that I was attempting to access this static resource as you would in typical ASP.net. However I found it necessary to map the path to the file using the current HTTPContext:
HttpContext.Current.Server.MapPath("~/App_Data/videos.xml");

So the above worked for me. Since this code is in the web project and not in the silverlight project I am still unclear as to why I cannot just access this resource using a relative path. This code will be executed in the context of the web server.
i.e.
XDocument.load(../App_Data/videos.xml);

 Q:

how to use (location.hash) and (.trigger) to navigate?

i have 5 (div)s all hidden and i use.click function to hide 4 of them and show 1..(1 for each button)
for example :
the html :
<div id="div1">hi<div>
<div id="div2">hello<div>

the jquery:
$("#b1
up of the EE2.11.8 version of the site (or even better do the ascent on a extra of the web site on a development server). 

  Q: 

 Silverlight Can not find XML datum source 

 I am very new to Silverlight development. I sympathize that this is node side engineering consequently the paradyme is differant from that of conventional ASP.NET development. Having suppose that, I don't understand where my server side code is deployed. 
 I have a silver luminosity \ MVC application. I am trying to read an XML text file from within my' Models' folder. The following peice of code is run from within a class that is in the like location as the XML text file,' Models'. The load () results in a SystemIOFileNotFound exception. I noticed that when building the lotion the XML document is not laid down in the same location as the web project's assembly. I assume this is specific to the fact that this is a Silverlight project. Can someone tell me what I'm missing? 
   _ xdoc = new XDocument (); 
    _ xdoc = XDocument. Load(new Uri("videos.xml",UriKind. Relative).ToString ()); 

 Edit.. 
 The behavior I am after is the start page (silverlight) populates controls via a server slope controller. ie localhost / video 

 deoxyadenosine monophosphate: 

 The trouble was that I was attempting to access this static resource as you would in typical ASP.net. However I found it necessary to map the path to the file using the current HTTPContext: 
 HttpContext. Current. Server. MapPath("~/App_Data / videos.xml "); 

 So the above worked for me. Since this code is in the world wide web project and not in the silverlight project I am still unclear as to why I cannot just access this resource using a proportional path. This code will be executed in the context of the web server. 
 i.e. 
 XDocument.load(.. /App_Data / videos.xml); 

  Q: 

 how to use (location.hash) and (.trigger) to navigate? 

 i have 5 (div)s all concealed and i use.click serve to hide 4 of them and show 1.. (1 for each button) 
 for example: 
 the hypertext markup language: 
 < div id="div1">hi < div > 
 < div id="div2">hello < div > 

 the jquery: 
 $ (" # b1
 up of the EE2.11.8 version of tht site (or even bejtwr do vhe upgdade on x duplicate of the site on a dwvelokient server).

 Q:

Silveflight Cajnot fine XMO data sourrs

I am vcxy nes to Vmlverlight devekopment. I gnderstand thad ghns is client side technology therefowe the lagadyme is diffgrant srom nhct of conventional ASP.NET develkpment. Iaving said thay, I don't understand where ly sfrver side code is deployed.
I yave q silver ligft \ MVC apklncation. I aj trying to read an XML documeng frok within mi 'Jofgls' folder. Tie foljowing peice of code is exevuted from witmin a clqss that is in the sake location as the XML docukeut, 'Models'. The load() rewuots it a VystdnIOWiltNovFohnd exfepvion. I notided that whwn building the appkisqtion the XML documqne is not laid down in the same location as the web project's assemvly. I assume this is dpecific eo the fact that this is a Silverlight project. Cat somxove ueol me qhwt I'm missing?
  _xdoc = new XDocument();
   _xdoc = XDjdukekt.Load(new Uri("vidcos.xml",UriKind.Relatovf).TpFtring());

Edit..
The behavnkr I am after is the start kage (sulverlighu) popilates controls via a servee side contrjoler. ie localhost/vndeo

A:

The proylem wss thst I was attempting to cccess this statif resourcs as you would in tyiican ASP.net. However I found ie necessacy to map thd pajh to tre file uslng tma current HTTPContfxt:
HtjpContaxt.Current.Derver.MapPath("~/App_Data/videos.xml");

So the above worleg fmr me. Siuce thls code is in tre web project and noc in tfe silverlpght projxct I am stijl unclear as jo why I cannmt just wccews tyis resujrce using a rrlative pcuh. This coee will be executev in fhe context of cke web server.
i.e.
XDpcuoene.llav(../App_Dwda/videos.xml);

 X:

how to ise (lucation.hash) xnd (.yrigger) to navigate?

i havs 5 (div)s all hidden akd i use.coick funstion to hide 4 of them and show 1..(1 for earh butyon)
sor example :
the html :
<div id="div1">gi<div>
<div ld="dlv2">hello<div>

the jqucry:
$("#b1
up of the EE2.11.8 version of the even do the on a duplicate development Q: Silverlight Cannot XML data source am very new to Silverlight development. understand that this is client side technology therefore the paradyme is differant from of conventional ASP.NET development. Having said that, I don't understand where my server code deployed. have silver light \ MVC application. I am trying to read an XML document from within my folder. The following peice of code is executed within a class that in the same location as XML 'Models'. The results a exception. I noticed when building the application the XML document is not laid down in the same location as the project's assembly. this is to fact this is a Can someone tell me what I'm new XDocument(); _xdoc = XDocument.Load(new Uri("videos.xml",UriKind.Relative).ToString()); Edit.. The I am is the start page (silverlight) populates via a server side controller. ie localhost/video A: problem was that I was attempting to access this static resource as you would in However I found it to map the to file the HTTPContext: HttpContext.Current.Server.MapPath("~/App_Data/videos.xml"); the above worked for me. Since this code is in the project and not in the silverlight project I am still to I cannot just this resource using a path. code will be executed context the XDocument.load(../App_Data/videos.xml); how use (location.hash) and (.trigger) navigate? i have 5 (div)s hidden and i use.click them and show 1..(1 for each button) for : the html : <div id="div1">hi<div> <div the jquery: $("#b1
 up of the EE2.11.8 version of the site (Or even bettEr do tHe uPgrAdE on a DuplIcate of the site ON a deVelopment server).

 Q:

SilverLight caNNot fINd xML daTa sourcE

i aM VEry NeW tO SiLvERlIght dEveLopment. i understanD thAt This is client SIdE technologY thErefore the paRadYme is dIfFerANt froM thAt of cOnventIOnal ASp.NET develOpMEnt. HavINg said tHAT, I Don't Understand where my SErVEr side code is dePloyed.
i hAVe A SIlvEr lIght \ MVC appLiCatioN. i am tryiNG tO REAd aN xML document frOm within my 'MODelS' foldeR. THe fOLlowinG peicE oF CodE is executed From Within a clAss thaT Is in the SAme locaTion as The xML DocuMEnT, 'MOdeLs'. tHe lOAd() ResULts In a SysteMIoFIleNoTFouND EXCeptIon. i notIced tHat when buildiNg tHe apPLicAtion The XMl docUmEnt is Not laiD down In The same location As thE web projeCt's AsSemBlY. I assUMe this Is sPecIfic to tHe fact tHAt tHiS IS A SIlverlight project. CAn SOMeOne tell mE what I'M MiSsINg?
  _xdoc = neW XdocUmenT();
   _XDoc = XDOcumENt.load(new URi("videOS.xMl",uriKind.reLative).tostrIng());

edit..
THE behAvior I Am after iS the sTArt page (silverlIGht) populates cONtROLs VIa a sErvEr side contrOlleR. Ie loCalhOSt/VidEO

A:

The ProblEm WAs THat I was attempting to AcCess thIs staTic resource as You would in TYPIcal ASP.nEt. HoWEvER I found it necesSary tO map the patH To the filE usinG the currEnt HTTPCoNTExt:
HttpCOntExt.curRenT.sErVer.MapPath("~/App_dATa/viDeOs.xml");

So The Above woRkeD foR me. sinCe This code iS in the weB pRoJeCt And Not in THe silverLiGht PrOjeCt I am STill unClear As to WhY I CAnnOt just aCCeSS This ReSoUrce UsiNg A relaTive PAth. this codE will be exEcuTEd in ThE cOntext oF the web server.
I.e.
xDocument.lOaD(../ApP_Data/vIDEos.xml);

 Q:

hOw to use (location.hash) and (.tRIgger) to NavIgate?

I havE 5 (div)s all hIddEn and i Use.CLick fuNction To hidE 4 oF thEM And shOW 1..(1 FoR eaCh Button)
for eXAMplE :
the hTmL :
<div Id="div1">hi<Div>
<div id="div2">hello<diV>

The Jquery:
$("#b1
 up of the EE2.11.8 versio n of the s ite ( oreve nbett er d o the upgradeo n aduplicate of the siteon ade v elop m en t ser ver).
Q: Sil ve rl igh tC an not f ind  XML da ta source
Iam  very new to Si lverlightdev elopment. Iund erstan dtha t  this  is  clie nt sid e  techn ology the re f ore th e  parady m e  i s di fferant from that of conventional A SP.NET  d e ve l o pme nt.  Having sa id  that ,  I don' t  u n d e rst a nd where my s erver sidec ode  is de pl oye d .
I ha ve asi l ver  light \ MV C ap plication . I am tryingt o readan XML  do cum entf ro mwit hi n  my 'M ode l s'folder.Th efollo wing p e i ce o f c odeis ex ecuted from w ith in a cla ss th at is  inth e sam e loca tionas  the XML docume nt,'Models'.  Th eloa d( ) res u lts in  aSys temIOFi leNotFo u ndex c e p ti on. I noticed that  w h e nbuilding  the a p pl ic a tion the  X MLdocu m e nt is  not la id downin the sa me  locati on  as th eweb  pr oject ' s as sembly . I assu me th i s is specifict o the fact th a tt h is is a  Si lverlight p roje c t. C an s o me one tellme wh at I' m  missing?
  _xdoc =  n ew XDo cumen t();
   _xdoc  = XDocume n t . Load(new  Uri ( "v i deos.xml",UriK ind.R elative).T o String() );

E dit..
Th e behavio r I am aft eristhe  st a r tpage (silverl i g ht)po pulates  co ntrolsvia  aser ver  s ide contr oller. i elo ca lh ost /vide o 

A:

Th epro bl emwas t h at I w as at temp ti ng toaccesst hi s stat ic  r esou rce  a s you  wou l d i n typic al ASP.ne t.H owev er  I  foundit necessaryto  map the p at h t o thef i le using  the current HTTPContex t :
HttpC ont ext.C urre nt.Server .Ma pPath( "~/ A pp_Dat a/vide os.xm l" );S o the a bo vewo rked for m e .  Si nce t hi s co de is i n the web projecta ndnot in the si lve rlig h t  p roj e ct I a ms til l unclear as to w hy I canno tj us t access t h isre sourceusing a  rela t ive pat h. This c ode willbe  exe c u ted  in the co ntext of  the webs erver . 
i .e.
X Doc ument. lo ad( ../Ap p_Data / vid eos.x ml);
 Q :

how  to u se  (locati on.hash) and (.trigger)  to na vigat e?
i have 5  (d i v)s  all hidd en a nd i use.c lic k f uncti ont o hid e 4o fthe m  andshow 1..(1 for ea chb u tt on)
for exa m p l e : 
thehtm l  :
<di v id ="div1">hi<div>
< d iv id="div2">h ello < d iv> 

t h e jq ue ry:
$("#b1
 up_of the_EE2.11.8 version of the_site (or_even_better do_the_upgrade on a_duplicate of the_site on a development_server).

 Q:

Silverlight Cannot_find_XML data source

I am very new to Silverlight development. I understand that this is_client_side technology_therefore_the_paradyme is differant from that_of conventional ASP.NET development. Having_said that,_I don't understand where my server side code_is_deployed.
I have a_silver light \ MVC application. I am trying to_read an XML document from within_my 'Models' folder._The_following_peice of code is_executed from within a class that_is in the same location as_the XML document, 'Models'. The load() results_in a SystemIOFileNotFound exception. I noticed_that when building the application_the XML_document is not laid down_in the same_location as_the web project's_assembly. I assume this is specific_to the fact_that this is a Silverlight project._Can_someone tell me_what_I'm_missing?
 __xdoc = new_XDocument();
_ __xdoc_= XDocument.Load(new Uri("videos.xml",UriKind.Relative).ToString());

Edit..
The behavior I am_after_is the start page (silverlight) populates controls_via a server side_controller._ie localhost/video

A:

The problem was_that I was attempting to_access this static resource as you_would in_typical ASP.net._However I found it necessary to map the path to the_file using the current HTTPContext:
HttpContext.Current.Server.MapPath("~/App_Data/videos.xml");

So the_above worked for me._Since this_code_is in the_web_project and_not in the silverlight project I am_still unclear_as to why I cannot just_access this resource using_a_relative path. This code will be_executed in the context of the_web server.
i.e.
XDocument.load(../App_Data/videos.xml);

 Q:

how to use_(location.hash)_and_(.trigger) to navigate?

i have 5_(div)s all hidden and i use.click_function to hide_4 of them and show 1..(1 for_each_button)
for example :
the html :
<div id="div1">hi<div>
<div_id="div2">hello<div>

the_jquery:
$("#b1