Click here to Skip to main content
15,893,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear Frnds,

Am working on Asp.Net , C# and Database as SqlServer 2005,

Am Searching Records from GRIDVIEW using Textbox, While I enter Text into Textbox automatically complete page is REFRESHING.

How to Avoid Page Refreshing, While Typing into Textbox for Search the REcords.


Thanks, Advice me.
Posted

1 solution

Either use traditional AJAX - XMLHTTPRequest:
XMLHttpRequest Object[^]
XMLHTTPRequest with Sample[^]
Using the XML HTTP Request object[^]
Get data from server side and update your search result.

OR

use ASP.NET AJAX Update Panel. . Here you go:
UpdatePanel Control Overview[^]
UpdatePanel control[^]
UpdatePanel Class[^]
Keeping small things aside, in short, you need to put your Grid in an Udpate Panel to enable partial rendering.

Try!
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900