Posted on: 2/11/2014 7:48:46 AM | Views : 605

Hi, I am dynamically regenerating a div, ul , li tag and also a link button inside it.
For Ex : Output should be:
<div id="test"> <ul> <li><a href="one.html">one</a></li> <li><a href="two.html">two</a></li> </ul> </div> From the below code: I am getting a output as:
<div id="test"> <ul> <li><a href="one.html">one</a> <a href="two.html">two</a></li> </ul> </div> Code :
Dim divT As HtmlGenericControl = New HtmlGenericControl("div") divT.Attributes.Add("id", "test") Dim ul As HtmlGenericControl = New HtmlGenericControl("ul") Dim li As HtmlGenericControl = New HtmlGenericControl("li") Dim link_btn As LinkButt ...

Go to the complete details ...