HyperLink with NavigateUrl with Eval(). Where is the mistake?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: First I was changing HyperLink.NavigateUrl in code-behind on Page_Load() . But after I decided to do it in design using Eval() method. or where id and type - are variables from Request . But it doesn't work. Only raw text 'Refuse' is shown. Where is my mistake? Thanks in advance. 回答1: this is working great NavigateUrl='' 回答2: This worked for me NavigateUrl='' 回答3: Try and ViewSource in your browser, what's being rendered to the client in your href? Is it what you expected?. If you are trying to use variables from the request collection you