views:

336

answers:

1

So I have a masterpage with a login that is in an update panel. I have a child page that has a literal control that should update when the login updates. What it doesn't do is reload the method I use to generate the content for that literal when it posts back. I tried to call the method on the child page from the master page once you click log in, but I get an error that the literal control cannot be found (because it exists on the child page not the master page). How would I reference that control in the masterpage to pass it to my method?

A: 

The article below shows how the control tree works with MasterPages and how to reference different controls at different levels of the control tree.

ASP.Net 2.0 - Master Pages: Tips, Tricks, and Traps

rick schott
Well none of that worked, still couldn't find the control. The issues is more like when the child page updatepanel reloads, it doesn't do a full postback to refresh the data unless I hit reload. It checks for a session variable set after you log in. Perhaps the session variable gets set after the method that controls the child page content is fired?
ATMILO
Please post some code. Anything else I suggest is a guess.
rick schott