0
Reply

Creating tags programatically

Mary  Parkhouse

Mary Parkhouse

Dec 10 2008 12:12 PM
2.8k

I have the following html:

<div id="hall" class="booths"> 
      <a id="booth1" href="exhibit_template.html" title="Access Electric" rel="facebox" class="occupied" onmouseover="Tip('Access Electric')" onmouseout="UnTip()" >1</a>
      <a id="booth2" href="exhibit_template.html" title="JM Sales" rel="facebox" class="occupied" onmouseover="Tip('JM Sales')" onmouseout="UnTip()" >2</a>

.

.

   <a id="booth521" href="exhibit_template.html" title="" rel="facebox" class="occupied" onmouseover="Tip('')" onmouseout="UnTip()">521</a>     

</div>

 

I need to build 500+ <a> tags in the div shown above programatically using vb.net.  I know how to write the code to build the string but I don't know how to insert it in the .aspx page in the correct place.

Any help would be welcome.

Thanks