473,606 Members | 2,101 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

getting records without reloading the page

Hey there,

I have a textbox and a listbox. When a user types a number in the textbox, I
want to get
all the records from a MS Access DB but without reloading the page. I now
have something manual
and a user first must press a button to get the listbox filled with records
but I want to have it done
automaticly without pressing a sumbit button. I know its prolly done with
javascript but thats one thing
I dont know anything about.

Can someone help me with some code or a link?

thx in advance,

Richard
Nov 18 '05 #1
3 2148
Set AutoPostback to True.
--
Joe Fallon

"Richard" <ri*****@nospam .com> wrote in message
news:#c******** ******@TK2MSFTN GP09.phx.gbl...
Hey there,

I have a textbox and a listbox. When a user types a number in the textbox, I want to get
all the records from a MS Access DB but without reloading the page. I now
have something manual
and a user first must press a button to get the listbox filled with records but I want to have it done
automaticly without pressing a sumbit button. I know its prolly done with
javascript but thats one thing
I dont know anything about.

Can someone help me with some code or a link?

thx in advance,

Richard

Nov 18 '05 #2
Hi Richard,

As for the querying db and getting records without reloading page you
mentioned, I'd like to confirm some further questions:
1. Is the access db file on the server ?

2. is the "realoging page" you mentioned means post back the page to
serverside?

If the db is at serverside, I think generally the normal means is to post
back the page and do the database query at serverside. The web application
is request/ response based and the client has non-persistent connection
with serversdie, so if we want any operations related to
serverside(reso urces or db or any other things), we need to post back the
page and let the serverside code to do them.
Please have a check and if you have any other ideas ,please feel free to
post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx






Nov 18 '05 #3
The database is server side, but i basicly fixed the problem with the
reloading, it goes so fast the user hardly knows the page reloaded.
With an focus, i focus it on the next textbox so it looks like it wasnt
reloaded.

but my problem is solved.. :D

"Steven Cheng[MSFT]" <v-******@online.m icrosoft.com> schreef in bericht
news:V3******** ******@cpmsftng xa06.phx.gbl...
Hi Richard,

As for the querying db and getting records without reloading page you
mentioned, I'd like to confirm some further questions:
1. Is the access db file on the server ?

2. is the "realoging page" you mentioned means post back the page to
serverside?

If the db is at serverside, I think generally the normal means is to post
back the page and do the database query at serverside. The web application
is request/ response based and the client has non-persistent connection
with serversdie, so if we want any operations related to
serverside(reso urces or db or any other things), we need to post back the
page and let the serverside code to do them.
Please have a check and if you have any other ideas ,please feel free to
post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx





Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2602
by: jbj | last post by:
Something like a php function that can be called? I have php in a page that needs to be update periodically (basically poll results) without reloading the page around it (I do have a button you can click). Is this possible? Or should I make some sort of Iframe with the php page in it that could be reloaded. The php code basicaly just writes a table to the page with the results of the polls included. Thanks for the help.
4
2766
by: J. J. Cale | last post by:
Hi Obviously I'm new to PHP. I would like to be able to update a table in a page from a database on the server without reloading the page each time. Is this possible with PHP? TIA Jimbo
8
4003
by: Aspersion | last post by:
I'm building an ASP page that has a lot of text and graphics. There is a calculation facility on the page. The user enters several numbers in a form and presses a button to see the calculated answer. The problem is this: when the user presses the Calculate button, the whole page is reloaded and, on a large page, this is very noticeable. Is there any way that I can get the calculation done and the result displayed without reloading...
3
2542
by: micchy | last post by:
Dear everyone, I'd like to know if 'view-source' in javascript can work without reloading the page. (or not calling the page again, just as I right-click in IE) Thanks for your help! micchy
1
8016
by: Mad Scientist Jr | last post by:
How do you get a ASP.NET page to return nothing, so the page posting form data to it doesn't reload? I have tried all combinations of the following: Response.SuppressContent = True Response.BufferOutput = True Response.Cache.SetNoStore()
1
1241
by: Daylor | last post by:
hi. i want to display page. then check every 10 seconds from the client, if a value in the server is changed WITHOUT RELOADING THE ALL PAGE. if value has change, i want the client to reload the page again.
12
1745
by: Lennart Anderson | last post by:
I'm having a MySQl table wih a lot of information. I want to present some main fields in a table on one page. Each record do, of course, have a unique ID. The presnted table will have one field as a linked field. I want to be able to click this link, retreive the ID information for that record and then present detailed data for that record on the next page. How do I retreive the ID? Any hints are very much appreciated. Thanks
2
2506
by: cmrhema | last post by:
Hi, I was asked a question. "You have 10,000 records or rows of data. You are going to bind in a gridview control. Further you have populated the dataset. During page indexing, I want to retrieve 100 records per page. But you should ensure that when I click page index 2 , which displays 101-200 records, the whole data set should not be populated once again. Although it displays only the next 100 records, the dataset and the grid is loaded...
0
8010
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7942
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8429
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8300
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6761
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5461
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3969
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2443
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.