nested controls

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top