I know the solution must be simple.
I want to add list item programmatically with html tags inside the li
string x = "xxxx <br/> yyyy"
BulletedList.items.add(x)
I want to see
- xxx
yyy
and not
- xxx <br/> yyy
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To have greater flexibility over the HTML rendered on each list element, consider using a
Repeateror aListViewinstead. They require a little more HTML to set up your<ul>and<li>tags, but will give you arbitrary flexibility over the contents of the<li>.