Silverlight business application use in the project framework Frame page navigation. Use this mapping rule
<uriMapper:UriMapping Uri="/{pageName}/{parameter}" MappedUri="/Views/{pageName}.xaml?parameter={parameter}"/>
Navigate to the page uri above with parameters exactly match the parameter mapping rules. In the OnNavigatedTo functions "this.NavigationContext.QueryString.ContainsKey ("parameter")" returned "True", in the normal debugging environment, but after the release of the program, sometimes "this.NavigationContext.QueryString.ContainsKey ("parameter")" return "False". Encounter this situation you need to re-sign-on system to return to normal. The server is windows server 2008 + iis7.0. Do not know where the problems?
Answer: 1
Hi Libinbin,
Can you redirect to pageName.xaml directly, without any parameter input or parameter value equals null? You could repeatedly test it to determine which situation it returns "False".
Best Regards,
by :
No comments:
Post a Comment
Send us your comment related to the topic mentioned on the blog