T
TJS
Is there a way to share objects between nested controls ?
i want to reset the user's droplist selection, for a css style sheet change,
to their choice.
the problem
==================
The interior control is a droplist
the exterior control is a common banner page which holds the droplist
the user's droplist selection is added to a query string and the server
then transfers the result to a new page. I have to transfer because a
single postback doesn't allow the page css style sheet changes to take
effect.
When the common banner page is redisplayed it calls the droplist control
again but I can't reset the droplist back to the user selection.
If I try to pick up the querystring value in the droplist control, it tells
me the droplist doesn't exist (it's in the banner control)
If I try to pick it up in the banner page it tells me the placeholder for
the control doesn't have a selected index attribute. (it's in the droplist
control)
i want to reset the user's droplist selection, for a css style sheet change,
to their choice.
the problem
==================
The interior control is a droplist
the exterior control is a common banner page which holds the droplist
the user's droplist selection is added to a query string and the server
then transfers the result to a new page. I have to transfer because a
single postback doesn't allow the page css style sheet changes to take
effect.
When the common banner page is redisplayed it calls the droplist control
again but I can't reset the droplist back to the user selection.
If I try to pick up the querystring value in the droplist control, it tells
me the droplist doesn't exist (it's in the banner control)
If I try to pick it up in the banner page it tells me the placeholder for
the control doesn't have a selected index attribute. (it's in the droplist
control)