| re: .net / checkbox / popup window
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.shn.tsews.thbu@edaem.bor> wrote in message
news:%23Gs7XHy9FHA.3088@TK2MSFTNGP09.phx.gbl...[color=blue]
> 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
>[/color] |