Datagrid not Responding

Discussion in 'ASP .Net Datagrid Control' started by Brad Simon, Jan 16, 2004.

  1. Brad Simon

    Brad Simon Guest

    I am using a datagrid to display paged data. Whenever you click on the page you want to see, it won't do anything. I notice that I have a JavaScript Error: Expected ';' in line blah bah. The line that has a problem is one generated by the data grid control:
    theform = document._ctl4:Quotes

    Normally this means that I have missed a ';' somewhere previous to this line. I have searched my other javascript code (most of it obtained from www.dynamicdrive.com), and found a missing ';'. I fixed that on my development machine, and it still gives me the same error. The next step I did was to remove all javascript from the page. I STILL got the error

    So, this leads me to believe that there may be a bug, or something. To see the behavior, you can go to www.bradsimon.com/allquotes.aspx, and see it for your self. I also have the same problem on a customer's shopping cart, where the edit / delete does not work. You can see this on www.kibbi.com, just put some merchandise in your shopping cart, but you won't be able to delete it or edit the quantity

    The other javascript I put in both of these sites is for the navigation. Since I did take it all out on my test machine, and the problem still occurred, I cannot see where it is anything but the code from the Datagrid

    I am using MSIE 6 (latest, patched). Netscape 7.0 does not work either.

    Please help, this has been going on far too long. Thanks
     
    Brad Simon, Jan 16, 2004
    #1
    1. Advertising

  2. Brad Simon

    Brad Simon Guest

    Ok, I have found out what is causing the Javascript problem, but I do not have a clue on how to fx it.

    The Datagrid is in a control, and I have it surrounded by Form tags that exist in the same control. It is causing the '._ctl4:Quotes;' reference to be created. That does happen to be the name of the form, also. Javascript does not like the ':' in the noation, and causes the error.

    I have moved the Form tags to outside the cotnrol, but that did not work, the whole page broke. This did work about 4 or 5 months ago. I think a patch or update broke something, i just don't know what patch or update would have broken it. I have not updated that code since I originally put it up. I am using MSIE 6.0 - w/ latest patches. It also does not work in Netscape 7.0.

    I am going nuts, please help.
     
    Brad Simon, Jan 17, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?QnJhZCBTaW1vbg==?=

    Datagrid not responding

    =?Utf-8?B?QnJhZCBTaW1vbg==?=, Jan 16, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    373
    BBeasley
    Jan 18, 2004
  2. Dave
    Replies:
    0
    Views:
    326
  3. Replies:
    2
    Views:
    568
  4. Juan Romero

    HELP PLEASE! Datagrid not responding

    Juan Romero, Sep 4, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    4
    Views:
    159
    Ken Cox [Microsoft MVP]
    Sep 4, 2003
  5. G-Fit
    Replies:
    6
    Views:
    200
    G-Fit
    Mar 4, 2004
Loading...

Share This Page