Click here to Skip to main content
15,924,581 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# projects Pin
parkerproject11-Nov-08 23:56
parkerproject11-Nov-08 23:56 
AnswerRe: C# projects Pin
PIEBALDconsult11-Nov-08 9:02
mvePIEBALDconsult11-Nov-08 9:02 
GeneralRe: C# projects Pin
parkerproject12-Nov-08 0:00
parkerproject12-Nov-08 0:00 
AnswerRe: C# projects Pin
Paul Conrad11-Nov-08 15:34
professionalPaul Conrad11-Nov-08 15:34 
GeneralRe: C# projects Pin
parkerproject11-Nov-08 23:55
parkerproject11-Nov-08 23:55 
GeneralRe: C# projects Pin
Paul Conrad12-Nov-08 3:34
professionalPaul Conrad12-Nov-08 3:34 
AnswerRe: C# projects Pin
Brij11-Nov-08 18:31
mentorBrij11-Nov-08 18:31 
Questiononclick event [modified] Pin
netJP12L11-Nov-08 7:14
netJP12L11-Nov-08 7:14 
I am registering an onclick event it works fine but if i add this event I am unable to edit the htmldocument inside the webbrowser even though I set the designmode to on. But if i remove this event everything seems so fine. May be something going on inside the event. Can anyone of you please put some of your insights definately help me out.

Thanks

private void axWebBrowser1_DocumentComplete(object sender, AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent e)
{
   doc = (HTMLDocument)axWebBrowser1.Document;

   HTMLDocumentEvents_Event docevents = doc as HTMLDocumentEvents_Event;
   docevents.onclick += new HTMLDocumentEvents_onclickEventHandler(docevents_onclick);

 doc.designMode = "On";              
}
bool docevents_onclick()
{
   MessageBox.Show("clicked");
   return true;
}


modified on Tuesday, November 11, 2008 2:51 PM

AnswerRe: onclick event Pin
#realJSOP11-Nov-08 7:20
professional#realJSOP11-Nov-08 7:20 
GeneralRe: onclick event Pin
netJP12L11-Nov-08 8:11
netJP12L11-Nov-08 8:11 
GeneralRe: onclick event Pin
#realJSOP11-Nov-08 8:46
professional#realJSOP11-Nov-08 8:46 
GeneralRe: onclick event Pin
netJP12L11-Nov-08 8:53
netJP12L11-Nov-08 8:53 
AnswerRe: onclick event Pin
ScottM111-Nov-08 20:47
ScottM111-Nov-08 20:47 
QuestionSearch through datatable for item in ListView? Pin
kanchoette11-Nov-08 4:49
kanchoette11-Nov-08 4:49 
QuestionLinq to SQL two combobox [modified] Pin
mutafa8111-Nov-08 4:00
mutafa8111-Nov-08 4:00 
QuestionC# dependencies and security Pin
Dirso10-Nov-08 23:07
Dirso10-Nov-08 23:07 
AnswerRe: C# dependencies and security Pin
leppie10-Nov-08 23:51
leppie10-Nov-08 23:51 
GeneralRe: C# dependencies and security Pin
Dirso11-Nov-08 5:31
Dirso11-Nov-08 5:31 
AnswerRe: C# dependencies and security Pin
Thomas Stockwell11-Nov-08 2:44
professionalThomas Stockwell11-Nov-08 2:44 
GeneralRe: C# dependencies and security Pin
Dirso11-Nov-08 5:28
Dirso11-Nov-08 5:28 
Questionhow to get ports using in the local machie Pin
prasadbuddhika10-Nov-08 23:03
prasadbuddhika10-Nov-08 23:03 
AnswerRe: how to get ports using in the local machie Pin
leppie10-Nov-08 23:52
leppie10-Nov-08 23:52 
QuestionCreating forum Pin
B8710-Nov-08 22:20
B8710-Nov-08 22:20 
AnswerRe: Creating forum Pin
Simon P Stevens10-Nov-08 22:27
Simon P Stevens10-Nov-08 22:27 
AnswerRe: Creating forum Pin
Mohammad Dayyan10-Nov-08 22:47
Mohammad Dayyan10-Nov-08 22:47 

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.