20250402 附件查看
This commit is contained in:
@@ -51,6 +51,19 @@ namespace FineUIPro.Web.AttachFile
|
||||
}
|
||||
}
|
||||
|
||||
public string AType
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["AType"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["AType"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
@@ -68,12 +81,21 @@ namespace FineUIPro.Web.AttachFile
|
||||
AttachPath = Request.QueryString["path"];
|
||||
ParamStr = sessionName + "|" + AttachPath;
|
||||
MenuId = Request.QueryString["menuId"];
|
||||
|
||||
string t = Request.QueryString["type"];
|
||||
if (t == "-1")
|
||||
try
|
||||
{
|
||||
this.Toolbar1.Hidden = true;
|
||||
this.Grid1.Columns[4].Hidden = true;
|
||||
AType = Request.QueryString["type"];
|
||||
if (!string.IsNullOrEmpty(AType))
|
||||
{
|
||||
if (AType == "view")
|
||||
{
|
||||
this.Toolbar1.Hidden = true;
|
||||
this.Grid1.Columns[4].Hidden = true;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
catch {
|
||||
|
||||
}
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user