Figured this out and posting my solution in case others encounter it. For some reason, I couldn't use the SelectedItem property with my original dropdown list. I created a new dropdown list and used my crm optionset as the datasource and that worked. This was the code I have behind to map the value on the form to the option set in CRM. contact.Attributes.Add("new_optionset", new OptionSetValue(int.Parse(DropDownList1.SelectedItem.Value)));
↧