Esempio n. 1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        //pathUpload = this.ResolveClientUrl(pathUpload);
        clsDefault clsDefault = new clsDefault();

        pathUpload = clsDefault.ApplicationPath(pathUpload);
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        #region Variable Assign
        if (Request.QueryString["MaxWidth"] != null)
        {
            if (Request.QueryString["MaxWidth"].ToString() != "")
            {
                maxWidth = int.Parse(Request.QueryString["MaxWidth"].ToString());
            }
        }
        if (Request.QueryString["MaxHeight"] != null)
        {
            if (Request.QueryString["MaxHeight"].ToString() != "")
            {
                maxHeight = int.Parse(Request.QueryString["MaxHeight"].ToString());
            }
        }
        if (Request.QueryString["MaxSize"] != null)
        {
            if (Request.QueryString["MaxSize"].ToString() != "")
            {
                maxSize = int.Parse(Request.QueryString["MaxSize"].ToString());
            }
        }
        if (Request.QueryString["Watermark"] != null)
        {
            if (Request.QueryString["Watermark"].ToString() != "")
            {
                watermark = Request.QueryString["Watermark"].ToString();
            }
        }
        if (Request.QueryString["PathUpload"] != null)
        {
            if (Request.QueryString["PathUpload"].ToString() != "")
            {
                pathUpload = Request.QueryString["PathUpload"].ToString();
            }
        }
        if (Request.QueryString["PrefixName"] != null)
        {
            if (Request.QueryString["PrefixName"].ToString() != "")
            {
                prefixName = Request.QueryString["PrefixName"].ToString();
            }
        }
        #endregion

        //pathUpload = this.ResolveClientUrl(pathUpload);
        clsDefault clsDefault = new clsDefault();
        pathUpload = clsDefault.ApplicationPath(pathUpload);
    }
Esempio n. 3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        clsDefault clsDefault = new clsDefault();

        pathUpload = clsDefault.ApplicationPath(pathUpload);
    }
 protected void Page_Load(object sender, EventArgs e)
 {
     //pathUpload = this.ResolveClientUrl(pathUpload);
     clsDefault clsDefault = new clsDefault();
     pathUpload = clsDefault.ApplicationPath(pathUpload);
 }