弹出一个页面,页面上有iframe,上面是一堆文本框,下面是一个GridView,
中间是这个:
同页面上有一个文本框,文本框的ID是txtNo 我现在想将同页面上的这个文本框中的值传到
iframe src="../Gantt/CarLifeGantt.aspx?workno=(txtNo.text) 这个位置,求教高手应该如何设置,才能将值传进去!<iframe src="../Gantt/CarLifeGantt.aspx?workno=<%=WorkNo%>" marginheight="0" marginwidth="0" runat="server"
vspace="0" style="width: 96%; height: 100%;">
</iframe>
中间是这个:
同页面上有一个文本框,文本框的ID是txtNo 我现在想将同页面上的这个文本框中的值传到
iframe src="../Gantt/CarLifeGantt.aspx?workno=(txtNo.text) 这个位置,求教高手应该如何设置,才能将值传进去!<iframe src="../Gantt/CarLifeGantt.aspx?workno=<%=WorkNo%>" marginheight="0" marginwidth="0" runat="server"
vspace="0" style="width: 96%; height: 100%;">
</iframe>
然后将变量放进去?
放在<iframe />后面
<%=WorkNo%>改成<%=txtNo.Text.ToString()%>
<%=txtNo.Text.ToString()%>
不是从后台取值吗?
还是我理解的有错误?