开发者

<a href> inside mobile:SelectionList

I am trying to place <a href='somepage'> inside the selection list like below but somehow its not rendering...

<Mobile:SelectionList runat="server" id="cars" SelectType开发者_StackOverflow社区="CheckBox" > 
   <Item Text="I agree to <a href='test'>test terms &amp; condition</a>" value="Value" Selected="False" />
 </Mobile:SelectionList> 

here is the out i get:

[CHECKBOX] I agree to <a href='test'>test terms & condition</a>


<Mobile:SelectionList runat="server" id="cars" SelectType="CheckBox" > 
   <Item Text="I agree to &lt;a href='test'&gt; test terms &amp; condition&lt;/a&gt;" value="Value" Selected="False" />
 </Mobile:SelectionList> 


WOW mobile controls!! You should know it is a deprecated technology. I think you can not use controls inside of selectionlist. But you can use better a repeater control.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜