I have this code part from a view
<td>
@if (item.ProductsRequest != null)
{
Html.TextBox("yes");
}
else
{
Html.TextBox("no");
}
</td>
But when I render it the string "yes" or "no" don't show up in the browser.
I want to write "yes" in the column if there is some information on the item.ProductsRequest.
Thank you for your help