need to get the context value in top of page, where the context value will be set only at the bottom
- by Mahadevan Alagar
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
Response.Write("Page Load:");
}
public string setContext(string sName, string sVal)
{
HttpContext.Current.Items[sName] = sVal;
return sVal;
}
public string getContext(string sName)
{
string…