I have html code in database. my model gets assign with correct data from database. but when displaying on page its not there.
my model:
public class myModel
{
public string id {get; set;}
public string data {get; set;}
}
my view :
<div id="tabs1">
<ul>
<li><a href="#tab1">firsttab</a></li>
</ul>
<div id="tabl">
<p><%= Model.data%></p>
</div>
</div>
Please note data is HTML data. and i am using JqueryUI widget TABS. here is data example:
<DIV><B>Edited by USER NAME on Tuesday, January 31, 2012 at 12:11 PM</B><BR> </DIV>
when i try to run this code on my local machine it works fine. but when i deploy to server this data is not rendering.
any thoughts? Thank you in advance.