protected void OnOptionNameChange(Message message)
        {
            string optionId = message.Arguments["id"];

            Edit lastFilledEdit = Parameters.FindControl(LastFilledId) as Edit;

            if (lastFilledEdit != null)
            {
                if (optionId == LastFilledId && !string.IsNullOrEmpty(lastFilledEdit.Value))
                {
                    LastFilledId = LastId;
                    LastId       = AddPollOptionEditControl();
                }
            }
            Edit optionName = GetEditControlByID(optionId);

            if (!Results.Contains(optionId))
            {
                Results.Add(optionId, optionName.Value);
            }
            else
            {
                Results[optionId] = optionName.Value;
            }
            SheerResponse.SetReturnValue(true);
        }
        /// <summary>
        /// Adds the poll option edit control.
        /// </summary>
        /// <returns></returns>
        private string AddPollOptionEditControl()
        {
            var control = new Edit
            {
                ID     = Control.GetUniqueID("L"),
                Width  = Unit.Percentage(100),
                Margin = "8px 0 0 0"
            };

            Context.ClientPage.AddControl(Parameters, control);
            control.Change = string.Format("polloption:namechange(id={0})", control.ID);
            SheerResponse.Insert(Parameters.ID, "beforeEnd", control);
            return(control.ID);
        }