Dear All, I have a DropDownList in MasterPage which holds Years, and based on the value selected from MasterPage I am creating a session variable.
in Child Control I want to create dynamic controls based on session variables, I created all the required controls in child page but the problem persist while saving the value.
I used PreRender in Child Page which Gives the accurate Session Value from Master Page, but I dynamic control can't save its state (ViewState)
I used PageLoad in Child Page, but in PageLoad I am getting wrong Session Value from Master Page,
any Ideas please, which event should i use in Child Page to both have the accurate value of MasterPage Session and have ViewState of Dynamic Control in Child Page?