/// <summary>
/// 要加载的客户端脚本内容
/// </summary>
[Description("客户端脚本"), DefaultValue("")]
public string ScriptContent
{
get
{
object obj = ViewState["ScriptContent"];
return obj == null ? "" : (string)obj;
}
set
{
ViewState["ScriptContent"] = value;
}
}
赋/// 要加载的客户端脚本内容
/// </summary>
[Description("客户端脚本"), DefaultValue("")]
public string ScriptContent
{
get
{
object obj = ViewState["ScriptContent"];
return obj == null ? "" : (string)obj;
}
set
{
ViewState["ScriptContent"] = value;
}
}
[WebSysDescription("Button_OnClientClick"), WebCategory("Behavior"), DefaultValue(""), Themeable(false)]
public virtual string OnClientClick
{
get
{
string str = (string) this.ViewState["OnClientClick"];
if (str == null)
{
return string.Empty;
}
return str;
}
set
{
this.ViewState["OnClientClick"] = value;
}
}
此文标记.
public virtual string OnClientClick
{
get
{
string str = (string) this.ViewState["OnClientClick"];
if (str == null)
{
return string.Empty;
}
return str;
}
set
{
this.ViewState["OnClientClick"] = value;
}
}