A.S.Roma
یک شنبه 13 تیر 1389, 10:40 صبح
با سلام ... .
من دیتای ذخیره شده در DB را به شکل کد HTML است را با استفاده از Literal که درون Listview است می خواهم نمایش دهم اما متاسفانه درست کار نمی کند و به جای اینکه خروجی html بدهد خروجی text می دهد .
یک نمونه خروجی اشتباه :
<p> <strong>This Is A Test !</strong></p> <p> <strong>This Is A Test !</strong></p> <p> <strong>This Is A Test !</strong></p> <p> <strong>This Is A Test !</strong></p>
اما وقتی Literal را با همین Text خارج از Listview می گذارم خروجی صحیح می دهد !
با هر سه مد هم متحان کردم نشد !
من دیتای ذخیره شده در DB را به شکل کد HTML است را با استفاده از Literal که درون Listview است می خواهم نمایش دهم اما متاسفانه درست کار نمی کند و به جای اینکه خروجی html بدهد خروجی text می دهد .
یک نمونه خروجی اشتباه :
<p> <strong>This Is A Test !</strong></p> <p> <strong>This Is A Test !</strong></p> <p> <strong>This Is A Test !</strong></p> <p> <strong>This Is A Test !</strong></p>
اما وقتی Literal را با همین Text خارج از Listview می گذارم خروجی صحیح می دهد !
با هر سه مد هم متحان کردم نشد !