c# - Relative path in Silverlight -


i'm trying use relative path consume web service silverlight have use full path of service (this service working in same web has xap file) , want use relative path make work both in local , server.

this working in older version of same project think i've changed in project settings...

any idea?

thanks in advance!

example code i'm using:

<telerik:reportviewer x:name="reportviewer1"                                reportserviceuri="http://localhost:11951/reportservice.svc" 

i want work this:

<telerik:reportviewer x:name="reportviewer1"                                reportserviceuri="./reportservice.svc" 

finally found problem.

if start silverlight project asp.net project contains it, relative paths work fine, if start project silverlight project can't use relative paths...


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -