473,438 Members | 1,681 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,438 software developers and data experts.

Checkbox problem

JIM
Hello,

I would like to solve the following problem :

I've a web site with ex. 5 checkboxes
Each checkbox contains the name of a certain task
ex.
asp:Checkbox 1: Task 1
asp:Checkbox 2: Task 2
...
asp:Checkbox 5: Task 5

Each time a task is finished on the server I would like to
inform the user that the task is finished by checking the checkbox to true
(Checked = True)
But I only see those checkboxes checked when the last tast is finished
(Then I see all 5 checkboxes checked)

How can I force my website to show each checkbox checked when a task
is finished ?

I'am using asp.net with Visual Studio 2003

Many thanks !


Nov 19 '05 #1
2 1452
"JIM" <k.********@pandora.be> wrote in message
news:3z*********************@hestia.telenet-ops.be...
Hello,

I would like to solve the following problem :

I've a web site with ex. 5 checkboxes
Each checkbox contains the name of a certain task
ex.
asp:Checkbox 1: Task 1
asp:Checkbox 2: Task 2
...
asp:Checkbox 5: Task 5

Each time a task is finished on the server I would like to
inform the user that the task is finished by checking the checkbox to true
(Checked = True)
But I only see those checkboxes checked when the last tast is finished
(Then I see all 5 checkboxes checked)

How can I force my website to show each checkbox checked when a task
is finished ?


You seem to be misunderstanding how web applications work. I recently saw a
web page which did the following:

lblMessages.Text = "Starting..."

' do some stuff

lblMessages.Text = "Fetching from database..."

' do that

lblMessages.Text = "Finished"

The author seemed to think that the users would see the first two messages.
Of course, they only saw the third. See the following to find out why not:

The ASP.NET Page Object Model
(http://msdn.microsoft.com/library/de...asp?frame=true)
Then take a look at the following to address your specific problem:

Indicating Progress
http://msdn.microsoft.com/library/de...pplication.asp
Make a Progress Indicator For Slow-Loading Pages
(http://www.aspnetpro.com/NewsletterA...200308bm_l.asp)
DESIGN PATTERNS: Asynchronous Wait State Pattern in ASP.NET
http://msdn.microsoft.com/msdnmag/is...s/default.aspx

John Saunders
Nov 19 '05 #2
What you could do is to get the page to refresh itself periodically and to
set the checkboxes on postbacks.

Eliyahu

"JIM" <k.********@pandora.be> wrote in message
news:3z*********************@hestia.telenet-ops.be...
Hello,

I would like to solve the following problem :

I've a web site with ex. 5 checkboxes
Each checkbox contains the name of a certain task
ex.
asp:Checkbox 1: Task 1
asp:Checkbox 2: Task 2
...
asp:Checkbox 5: Task 5

Each time a task is finished on the server I would like to
inform the user that the task is finished by checking the checkbox to true
(Checked = True)
But I only see those checkboxes checked when the last tast is finished
(Then I see all 5 checkboxes checked)

How can I force my website to show each checkbox checked when a task
is finished ?

I'am using asp.net with Visual Studio 2003

Many thanks !

Nov 19 '05 #3

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

Similar topics

1
by: Claire | last post by:
Hello, I am having a problem in my struts application with the checkboxes in my form. I have an array of checkboxes, some of which may be already selected when the form loads. My problem is when...
2
by: Tomas Vera | last post by:
Hello All, I'm having problems creating a page with dynamic checkboxes in a WebApp. In my app, I need to query a database, then (based on results) add checkboxes to my form and set their...
0
by: mike | last post by:
Hi there: I've read an excellent "how to"-article by Microsoft (no. 306227) - partly cited cited at the end of this email). I have implemented the code related to the part "How to Add a...
10
by: Jennyfer J Barco | last post by:
Hello, I have a datagrid that brings some information from a query. I need to have a checkbox in each row so the user can select the rows he wants to reprint. Is it possible to have a checkbox...
4
by: SJ | last post by:
Hi all, I have come across a weird problem when attempting to automatically set the focus in a vb.net form to a checkbox control... In my form I have (on a tab page in a tab control) several...
1
by: spolsky | last post by:
try the the following code with Opera 9.01 (Windows). when clicked slightly faster than normal clicking, the toggler checkbox and other checkboxes displays differently although event method works...
9
by: morellik | last post by:
Dear all, I have a program that creates dinamically a web page. In the page I have the following function to check how many checkbox are checked. function tarInfo(info) { var i=0; var c=0;...
0
by: cyberdawg999 | last post by:
Greetings all in ASP land I have overcome one obstacle that took me 2 weeks to overcome and I did it!!!!! I am so elated!! thank you to all who invested their time and energy towards helping me...
3
by: Mahathi | last post by:
Hi I have a small problem in maintaining the state of a check box. Please do me a favour by telling me the procedure how to do that. My requirement is that "I have to map some roles with...
4
by: Charlotte | last post by:
Hi, I have a problem with a ASP-script, can somewone help me ? here is what I've got: mypage.asp : .... code ... <%
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
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
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...
0
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...
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
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...
0
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...

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.