473,773 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.Net 2.0 | Cancel a search query on web page

hi,
I have a web site where user provide some search criteria and click on
button "Search". I want to provide a "Cancel" button which user can
click. In case search takes long, user clicks on Cancel and he remains
on the
same page without any result. basically i do not want web client to
wait for result. he should get option to cancel.

Please help me, this is urgent.
Thanks

Sep 15 '07 #1
2 1715
On Sep 15, 11:43 pm, tirath <Tirat...@hotma il.comwrote:
hi,
I have a web site where user provide some search criteria and click on
button "Search". I want to provide a "Cancel" button which user can
click. In case search takes long, user clicks on Cancel and he remains
on the
same page without any result. basically i do not want web client to
wait for result. he should get option to cancel.

Please help me, this is urgent.
Thanks
you probably can't do a server side cancel, but can't you do something
like a client side javascript cancel? possibly with a back if your
hitting a new page?

Sep 15 '07 #2
On Sep 16, 2:06 am, densial <dens...@gmail. comwrote:
On Sep 15, 11:43 pm, tirath <Tirat...@hotma il.comwrote:
hi,
I have a web site where user provide some search criteria and click on
button "Search". I want to provide a "Cancel" button which user can
click. In case search takes long, user clicks on Cancel and he remains
on the
same page without any result. basically i do not want web client to
wait for result. he should get option to cancel.
Please help me, this is urgent.
Thanks

you probably can't do a server side cancel, but can't you do something
like a client side javascript cancel? possibly with a back if your
hitting a new page?
hi densial,
thanks for replying.
I do not want to do server side cancel. All i want is that client to
stop waiting for server side response. so that even when server
rsponse comes back, thre is no client waiting for it and hence it is
dropped. I am not hitting a new page. I want user to be on same page.
Can u please help me with how to do this on client side. This is very
important, my customer badly wants this.
Thanks again.

Sep 16 '07 #3

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

Similar topics

3
2800
by: Alexander van Meerten | last post by:
Hello, I have to make an application that works on pc and apple mac. Therefore I am investigating if it's possible to use html/javascript. The database has 10000 records and is sequentially searched. This may take 20 seconds or so. I want the user to be able to quit the search and also I want the outputscreen to be updated immediately when a hit is found and not wait until the complete search is finished. The problem is that the...
2
5877
by: Stephen | last post by:
I have code which checks whether a datagrid is empty and if it is it shows a panel on my page. If its not empty then Im using the server.transfer to go to another page so as im able to use the items in an array list. My problem is that I also have had to incorporate some Javascript to see whether the user is ok with moving forward. Everything is fine and works apart from when the user clicks cancel on the pop-up Internet Explorer window it...
2
4249
by: The Whistler | last post by:
I have an app that users can search through a support knowledge base. If a user enters criteria that would cause the app to freeze while it is trying to gather the data, I would like to program a Cancel Query button to either close the command object or close the connection object. This would give the user the ability to cancel the execution and refine the search criteria. I am programming this app using 2005 Beta 2 in VB.net. Any ideas?
2
2629
by: Arsalan Ahmad | last post by:
Hi, May be I am a newbie, or may be i dont have that much insight in following systems ..i.e. why i have some confusions as below: In many websites, when search is performed on some keywords (not only including google which perform general search but other sites which perform seach on a particular type of item in their database) then many search results are obtained (for example more than 100 or even more than 1000) but only limited...
6
2640
by: jej1216 | last post by:
I am trying to put together a PHP search page in which the user can select none, one, two, or three fields to search, and then the results php will build the SQL with dynamic where caluses to reflect the fields chosen. The first page, where they select the search fields and submit: <?php $db = mysql_connect("localhost", "root", "yeahright"); if (!$db) { die('Could not connect:'.mysql_error);
13
2121
by: jfarthing | last post by:
Hi everyone! I am using the script below to search a db. If the is more than one match in the db, all goes well. But if there is only one match in the db, nothing gets displayed. Any suggestions will be greatly appreciated. Jim #! /usr/bin/perl -w use strict;
6
2906
by: martin DH | last post by:
**Urgent Need** I'll throw out the basics and any assistance is very, very, very much appreciated! Access 2003 on XP On a form (frmMain) is an option group of check boxes (ReportFrame) from which a user can choose a specific report to generate. The user selects the report of choice then presses a comand button (CmdRunRpt). The command button runs using the code below: Private Sub CmdRunRpt_Click() If ReportFrame = 1 Then...
2
1813
by: Pallavi Shroff | last post by:
Hi, I am developing one windows based application using c#. I have one datagird and one search button. By clicking on the search button it wil connect to the database and get data and bind it to the datagrid. My requirement is after clicking on the search button one dialogbox like thing should be shown which wil contain a lable and a cancel button. If we click on the cancel button it should stop executing the query and it should not...
5
2630
by: th1982 | last post by:
HI All I have a search page' s result which view 3results/per page,but my "next" link to view next page is not working. Here is my code : <?php // Get the search variable from URL $string = @$_GET ; $trimmed = trim($string); //trim whitespace from the stored variable // rows to return
0
9621
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
10264
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10106
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...
1
10039
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8937
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
5355
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4012
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
2
3610
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.