asp.net InnerHtml text with link

KaoSiTo

New Member
I am dynamically adding Html to a server-side DIV this way:\[code\]innerHtml = innerHtml + string.Format(@"<div><span>{0}</span><br/>{1}</div><br/>", dr["Date"], dr["State"]);\[/code\]That's fine, problem is that Title column has normal text mixed with link ( it is the twitter state field), but the links are not rendered as hyperlink but as normal text and the user cannot click the links.How do I address this problem?Thanks
 
Back
Top