You raise an interesting number of points!
In my case, the Control hierarchy structure is this:
- Master Page
- Web Content Form
- User Control (one of many can be loaded at any one time)
- RadWindow 1 (dialog box displayed when user needs it)
- RadWindow 2 (smaller dialog box, just to get a single text value)
Reading through what you wrote me, it appears that I need to redisplay RadWindow1 and RadWindow2 upon a Partial Postback via the Page_Init event handler. Now, up until now, I was making this call from Page_Load like this:
] = value;
// This is currently in Page_Load:
So I just tried moving the last two lines of code into Page_Init. This failed to work, I assume because ViewState isn't yet initialized at that point in the page life cycle. If I can't use ViewState, what other approach would you recommend for me to keep track of, and redisplay if necessary, whether RadWindow 1 or RadWindow 2 are displayed and need to be redisplayed?