private void RenderSingleItem(StringBuilder sb, Option o, bool isAlternate)
        {

            string destinationLink = "ProductSharedChoices_Edit.aspx?id=" + o.Bvin;

            sb.Append("<tr id=\"" + o.Bvin + "\"");
            if ((isAlternate))
            {
                sb.Append(" class=\"alternaterow-padded\"");
            }
            else
            {
                sb.Append(" class=\"row-padded\"");
            }
            sb.Append("><td><a href=\"" + destinationLink + "\">");
            sb.Append(o.Name);
            sb.Append("</a></td>");
            sb.Append("<td>");
            sb.Append(o.Render());
            sb.Append("</td>");
            sb.Append("<td>");
            sb.Append("<a id=\"rem" + o.Bvin + "\" class=\"trash\" href=\"ProductSharedChoices_Delete.aspx?redirect=y&id=");
            sb.Append(o.Bvin);
            sb.Append("\" >");
            sb.Append("<img src=\"../images/buttons/delete.png\" alt=\"delete\" />");
            sb.Append("</a></td>");
            sb.Append("<td><a href=\"" + destinationLink + "\">");
            sb.Append("<img src=\"../images/buttons/edit.png\" alt=\"Edit\" />");
            sb.Append("</a></td>");
            sb.Append("</tr>");
        }
        private void RenderSingleItem(StringBuilder sb, Option o)
        {

            string destinationLink = "ProductChoices_Edit.aspx?cid=" + o.Bvin + "&id=" + productBvin;

            sb.Append("<div class=\"dragitem\" id=\"item_" + o.Bvin + "\"><table class=\"formtable\" width=\"100%\"><tr>");
            sb.Append("<td width=\"25%\"><a href=\"" + destinationLink + "\">");
            sb.Append(o.Name);
            sb.Append("</a></td>");
            sb.Append("<td>");
            sb.Append(o.Render());
            sb.Append("</td>");

            sb.Append("<td width=\"75\">");
            if ((o.IsVariant))
            {
                sb.Append("VARIANT");
            }
            sb.Append("</td>");

            if ((o.IsShared))
            {
                sb.Append("<td width=\"75\">SHARED</td>");
            }
            else
            {
                sb.Append("<td width=\"75\"><a href=\"" + destinationLink + "\"><img src=\"../images/buttons/edit.png\" alt=\"edit\" /></a></td>");
            }

            sb.Append("<td width=\"30\"><a href=\"#\" class=\"trash\" id=\"rem" + o.Bvin + "\"");
            if ((o.IsVariant))
            {
                sb.Append("  title=\"variant\" ");
            }
            sb.Append("><img src=\"../../images/system/trashcan.png\" alt=\"Delete\" /></a></td>");
            sb.Append("<td width=\"30\"><a href=\"#\" class=\"handle\"><img src=\"../../images/system/draghandle.png\" alt=\"Move\" /></a></td>");

            sb.Append("</tr></table></div>");
        }