Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Datagrid not Responding

Reply
Thread Tools

Datagrid not Responding

 
 
Brad Simon
Guest
Posts: n/a
 
      01-16-2004
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
 
Reply With Quote
 
 
 
 
Brad Simon
Guest
Posts: n/a
 
      01-17-2004
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DataGrid not responding to Update/Cancel event andrew.roberts@poundland.co.uk ASP .Net 2 02-03-2006 03:18 PM
Datagrid imagebutton not responding Dave ASP .Net 0 07-09-2004 09:53 AM
DataGrid with DropDownLists not responding to OnSelectedIndexChanged G-Fit ASP .Net Datagrid Control 6 03-04-2004 10:07 AM
Datagrid not responding =?Utf-8?B?QnJhZCBTaW1vbg==?= ASP .Net 1 01-18-2004 02:18 AM
HELP PLEASE! Datagrid not responding Juan Romero ASP .Net Datagrid Control 4 09-04-2003 10:37 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57