which ClinetBin/.xap folder/file is relevant ?
what do wrong / miss here?
i downloaded "carousel_silverlight2bet2.zip , run successfully.
however:
change spinning "silver.png" icon own .jpg image. why can't add images images folder , change name of image in .xaml file (see below 12-20)?
! have 2 clientbin folders hold .xap file. (why, run vs2008? )!
a) in sliverlight project; .dll etc files
ps: strangly enough not see clientbin folder in vs2008 'solution explorer'! see it,however, in windows explorer!
b) in web project; holds .xap file
both .xap files have same timestamp , see 'silver.png' when un-ziped! when change image img_0.jpg (see line 14) get, @ run time error follows:
image error 4001; message: ag_e_network_error
where should , correct procedure?
thanks time / hints
ed
1 <sl2cbcontrols:carouselpanel x:name="panel"
2 width="{binding width}" height="{binding height}" grid.row="0"
3 speed="{binding speed}" usemouseposition="{binding usemouseposition}"
4 scaleperspective="{binding scaleperspective}">
5 <sl2cbcontrols:carouselpanel.background>
6 <lineargradientbrush endpoint="0.5,1" startpoint="0.5,0">
7 <gradientstop color="#ff4e668c" offset="0.010724706575274468"/>
8 <gradientstop color="#ff153250" offset="0.26183527708053589"/>
9 <gradientstop color="#ff061928" offset="0.47632941603660583"/>
10 </lineargradientbrush>
11 </sl2cbcontrols:carouselpanel.background>
12 <image source="/images/silver.png" width="92" height="105" />
13
14 <image source="/images/myimage.jpg" width="92" height="105" />
15 <image source="/images/silver.png" width="92" height="105" />
16 <image source="/images/silver.png" width="92" height="105" />
17 <image source="/images/silver.png" width="92" height="105" />
18 <image source="/images/silver.png" width="92" height="105" />
19 <image source="/images/silver.png" width="92" height="105" />
20 <image source="/images/silver.png" width="92" height="105" />
21 </sl2cbcontrols:carouselpanel>
probably xap in web project getting displayed. can check examining source property of silverlight tag or object tag of aspx or html page running. after adding image , changing source delete 2 xaps , build project. see if works
Silverlight > Getting Started with Silverlight
Comments
Post a Comment