R
Rob Meade
Hi all,
I have an application which enables a user to register and select a series
of resources to go with their profile.
At the moment I have an issue on the section where they will select the
resources, this is done by launching a popup window, displaying the list of
available resources and then the user can select one, in turn this should
then populate the parent window.
My problem is that when I retrieve the list of resources from the database I
only want to display to the user the ones that they have not already
selected, or those that come pre-selected in their role.
In the viewstate I have my own object "UserRegistration" which holds this
detail, so how can I communicate the viewstate from the parent page to the
popup window so that I might instantiate a new UserRegistration object on my
popup?
I would prefer to do something like this as opposed to always returning all
resources as there are quite a few, and in addition, even if I did return
ALL resources, I'd then have to iterate through them and still not display
the ones they have, so I'd still need a method of communicating between the
two windows.
Thanks in advance for any help,
Regards
Rob
I have an application which enables a user to register and select a series
of resources to go with their profile.
At the moment I have an issue on the section where they will select the
resources, this is done by launching a popup window, displaying the list of
available resources and then the user can select one, in turn this should
then populate the parent window.
My problem is that when I retrieve the list of resources from the database I
only want to display to the user the ones that they have not already
selected, or those that come pre-selected in their role.
In the viewstate I have my own object "UserRegistration" which holds this
detail, so how can I communicate the viewstate from the parent page to the
popup window so that I might instantiate a new UserRegistration object on my
popup?
I would prefer to do something like this as opposed to always returning all
resources as there are quite a few, and in addition, even if I did return
ALL resources, I'd then have to iterate through them and still not display
the ones they have, so I'd still need a method of communicating between the
two windows.
Thanks in advance for any help,
Regards
Rob