Bonjour,
J'ai un soucis avec la navigation d'une appli silverlight.
En faite en entrant l'url www.monsite#?Job ca marche sans aucun problème. Par contre quand je fais la même chose avec www.monsite#?Project, si l'objet silverlight n'est pas présent dans la page actuelle cela génère un navigation failed.
Pourtant les 2 pages sont déclarées de la même façon sans différence notable mais la page projet déclencheVoici mon UriMapperA first chance exception of type 'System.ArgumentNullException' occurred in mscorlib.dll
Si par chance quelqu'un est tombé sur le même problème ca m'aiderai beaucoup.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 <uriMapper:UriMapping Uri="" MappedUri="/Views/Home.xaml" /> <uriMapper:UriMapping Uri="/{pageName}" MappedUri="/Views/{pageName}.xaml" /> <uriMapper:UriMapping Uri="Jobs/{id}" MappedUri="/Views/Jobs.xaml?job_id={id}" /> <uriMapper:UriMapping Uri="Project/{id}" MappedUri="/Views/Project.xaml?project_id={id}" />
Merci.
Partager