i want to assign session variable in javascript ..
and access it it code behind
and access it it code behind
ur ? is not very clear but as i understand solution is as follows
take a span tag and add runat="server" so that is could be accessible from code behind .
<span id='MySessionVar' runat="Server" ></span>
in code behind use
void Page_Load(object sender,EventArgs e)
{
MySessionVar.InnerHtml=Session["SessionVarName"].ToString();
}
if any problem then describe in details, or if u feel better to discuss on problem u may call 09334888992 or mail : m2c.santosh@gmail.com , i will be happy to have new problem experience.
take a span tag and add runat="server" so that is could be accessible from code behind .
<span id='MySessionVar' runat="Server" ></span>
in code behind use
void Page_Load(object sender,EventArgs e)
{
MySessionVar.InnerHtml=Session["SessionVarName"].ToString();
}
if any problem then describe in details, or if u feel better to discuss on problem u may call 09334888992 or mail : m2c.santosh@gmail.com , i will be happy to have new problem experience.