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
Solved

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

Posted on 2004-04-02
7
424 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
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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

808 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