Firefox not recognizing left click event in datagrid textbox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thomascg
    New Member
    • Aug 2011
    • 2

    Firefox not recognizing left click event in datagrid textbox

    Hello. This is my first time in bytes.com. I am new to Firefox and I am trying to modify code in my .NET application to work in IE(8) and FireFox(6). The application is old and uses visual studio 2003 for development and .NET version 1.1. The application is written in Visual Basic. I have a user control with a datagrid. The datagrid edititem contains a textbox. Very simple you would think. When I bring up the page in IE I am able to click on the textbox to change but in FireFox the click event is not working. I can right click and then the cursor appears in the box to allow me to edit. I have no javascript in the html page that could be causing the problem. Could this be a setting in Mozilla Firefox?
  • Paul Johnson
    New Member
    • Oct 2010
    • 97

    #2
    What's the code like? I've not noticed this problem with FF5 or 6.

    That said, IE is far more forgiving than FF when it comes to errors in the code
    Last edited by Paul Johnson; Aug 22 '11, 11:56 AM. Reason: Added comment

    Comment

    • thomascg
      New Member
      • Aug 2011
      • 2

      #3
      Paul: thanks for your quick response. I've since figured out my issue. I was using the document.oncont extmenu in IE but does not work the same in FF. I used the document.onmous edown event and checked my mouse button event to see if right click was initiated. I was also using event.srcElemen t for IE and noticed FF does not support it. I had to use e.target. Thanks again.

      Comment

      Working...