PivotViewer V2 con CXML non mostra immagini
-
27-10-2019 - |
Domanda
ho usato il PivotViewer V1, creato un server, che invia CXML, DZC, DZI e le piastrelle di immagine per il cliente. Tutto funziona bene per PivotViewer V1.
Ora voglio passare a V2 della PivotViewer. Per iniziare ho scaricato l'esempio CXML qui ( "CIAO VECCHIO MONDO!"). Quando ho eseguito l'esempio, senza alcuna modifica al codice, tutto il meta è caricato ma non ci sono immagini in ogni modo:
Come ho preso uno sguardo alla fonte vedo che un CXML da http: // www .xpert360.net / SQLBits / Collection.cxml viene caricato. Così ho creato il mio Fiddler. Come previsto, la richiesta di CXML, ma ancora nessuna richiesta a qualsiasi DZC, DZI o ImageTile:
Come ispezionare la struttura oggetto della PivotViewerItems
generato dal parser CXML, che è interrogato sul perché il conteggio piastrella è uguale a zero:
Ho anche provato con la mia collezione (che, lavora per PivotViewer V1), senza alcun successo.
Qualsiasi idea di cosa fare?
Soluzione 2
I randomly got the solution, by testing some other stuff...
I was using "C:\Users\Daniel Huhn\SL5Test\Bin\Debug\SL5TestPage.html"
as my HTML page to host the site.
After using a ASP.NET web Project to host the App (http://localhost:5453/SL5TestPage.aspx
), all images are displayed :)
Altri suggerimenti
What does your code behind look like when you are mapping the CxmlCollectionSource to the PV? Here is another sample for you to compare against: http://tonychampion.net/blog/index.php/2011/09/to-cxml-or-not-to-cxml/