473,326 Members | 2,012 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Ajax in paging

2
hi all,
i am very new in Ajax programming,
my problem is, i am creating paging with Ajax functionality,
and with Ajax i am calling javascript in each page no, my javascript function make the ajax request to the server.
now i am showing 10 records per page and in my DB there is 14 total records, and i have 2 pages total. in my first page 10 records is display and in second 4 records is display.
when i go through 1 to 2 i get correct 4 remaining record in second page , but when i come back to previous page means 2 to 1 i get only 4 records out of 10, i dont know why this is happning, when i come back to the previous page.
please help me, your suggesstion would be appreciated.
Sep 29 '08 #1
3 1492
acoder
16,027 Expert Mod 8TB
Post your code or a link to a test page.
Sep 29 '08 #2
kartic
2
please go through with this link
[removed link as per site rules]
Sep 29 '08 #3
acoder
16,027 Expert Mod 8TB
I have had to remove the link because it breaks the posting guidelines, in particular the rule:
Things which are generally unacceptable
Posting links to a site that contains inappropriate content or content that would break the posting guidelines if posted directly on Bytes.com, specifically but not limited to bad/foul language or sexually explicit sites.
Either post the code or post a link to a test page with no images.
Sep 29 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Manny Chohan | last post by:
Hi Guys, I am planning to put a Calendar control on my website. However i dont want the whole page to reload when i am paging the calendar. i did little research on web and found AJAX as a good...
9
by: darrel | last post by:
Last week I asked about ASP.net 2.0 AJAX frameworks and there appears to be several to choose from. I haven't used ASP.net 2.0 yet, but from doing a bit of reading, it appears that ASP.net 2.0...
1
by: davidjgonzalez | last post by:
I have a GridView that has paging enabled. Each item (as defined in an ItemTemplate) includes several controls which have operations i would like to Atlas-enable. Everything is working well except...
5
by: toffee | last post by:
Hi, I need some pointers as I have no idea how to get started. I have a large table which pulls data from a mysql db. Because of the large number of records, it clugs up lot of memory and the...
6
by: mattdaddym | last post by:
Hi all, I'm looking for a way to show my users the progress of their sql queries. I've implemented Microsoft Ajax in order to show a progress bar, but I would love to be able to show: number...
0
by: Phillip Ian | last post by:
Tried this over in CSharp.General and didn't get anything, so I thought I'd try again here. If there's an AJAX specific group I could ask this in, please let me know...I did look. I'm trying to...
1
by: dan.goyette | last post by:
I'm fairly new to using AJAX. I'm currently developing a data grid application in coldfusion, using AJAX for paging/filter/sorting updates to the grid. So far I've just been returning raw html, and...
0
by: kal | last post by:
I have a gridview on my page - the 'onSelIndexChan' of which is wired to a ajax update panel - via triggers. this works fine but the grids paging wont work - or rather it fires a post back but...
23
by: rsdev | last post by:
Hi, I have read hundreds of post regarding this issue, but none have an answer for my situation. So hopefully somebody here can help! I have a gridview in an updatepanel (AJAX control toolkit)...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.