SGGL_SHJ/SGGL/FineUIPro.Mobile/AttachFile/Look.aspx.cs

34 lines
1.0 KiB
C#

using BLL;
using System;
namespace FineUIPro.Mobile.AttachFile
{
public partial class Look : PageBaseMobile
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
var url = Request.Params["fileUrl"];
var newurl = Funs.SGGLUrl + url.Replace(Funs.RootPath, "");
this.LookHtml.Src = newurl;
//StreamReader fread = new StreamReader(url, System.Text.Encoding.GetEncoding("gb2312"));
//string ss = fread.ReadToEnd();
//Response.Write(ss);
//fread.Close();
//fread.Dispose();
// Response.Redirect(url);
//Process process = new Process();
//process.StartInfo.UseShellExecute = true;
//process.StartInfo.FileName = url;
//process.Start();
}
}
}
}