473,406 Members | 2,847 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,406 software developers and data experts.

Using AJAX for a search results box

Hi

Following Eliyau's suggestion, I've decided to use AJAX for my search
thingy. SO, I've got a textbox for the search criteria and a Repeater control
to display the results.

At the moment, I'm using the textbox with a button. When the button is
clicked, we create the SQL and then I've overridden the OnPreRender event to
get the results and DataBind with the Repeater.

I think I've got my setup stuff sorted for AJAX, but how do I get it to
rebind the Repeater with a new set of results? Can I just call the code thats
called by OnPreRender? Do I have to do something else?

Ant help/articles appreciated - cheers!

Dan

Nov 19 '05 #1
4 1551
=?Utf-8?B?ZGhucml2ZXJzaWRl?= <da*@musoswire.com> wrote in
news:49**********************************@microsof t.com:
At the moment, I'm using the textbox with a button. When the button is
clicked, we create the SQL and then I've overridden the OnPreRender
event to get the results and DataBind with the Repeater.

I think I've got my setup stuff sorted for AJAX, but how do I get it
to rebind the Repeater with a new set of results? Can I just call the
code thats called by OnPreRender? Do I have to do something else?

Ant help/articles appreciated - cheers!


Are you using .NET 1.1?

I'm using Thycotics Javascript Remoting... that seems to work well.

Otherwise you can try Dart's Live Controls.
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #2
Do you have a link for Thycotics? Tried a search, its a Googlewhack!

"Lucas Tam" wrote:
=?Utf-8?B?ZGhucml2ZXJzaWRl?= <da*@musoswire.com> wrote in
news:49**********************************@microsof t.com:
At the moment, I'm using the textbox with a button. When the button is
clicked, we create the SQL and then I've overridden the OnPreRender
event to get the results and DataBind with the Repeater.

I think I've got my setup stuff sorted for AJAX, but how do I get it
to rebind the Repeater with a new set of results? Can I just call the
code thats called by OnPreRender? Do I have to do something else?

Ant help/articles appreciated - cheers!


Are you using .NET 1.1?

I'm using Thycotics Javascript Remoting... that seems to work well.

Otherwise you can try Dart's Live Controls.
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/

Nov 19 '05 #3
=?Utf-8?B?ZGhucml2ZXJzaWRl?= <da*@musoswire.com> wrote in news:512B5FA4-
94*************************@microsoft.com:
Do you have a link for Thycotics? Tried a search, its a Googlewhack!

Here you go:

http://www.thycotic.com/
http://www.thycotic.com/dotnet_remotescripting.html
http://www.thycotic.com/dotnet_remot...ng_client.html
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #4
with AJAX you use client dhtml rather than server controls. .net 1.0/1.1
does not have any AJAX support. your client code (javascript) should use an
iframe or XMLHTTP to make a web request to a .net page written to respond
with the info desired, either xml, javascript variables or actual html are
the most common. once you have the response, use client script to render the
table.

-- bruce (sqlwork.com)


"dhnriverside" <da*@musoswire.com> wrote in message
news:49**********************************@microsof t.com...
Hi

Following Eliyau's suggestion, I've decided to use AJAX for my search
thingy. SO, I've got a textbox for the search criteria and a Repeater
control
to display the results.

At the moment, I'm using the textbox with a button. When the button is
clicked, we create the SQL and then I've overridden the OnPreRender event
to
get the results and DataBind with the Repeater.

I think I've got my setup stuff sorted for AJAX, but how do I get it to
rebind the Repeater with a new set of results? Can I just call the code
thats
called by OnPreRender? Do I have to do something else?

Ant help/articles appreciated - cheers!

Dan

Nov 19 '05 #5

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

Similar topics

12
by: Joel Byrd | last post by:
I am making an AJAX call when any one of a number of inputs in a form (search criteria) are clicked, checked, changed, etc. When the user clicks, checks, whatever, I am trying to display a...
10
by: trpost | last post by:
I am using ajax / php where I am looking up some info from the database and populating a select list dynamically, however I am running into some sort of size limitation with the ajax.response...
11
by: trpost | last post by:
I am using ajax / php where I am looking up some info from the database and populating a select list dynamically, however I am running into some sort of size limitation with the ajax.response...
3
by: steffen haugk | last post by:
Hi there, if this is a common or newbie question. I would like to request some data from a server using ajax (search type of thing). Whilst the server is searching, I would like to display the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.