Hii,,
I need a help. I have a master page and i am changing the masterpage file property to some other master page dynamically in the page PreInit event and that changing url is开发者_Go百科 taken from a viewstate. but the view state is not getting in the pre init event. If you finding any solution regarding this pls help me....
The viewstate is not available in the PreInit event. You'll need to use something else, such as URL parameters to determine which master page to use. It's better to have separate URLs for different views anyways.
try this: session("somename")
?
精彩评论