Solved

Is there any way to do recordset .movenext in asp page  using javascript

Posted on 2004-04-02
7
426 Views
Last Modified: 2007-12-19
HI
 I have a recordset in ASp page.
 I want to build menu array  from the  recordset I want to do recordset.movenext from a javascript function
 
Is there any way to do recordset .movenext in asp page  using javascript??
0
Comment
Question by:ssdanu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 6

Expert Comment

by:jarasa
ID: 10739450
Hi ASP as JSP are server based languages, what means that it got executed on the server before it is sent to the client, and the client gets the final result as HTML.

So the answer to your question is NO you can't do that but you can simulate it. If you load a Javascript Object with all the records of the recordset, you can so them one by one on the client, but is the recordet is too big, the cost of it will be huge.

You can save the recordset on the user session scope and just call the server to show the next record. I think is more reasonable than the other option.

Hope it helps you.

Javier
0
 
LVL 7

Expert Comment

by:gam3r_3xtr3m3
ID: 10739740
jarasa, he was not talking about JSP but rather JavaScript. =p
ssdanu, no you can't though. but you could make dynamic wherein you'd load everything on an array but display only a part of the record, then pressing a button would make it swap with another row. and you could use XMLHTTP. (sorry i still haven't grasped it much so i can't make a custom script. some experts here knows how to.)
0
 

Expert Comment

by:tavseth
ID: 10740394
I don't know from you question exactly what your application is, but here is an example of using an XML data island in your HTML document. This will work with IE. You would use ASP to create the data island on the server before the page is served to the client.

http://www.devx.com/gethelpon/10MinuteSolution/16482

It shows traversing the data island dataset using MoveNext and the like.


Rgds,
Tavseth
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

Author Comment

by:ssdanu
ID: 10764422
I have got the solution please can you close the question?
0
 

Author Comment

by:ssdanu
ID: 10764440
HI All
 Thanks for your prompt support
I have got the solution for the problem. The script I got is on the site http://www.burmees.nl/menu/

It works across frameset
 BUt  a small problem I am facing is. the menus is gettinmg hidden behind the pivot table object

How to get that menu displayed over pivot table object
 O.w  rest themenu is working very fine.

Can anybody help me..
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 11021784
PAQed, with points refunded (250)

GhostMod
Community Support Moderator
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question