从电子邮件链接预填充 Asp.net 表单
我正在寻找一种从电子邮件链接预填充 Asp.net 表单的方法。我尝试了几种方法,例如:
http://www.test.com/ContactUs.aspx?CustID=123
http://www.test.com/ContactUs.aspx?ctl00$ctl00$MainContent$MainContent$CustID=123
http://www.test.com/ContactUs.aspx?ctl00_ctl00_MainContent_MainContent_CustID=123
我们的供应商说这应该可行,但我没有运气。如果有人可以告诉我这可能有什么问题或者是否有其他解决方案。这用于电子邮件活动,以便接收电子邮件的用户不必填写链接导航到的表单。
贾马尔
I'm look for a way to pre-populate Asp.net form from E-mail Link. I tried several method such as:
http://www.test.com/ContactUs.aspx?CustID=123
http://www.test.com/ContactUs.aspx?ctl00$ctl00$MainContent$MainContent$CustID=123
http://www.test.com/ContactUs.aspx?ctl00_ctl00_MainContent_MainContent_CustID=123
Our vendor is saying this should work but I'm having no luck with it. If someone can tell me what might be wrong with this or if there is another solution. This is being used for an e-mail campaign so that the user receiving the e-mail does not have to fill the form link is navigating to.
Jamal
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要添加服务器端代码来填充查询字符串中的字段。
You need to add server-side code to populate the fields from the querystring.