脚本的问题
string scriptString="<SCRIPT LANGUAGE = 'JavaScript'>var rtnValue = showModalDialog('browseListing.aspx','dialogwin','center:yes;help:no;status:no;scroll:no');if(rtnValue.length=1){location.href='../../index.htm';alert('选购单号:'+rtnValue[0]+' ,请记住')};</Script>";
this.RegisterStartupScript("onClick", scriptString);
我第一次打开时,是'browseListing.aspx'页面的数据是正确的,但我更新了主页面的数据后,再打开时,还是原来的那些数据,那是为什么呢?为什么第一次再是正确的,更新以后就不显示了,我跟踪了一下,好像只有第一次调用邦定函数啊
现在 是否还要设置什么呢?