Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WCF and WF
  4. Navigation Window in Xbap partial trust?

Navigation Window in Xbap partial trust?

Scheduled Pinned Locked Moved WCF and WF
wpfsecurityquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    S Rajput
    wrote on last edited by
    #1

    Hi, Dim window As New NavigationWindow gives me security exception in partial trust mode. If i change my project to full trust, it works. I am trying to navigate to new window on button click event. Is there a way to do so in partial trust mode?? Dim window As New NavigationWindow Dim uri As New Uri("Pages/Wizard.xaml", UriKind.RelativeOrAbsolute) window.Source = uri window.Show()

    M 1 Reply Last reply
    0
    • S S Rajput

      Hi, Dim window As New NavigationWindow gives me security exception in partial trust mode. If i change my project to full trust, it works. I am trying to navigate to new window on button click event. Is there a way to do so in partial trust mode?? Dim window As New NavigationWindow Dim uri As New Uri("Pages/Wizard.xaml", UriKind.RelativeOrAbsolute) window.Source = uri window.Show()

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      No application defined windows or dialogs in partial trust. Windows Presentation Foundation Partial Trust Security[^]

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups