Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
GeneralRe: Gmail inbox retrive Pin
Keith Barrow25-Mar-11 13:47
professionalKeith Barrow25-Mar-11 13:47 
AnswerRe: Gmail inbox retrive Pin
Keith Barrow25-Mar-11 13:45
professionalKeith Barrow25-Mar-11 13:45 
GeneralRe: Gmail inbox retrive Pin
shivamkalra26-Mar-11 7:42
shivamkalra26-Mar-11 7:42 
AnswerRe: Gmail inbox retrive Pin
Ganesh Kumar Kaki13-Apr-11 2:51
Ganesh Kumar Kaki13-Apr-11 2:51 
Questionget HTML elements with C# in ASP.NET Pin
msqar25-Mar-11 9:51
msqar25-Mar-11 9:51 
AnswerWrong Forum Pin
Keith Barrow25-Mar-11 13:51
professionalKeith Barrow25-Mar-11 13:51 
QuestionWhat is the mistake with this code??? Pin
shivamkalra25-Mar-11 7:34
shivamkalra25-Mar-11 7:34 
AnswerRe: What is the mistake with this code??? Pin
Luc Pattyn25-Mar-11 7:44
sitebuilderLuc Pattyn25-Mar-11 7:44 
this can't work, your Load handler is running on the main (aka GUI) thread and so is the Navigated handler; this means the Navigated handler will not execute as long as the Load handler hasn't finished. You are deadlocked. Most often it is a bad idea (or plain wrong) to have blocking calls (such as Thread.Sleep or AutoResetEvent.WaitOne) inside an event handler.

probable solution: end your Load handler with the navigation command (you should first set the Navigated handler, then the URL); put everything that needs to be done after navigation in the Navigated handler. That is what it is for.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

GeneralRe: What is the mistake with this code??? Pin
shivamkalra25-Mar-11 7:57
shivamkalra25-Mar-11 7:57 
GeneralRe: What is the mistake with this code??? Pin
Luc Pattyn25-Mar-11 8:12
sitebuilderLuc Pattyn25-Mar-11 8:12 
GeneralRe: What is the mistake with this code??? Pin
shivamkalra25-Mar-11 8:28
shivamkalra25-Mar-11 8:28 
GeneralRe: What is the mistake with this code??? Pin
Dev. RoOo725-Mar-11 19:36
Dev. RoOo725-Mar-11 19:36 
AnswerRe: What is the mistake with this code??? Pin
David198725-Mar-11 7:57
David198725-Mar-11 7:57 
AnswerRe: What is the mistake with this code??? Pin
Luc Pattyn25-Mar-11 8:09
sitebuilderLuc Pattyn25-Mar-11 8:09 
GeneralRe: What is the mistake with this code??? Pin
David198725-Mar-11 8:11
David198725-Mar-11 8:11 
AnswerRe: What is the mistake with this code??? Pin
Dave Kreskowiak25-Mar-11 8:16
mveDave Kreskowiak25-Mar-11 8:16 
AnswerRe: What is the mistake with this code??? Pin
BobJanova30-Mar-11 23:58
BobJanova30-Mar-11 23:58 
Questionpowerpoint Pin
om_metab25-Mar-11 7:17
om_metab25-Mar-11 7:17 
AnswerRe: powerpoint Pin
Luc Pattyn25-Mar-11 7:38
sitebuilderLuc Pattyn25-Mar-11 7:38 
Questioncombbobox fild saving Pin
Pierre besquent25-Mar-11 1:16
Pierre besquent25-Mar-11 1:16 
AnswerRe: combbobox fild saving Pin
Not Active25-Mar-11 1:20
mentorNot Active25-Mar-11 1:20 
GeneralRe: combbobox fild saving Pin
Pierre besquent25-Mar-11 2:37
Pierre besquent25-Mar-11 2:37 
GeneralRe: combbobox fild saving Pin
Not Active25-Mar-11 2:50
mentorNot Active25-Mar-11 2:50 
GeneralRe: combbobox fild saving Pin
Pierre besquent25-Mar-11 2:57
Pierre besquent25-Mar-11 2:57 
GeneralRe: combbobox fild saving Pin
GenJerDan25-Mar-11 3:18
GenJerDan25-Mar-11 3:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.