I m using C# language Asp.net version 3.5 I have a masterpage and pages which they use master. I think there are three ways to implement my application with ability passing parameters between controller to pages.
First Way :
I need to pass a string parameter from page to master how I can do that ?
I m going to pass a string parameter between page to master when controller request page and then page pass parameter to it s master.
Second way : Passing some string parameters from a controller class to master page at first (not to page and then page to it s master).
Third Way : Passing to another class or field that must be static and then master load it s value.
这是我表现良好和安全的最佳或可能方式。