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

.net / checkbox / popup window

Lo all,

Just after some suggestions here really...

I have a page which lists a members of staff who have left our organisation,
this list is then used by various departments in our organisation to carry
out their own processes based on the fact that this member of staff has
left, for example, clearing down security accounts, cancelling car parking
swip cards, that kinda thing.

Once they've carried out their own process they place a tick in the checkbox
against the appropriate person and update the page, they are able to do
multiple people at anyone time if they so wish.

In addition to this there is a hyperlink on each row of data (ie,each
person) which enables them to add notes for that member of staff, so perhaps
if the users hasn't actually left yet, for some reason they are employed for
1 extra day, that kind of thing. When they click this link a popup window
opens which displays the form allowing them to add the notes, on submission
the notes are stored in the database and I close the popup window, I also at
this point refresh the parent window because I now need the "View Notes"
hyperlink to appear as there are notes for this member of staff.

The problem I have encounted is that if a user ticks lets say 10 people, and
then adds notes for 1 of them, upon submitting the notes the parent page
reloads and all of the ticks are lost, because the page has reloaded.

Can anyone suggest any ways of enabling my application to store these ticks
when the page is reloaded,obviously when the parent page is submitted this
no longer needs to be stored.

I was wondering whether I could use the view state, but wasn't entirely sure
of a way of doing this for the parent page?

Any information would be appreciated.

Best regards

Rob Meade
Dec 2 '05 #1
1 1707
One suggestion that comes to mind (there may be better ones).

Create a button on your main page, that calls the code behind and refreshes
your list.
Before reloading the list, this must look through the list remembering which
boxes were checked and after populating recheck these boxes

Now when your popup closes, instead of reloading the page, it must submit
this button.

HTH

"Rob Meade" <ku***************@edaem.bor> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Lo all,

Just after some suggestions here really...

I have a page which lists a members of staff who have left our
organisation, this list is then used by various departments in our
organisation to carry out their own processes based on the fact that this
member of staff has left, for example, clearing down security accounts,
cancelling car parking swip cards, that kinda thing.

Once they've carried out their own process they place a tick in the
checkbox against the appropriate person and update the page, they are able
to do multiple people at anyone time if they so wish.

In addition to this there is a hyperlink on each row of data (ie,each
person) which enables them to add notes for that member of staff, so
perhaps if the users hasn't actually left yet, for some reason they are
employed for 1 extra day, that kind of thing. When they click this link a
popup window opens which displays the form allowing them to add the notes,
on submission the notes are stored in the database and I close the popup
window, I also at this point refresh the parent window because I now need
the "View Notes" hyperlink to appear as there are notes for this member of
staff.

The problem I have encounted is that if a user ticks lets say 10 people,
and then adds notes for 1 of them, upon submitting the notes the parent
page reloads and all of the ticks are lost, because the page has reloaded.

Can anyone suggest any ways of enabling my application to store these
ticks when the page is reloaded,obviously when the parent page is
submitted this no longer needs to be stored.

I was wondering whether I could use the view state, but wasn't entirely
sure of a way of doing this for the parent page?

Any information would be appreciated.

Best regards

Rob Meade

Dec 2 '05 #2

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

Similar topics

1
by: Noozer | last post by:
When using the WebBrowser control, is it possible to cause popup windows to appear within the WebBrowser control itself instead of a new window? This is what I've written in the NewWindow2 event,...
2
by: Moon | last post by:
Seems I still haven't got the hang of all those window generating code in Javascript. I've got a page with about 15 photo thumbnails. When you click on a thumbnail a new window pops up which shows...
5
by: Obantec Support | last post by:
Hi i leached some code and strung together a popup i need for a page with 5 help buttons. Now i could use 5 scripts and pre-load the values but i would rather get a better understanding of how...
15
by: | last post by:
So many websites can get around my Googlebar's popup blockers. Even Opera 8 can not stop those popups. I looked into the codes, and I can find nothing showing me how it is done. Can anyone help me...
4
by: Davey | last post by:
I have a website which has a popup window (this only opens when the user chooses to open it). In the popup window I have a <select> control which lists a selection of "classes". Each class has a...
2
by: Kapil Jain | last post by:
Dear All, Please assist me for below code : What i need is -> One "Patient Master" form for online Entry : My AIM -> When somebody want to add new patient a parent form will open than finally...
7
by: anthony.turcotte | last post by:
Hi, I've looked for a solution to this problem on google, read posts in this newsgroup and I still haven't found anything that could help me. Here's the scenario. 1. User accesses...
5
by: FP | last post by:
I have a list of results. When the user clicks a checkbox I need it to update the database but I don't want it to reload the current page. Currently I have the following; - a checkbox in a form...
5
by: =?Utf-8?B?Y2hlY2tyYWlzZXJAY29tbXVuaXR5Lm5vc3BhbQ== | last post by:
I have a VS 2008 ASP.NET webform that has a reportview tag on it, accessing an .RLDC report in local report. The columns for the report are essentially: Month Item #1 Item#2 Item#3 ...
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
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
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...
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
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.