目前我有一个GridView1
里面有一个字段我把他转成HyperLink
并且在.aspx里面指定了点击时要执行的function
<ItemTemplate>
<asp:HyperLink ID="HyperLink1" runat="server"
onclick='Modifyfunction()'
Text='<%# Eval("Number") %>'></asp:HyperLink>
</ItemTemplate>
而这个Modifyfunction()如下
function Modifyfunction()
{
popUpObj = window.open("Modify.aspx",
"ModalPopUp",
"toolbar=no," +
"scrollbars=yes," +
"location=yes," +
"statusbar=no," +
"menubar=no," +
"resizable=no," +
"width=750," +
"height=300," +
"left = 200," +
"top=300");
popUpObj.focus();
LoadModalDiv();
}
开启Modify.aspx,采用ModalPopUp显示
现在遇到的问题是
我在GridView上点击HyperLink的内容(Number),不知道怎么传递到Modify.aspx
我希望可以Modify.aspx.cs获取这个参数做一些事
开启的方式依然是用ModalPopUp
请问版上专业人士可否给一点建议呢?