开发者

<a href> inside mobile:SelectionList

开发者 https://www.devze.com 2023-02-17 13:11 出处:网络
I am trying to place <a href=\'somepage\'> inside the selection list like below but somehow its not rendering...

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

精彩评论

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