473,802 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Gridview: waiting after click

Hi all, i'm new to this newsgroup.
This is my problem: i have a form with a GridView. The first column of the
grid is a ButtoFields (image type) column, with some code to manage the
request for the click (it computes a long, time consuming query). I need to
put something to tell the user that "something is going on" after he click
the ButtonField. A solution could be changing the browser cursor to
hourglass, OR change the clicked image to another, like "working... " OR
display a popup that closes when the query is finished.

The problem is that i'm a noob in asp programming :(

What is the simplest thing i can do?

Thanks in advance.
Nov 15 '07 #1
3 1607
Look into the AJAX UpdateProgress control - that should do it for you

--

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
"gianfranco dalfiume" <gi****@tin.itw rote in message
news:O8******** ******@TK2MSFTN GP02.phx.gbl...
Hi all, i'm new to this newsgroup.
This is my problem: i have a form with a GridView. The first column of the
grid is a ButtoFields (image type) column, with some code to manage the
request for the click (it computes a long, time consuming query). I need
to put something to tell the user that "something is going on" after he
click the ButtonField. A solution could be changing the browser cursor to
hourglass, OR change the clicked image to another, like "working... " OR
display a popup that closes when the query is finished.

The problem is that i'm a noob in asp programming :(

What is the simplest thing i can do?

Thanks in advance.

Nov 15 '07 #2
On Nov 15, 5:31 am, "gianfranco dalfiume" <gin...@tin.itw rote:
Hi all, i'm new to this newsgroup.
This is my problem: i have a form with a GridView. The first column of the
grid is a ButtoFields (image type) column, with some code to manage the
request for the click (it computes a long, time consuming query). I need to
put something to tell the user that "something is going on" after he click
the ButtonField. A solution could be changing the browser cursor to
hourglass, OR change the clicked image to another, like "working... " OR
display a popup that closes when the query is finished.

The problem is that i'm a noob in asp programming :(

What is the simplest thing i can do?

Thanks in advance.
You can use an ASP.NET AJAX UpdatePanel with an UpdateProgress control

--
Keith Rull
http://www.keithrull.com/
http://www.devpinoy.org/
Nov 15 '07 #3
Thank you all, i will try that.
Nov 16 '07 #4

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

Similar topics

4
11594
by: Jay | last post by:
Hi, I am working in ASP.Net with C# as code behind. Now i have provided a gridview and i have provided Checkbox and connected SQL database in it . it works fine... now i need to to do it in C# .. this is because wheni click a button i need to display the data from the database . how to do it? the one i have done is , it displays all the data when i execute that page.
0
1134
by: Jayender | last post by:
Hi, I have displayed data from database (SQL) in a grid view and i have placed a checkbox in Gridview .. now what i need to do is : .. i need to update data if the checkbox is ticked : like i have provided a button .. when u click it , i need to update the database like change the value fto " 1 " from " 0 " , so i wrote the update comand " update database_name set column_name= '1' where another column_name = " this has to be the value...
0
3298
by: Jayender | last post by:
Hi , I have placed checkbox in my gridview .. now when i check the chekbox and click anybutton the checkbox becomes unchecked. but when i normally add checkbox in the page it doesnt happen but it happens when i add it to the gridview. why is that ? i have added checkbox like this in my gridview: .......
1
6136
by: sheenaa | last post by:
Hello Members, I m creating my application forms in ASP.Net 2005 C# using the backend SQL Server 2005. What i have used on forms :: ? On my first form i have used some label,textboxs,dropdownlists,radiobutton and checkbox asp standard controls. On the click event of the command button the data gets stored into the database. I have created the stored procedures for the insert,update,delete. I have...
4
7224
by: SEliel | last post by:
Hello everyone: I'm programming a custom GridView, adding column by column dynamically. Every column is a TemplateField, and I've made a class hierarchy for each template (TextColumnTemplate, DropDownListColumnTemplate, ButtonColumnTemplate), implementing ITemplate. The problem is in ButtonColumnTemplate. Here's is my code:
2
1278
by: mattcushing | last post by:
I have three dropdowns, one is populated, the other two I'm just putting in values myself (facility, year, month). I have a gridview running a stored procedure that is waiting for values from the dropdowns so it can populate the grid. I'd like to wait to populate the grid until the user selects values and hits go, but for some reason, it's just populating automatically. I tried putting in a "Please Select" in one of them, but then it...
0
4669
by: sharonrao123 | last post by:
hello all, I have a parent gridview company and in this one a nested gridview people, Is it possible to allow the user to select one row or multiple rows from the people gridview using a check box and also get the datakey (in my case personid) of the the rows selected. Please point me in the right direction. This is what i have so far but i have problem accessing the child gridview in the button click event Cheers, Shilpa. <asp:GridView...
1
1351
by: gianfranco dalfiume | last post by:
Hi all! I have a gridview with a templatefield and an imagebutton <asp:TemplateField> <ItemTemplate> <asp:ImageButton ID="Riepilogo" runat="server" CommandArgument="<%#((GridViewRow)Container).RowIndex%>" ImageUrl="~/img/search.png" CommandName="riepilogo" ToolTip="Riepilogo attività impianto" onClick="prova" OnClientClick="src='img/blue_loader.gif'; Visible='True'"/>
4
9792
by: mohaaron | last post by:
This seems like it should be simple to do but for some reason I have been unable to make it work. I would like to databind a SqlDataSource to a GridView during the click event of a button. This sounds easy but the next requirement is that the GridView is editable. So I have included the SelectCommand and the UpdateCommand on the SqlDataSource to allow the GridView to be editable. I have now been able to get the GridView to display data...
0
9699
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
9562
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
10305
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
10285
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
9115
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...
1
7598
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6838
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
5494
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...
2
3792
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.