Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
scrolling giving error on page
09/12/2009
03:43
Avatar
MarkC
Member
Members
Forum Posts: 14
Member Since:
02/11/2009
sp_UserOfflineSmall Offline

MarkW...just building a simple grid for testiing some data (18342 records)

http://www.courtnell.com/demo1/nexus.asp

When clicking column to sort (DESC) OR if i scroll to bottom by dragging scrollbar it throws up an error on page: line 13 Object Required

If i scroll down slowly to arounf 17500 records its fine, but then falls over.

the table is simple structure:

docID integer autoincremt primatry key

index1 varCHar(40)

i generated the xml using ROW and ROW ID, i remember you saying grid likes a row ID  field, although you did a mod for 3.6 so we didn't actually need one.

Response.Write "<row>"
Response.Write "<cell>" & rs("index1") &"</cell>"
Response.Write "</row>"

And tried with a row id on the key field docID which is an autoincremented field and primary Key

Response.Write "<row id='"& rs("docID") &"'>" 
Response.Write "<cell>" & rs("index1") &"</cell>"
Response.Write "</row>"

The code to generate the XML i have used in a few projects and they work fine, and it's strange it works for 17500+ records.

Hope you can see the error your end.

Let me know if you need the code i use for generating the xml from the database.

Regards

Mark C

09/12/2009
16:51
Avatar
markw65
Member
Members
Forum Posts: 179
Member Since:
30/07/2009
sp_UserOfflineSmall Offline

Firefox is reporting that the xml from this request is not well formed:

I dont think it likes the raw "&" in the data.

Mark

09/12/2009
18:50
Avatar
MarkC
Member
Members
Forum Posts: 14
Member Since:
02/11/2009
sp_UserOfflineSmall Offline

Doh!
I will clean the data and look for & and < > characters, i've done it in the past, just slipped my mind.

Is there an easy way to debug...basically how did you got the link you sent me..just knowledge or from firefox debugger? I have not used the debugger yet in firefox (should do a tutorial really on how to use it), but that link seem to be at the xml stage rather than javascript.

Thanks again Mark

Regards

MarkC

09/12/2009
19:25
Avatar
markw65
Member
Members
Forum Posts: 179
Member Since:
30/07/2009
sp_UserOfflineSmall Offline

Actually firebug didnt complain about the xml - it just reported essentially the same error you saw (deep inside the compressed jquery source) - which was basically an attempt to access a node in a null xml document.

The error message (and url) was in the standard firefox error console (Tools|Error console). Usually everything listed there (and much more) also appears in the firebug console - but occaisionally it picks up something that firebug doesnt. Its always worth taking a look when things arent working...

Mark

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
62 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information