Hello All,
I am calling user controls method from aspx page where I setting some values to textbox, lables etc.
However, when execution is finished I am not able to see the values are applied to the controls. But while debugging I can see the values are applied
So, whats the issue here ?
below is my code calling from aspx page
UCEmailClone UCEmailClone = (UCEmailClone)Page.LoadControl("UCEmailClone.ascx");
UCEmailClone.CheckFwdAttachments();
in user control
public void CheckFwdAttachments()
{
byte[] bytes = null;
string ContentType = string.Empty;
string strActiveTabID = Convert.ToString(HttpContext.Current.Session["ActiveTabID"]);
if (HttpContext.Current.Session["attachments"] != null)
{
Dictionary<String, byte[]> attachments = (Di ...
Go to the complete details ...