Hi
From the calling page I am assigning value a string to context as below;
Protected Sub btnSubmit_Click (ByVal sender As Object, ByVal e As
System.EventArg s) Handles btnSubmit.Click
Dim Msg As String
Context.Items(" Msg") = Msg
Response.Redire ct("Called_Page .aspx")
End Sub
In the called page I have the below code to pick the info from context but
no information is received;
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArg s)
Handles Me.Load
lblMsg.Text = CType(Context.I tems("Msg"), String)
End Sub
What is the problem and how can I fix it?
Thanks
Regards
From the calling page I am assigning value a string to context as below;
Protected Sub btnSubmit_Click (ByVal sender As Object, ByVal e As
System.EventArg s) Handles btnSubmit.Click
Dim Msg As String
Context.Items(" Msg") = Msg
Response.Redire ct("Called_Page .aspx")
End Sub
In the called page I have the below code to pick the info from context but
no information is received;
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArg s)
Handles Me.Load
lblMsg.Text = CType(Context.I tems("Msg"), String)
End Sub
What is the problem and how can I fix it?
Thanks
Regards
Comment