title: How to add hyperlink control items to a ASP.net ListBox control?
body: <p>I want to add multiple hyperlink control items to a asp.net listbox control. I have written below code but it is not generating required output.</p>
  
  <pre><code>lstBoxAttachments.Controls.Add(new HyperLink() { Text = someText, NavigateUrl = someURL });
  </code></pre>
  
  <p>Any help would be appreciated.</p>