Around Line 799, BuyProductDialog.asxc.cs
Code: Select all
foreach (OptionChoice choice in opt.Choices)
{
//Fix:Select default choice
if (!IsPostBack && _SelectedOptionChoices.Count == 0)
{
if (choice.Selected)
ddl.SelectedValue = choice.Id.ToString();
}
//End Fix
if (!string.IsNullOrEmpty(choice.ImageUrl))
{
imageScript.Append(" " + ddl.ClientID + "_Images[" + choice.Id.ToString() + "] = '" + this.Page.ResolveUrl(choice.ImageUrl) + "';\n");
}
}