<script language="javascript" type="text/javascript">
function refattachment(sguid)
{
alert(sguid);
}
</script>
后台在一个按钮的事件中
protected void btnAtt_Click(object sender, EventArgs e)
{
//1、处理一些事情,得到一个结构sguid
//2、调用refattachment
//不知道如何调用
}
解决方案 »
- IE8 不认识输出流?!context.Response.OutputStream??
- 关于TreeView节点排序问题?
- web.config里的全部元素都显示未找到架构信息,是什么意思?
- DataGrid动态加载、绑定模板列
- vs2003安装失败,xp下要具备哪些条件,才能装vs2003?
- 安装report services2000是不是一定要先安装vs2003
- 想写一个调用存储过程的通用程序,我想使用哈西表实现传入存储过程名参数以及对应的值?我该如何做啊??
- 如何在写excel文件时动态添加一行?
- 帮我看看下面的代码那里错了(生成邮件的代码),谢谢大家,一定给分!
- 关于form的Action属性的问题
- asp.net 读取 dbf 文件 报错:not a table
- 怎么动态实现DropDownList特殊效果
ScriptManager.RegisterStartupScript(this, this.GetType(), "click", "refattachment;", true); Page.RegisterStartupScript(this, this.GetType(), "click", "refattachment;", true);也可以
ScriptManager.RegisterStartupScript(this, this.GetType(), "click", "refattachment('" + sguid + "');", true);
Page.RegisterStartupScript("", "<script language='javaScript'>refattachment('" + sguid + "');</script>");//也可以