Asp.net target=\u具有相同url的空白打开
我在我的页面中添加了超链接控件。当我输入“”时,它将在新窗口中打开(良好)并指向google 1。当我进入“www.google.com”时,它会在新窗口中打开,但Url是“”。为什么会这样?如何指向www.google.comAsp.net target=\u具有相同url的空白打开,asp.net,html,css,Asp.net,Html,Css,我在我的页面中添加了超链接控件。当我输入“”时,它将在新窗口中打开(良好)并指向google 1。当我进入“www.google.com”时,它会在新窗口中打开,但Url是“”。为什么会这样?如何指向www.google.com <a href= '<%# Eval("ConferenceUrl") %>' runat ="server" id="ConferenceUrl" target="_blank"> <%# Eval("ConferenceUrl")%
<a href= '<%# Eval("ConferenceUrl") %>' runat ="server" id="ConferenceUrl"
target="_blank"> <%# Eval("ConferenceUrl")%> </a>
我相信你需要http://
在url中,我相信。你需要http://
在url中,我相信。你必须在href的开头添加http://你必须在href的开头添加http://前缀。
需要http://
前缀。更改数据或将其添加到href
属性
<a href= 'http://<%# Eval("ConferenceUrl") %>' runat ="server" id="ConferenceUrl" target="_blank"> <%# Eval("ConferenceUrl")%> </a>
该
需要有http://
前缀。更改数据或将其添加到href
属性
<a href= 'http://<%# Eval("ConferenceUrl") %>' runat ="server" id="ConferenceUrl" target="_blank"> <%# Eval("ConferenceUrl")%> </a>