Exit Silverlight OOB application -


i've built small out-of-browser silverlight 4 application on have exit button. clicking on button supposed deliver same behaviour clicking close (x button) on upper right corner - close (exit) application. can't figure out how done... i've tried suggestions application.current.mainwindow.close() calling button's click event, won't work-nothing happens. note: maybe important - executing line ( application.current.mainwindow.close() ) in-browser mode generates following exception> "out-of-browser specific settings not affect in-browser applications." suppose that's normal.

i have ran solution 'issue': in order use application.current.mainwindow.close() exit oob app, necessary enforce elevatedpermissions within application's out-of-browser settings. hope save lots of someone's time...


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -