Bonjour,
J'ai un problème dans mon application, en mode out of browser quand je veux saisir du texte dans un textbox, l'ecran devient tout blanc et je suis obligé de redemarré mon application.
Avez vous déjà vu ce problème ?
Merci
Bonjour,
J'ai un problème dans mon application, en mode out of browser quand je veux saisir du texte dans un textbox, l'ecran devient tout blanc et je suis obligé de redemarré mon application.
Avez vous déjà vu ce problème ?
Merci
utilises-tu un ou des gestionnaires associés à un ou des évènements particuliers du textbox ?
Abonne toi à l'évènement Application.Current.UnhandledException
http://msdn.microsoft.com/fr-fr/libr...(v=VS.95).aspx
Dedans tu auras l'erreur!
Retrouvez moi sur :
Mon Espace Developpez.com-------------------------------
Dvp.NET, une librairie open-source de composants .NET
Mon blog: Up there in the code----------------------------
Twitter: NatMarchand
Ma société: So@t
Showrizo : Suivez votre planning de séries télé sous Windows 8
En complément, je te dirais même de mettre ce code
D'ailleurs par défaut tu as déjà un handler pour cet évenement dans le App.xaml.cs (Application_UnhandledException).
Code : Sélectionner tout - Visualiser dans une fenêtre à part if(Debugger.IsAttached) Debugger.Break();
merci de vos réponses
Voici l'erreur :Le pont DOM/de script est désactivé.![]()
voici le code de Application_UnhandledException
Lorsque mon application plante, elle ne passe pas dans le if
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e) { // If the app is running outside of the debugger then report the exception using // the browser's exception mechanism. On IE this will display it a yellow alert // icon in the status bar and Firefox will display a script error. if (!System.Diagnostics.Debugger.IsAttached) { // NOTE: This will allow the application to continue running after an exception has been thrown // but not handled. // For production applications this error handling should be replaced with something that will // report the error to the website and stop the application. e.Handled = true; Deployment.Current.Dispatcher.BeginInvoke(delegate { ReportErrorToDOM(e); }); } }
le probleme provient d'un composant utilisé dans mon application : Silverdox
celui-ci permet de mettre des annotations en silverlight.
J'ai repri l'exemple de l'editeur, et des que c'est en mode oob sa plante![]()
Retrouvez moi sur :
Mon Espace Developpez.com-------------------------------
Dvp.NET, une librairie open-source de composants .NET
Mon blog: Up there in the code----------------------------
Twitter: NatMarchand
Ma société: So@t
Showrizo : Suivez votre planning de séries télé sous Windows 8
Il y a des choses qui ne peuvent être utilisées en mode OOB par rapport au mode normal.
Je pense notamment au HtmlBridge (gestion du code HTML coté Silverlight).
Peut être que ton composant tiers utilise cette librairie.
hum, apparement c'est possible d'utiliser SilverDox en mode OOB...
http://groups.google.com/group/silve...3391a68d?pli=1
merci pour vos rep.
J'avais trouver ce message.
En faite, oui sa passe en mode out of browser, on peux dessiner sur les documents, mettre des rectangles, etc.. Mais dès qu'on écrit un commentaire (stick), il y a un écran blanc.
Partager