[英]linkbutton open new page and pass value without using query string and session
I'm working the linkbutton in a nested masterpage and want to pass a value to a new page . 我正在嵌套母版页中使用linkbutton,并希望将值传递给新页。
What I want to do is once I click the link button. 我想要做的就是单击链接按钮后。 a new page will be open and keep the current page. 将会打开一个新页面并保留当前页面。 in the same time, i can pass a value to the new open page. 同时,我可以将值传递给新的打开页面。
how can I do without using Query String and session? 不使用查询字符串和会话怎么办?
Thanks 谢谢
如果您可以控制新页面的HTML,则可以包含一个隐藏的输入字段:
<input type="hidden" name="fieldname" value="your value">
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.