1
Vote

valid expressions for the SHOW textbox

description

thanks for your time

... must have a blackout.
? What format is accepted when using the 'SHOW' function in SL4! ?

e.g.: "d:\webprojects2010\silverlightXPSviewer\XPSdocs\test.xps"
gives the error.

PS: the 'browse' function works ok!

What format is accepted by this 'SHOW' box?

thanks for any hints!
ed

comments

edkaufmann wrote Nov 29, 2011 at 7:16 AM

after spending some more time on this issue I understand why I get error:

'Invalid Format' when using "d:\webprojects2010\silverlightXPSviewer\XPSdocs\test.xps" (no URI prefix!)

Now, when using:

file://SilverlightXPSViewer/XPSdocs/test.xps
I get error:

'An exception occured during a WebClient request'. When digging further I get inner exception as follows:

InnerException = {System.NotSupportedException: The URI prefix is not recognized.
at System.Net.WebRequest.Create(Uri requestUri)
at System.Net.WebClient.GetWebRequest(Uri address)
at System.Net.WebClient.OpenReadAsync(Uri address, Object userToken)}

I still have the question: ? What does the SHOW textbox accept to show a .xps document
thanks ed