Webbrowser event sometimes not getting fired

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • radiv
    New Member
    • Feb 2008
    • 1

    Webbrowser event sometimes not getting fired

    My code is in ASP.Net.

    I have loaded a web page into a web browser and have identified the elements on the web page (buttons) using Ihtmldocument and have my code written to the events.

    HTMLInputElemen t ReadyButton = (HTMLInputEleme nt)PhoneControl sDocument.all.i tem("ReadyButto n", null);
    ((HTMLButtonEle mentEvents_Even t)ReadyButton). onclick += new HTMLButtonEleme ntEvents_onclic kEventHandler(t his.ReadyButton _OnClick);

    My function ReadyButton_OnC lick() is sometimes called.

    Now these event gets fired sometimes and all works fine. But my events dont get fired sometimes. (none of the events i wrote are fired at such times.)

    What could be the reason?? Please help....


    Thanks in advance
Working...