public override void LoadRuntimeSettings()
        {
            var obj = (TextBoxParameterSettings)(Serialization.DeserializeObject(Settings.ParameterConfig, typeof(TextBoxParameterSettings)));

            txtParameter.Text = TokenReplacement.ReplaceTokens(obj.Default, null, null);
            if (obj.Rows > 1)
            {
                txtParameter.TextMode = System.Web.UI.WebControls.TextBoxMode.MultiLine;
                txtParameter.Columns  = obj.Columns;
                txtParameter.Rows     = obj.Rows;
            }
            //Dim requiredControl As String = String.Format("<asp:RequiredFieldValidator id=""{0}_Required"" runat=""server"" ControlToValidate=""{0}"" Display=""Dynamic"" ErrorMessage=""<br />{1} is required"" />", "txtParameter", Settings.ParameterName)
            //Controls.Add(ParseControl(requiredControl))
        }
 private string ReplaceOptionTokens(string s)
 {
     return(TokenReplacement.ReplaceTokens(s, null, null));
 }
 public override void LoadRuntimeSettings()
 {
     txtMobiscroll.Text = TokenReplacement.ReplaceTokens(MobiscrollSettings().Default, null, null);
 }
        public override void LoadRuntimeSettings()
        {
            var obj = (DefaultParameterSettings)(Serialization.DeserializeObject(Settings.ParameterConfig, typeof(DefaultParameterSettings)));

            txtParameter.Text = TokenReplacement.ReplaceTokens(obj.Default, null, null);
        }
 public override void LoadRuntimeSettings()
 {
     Values = new List <string>(new string[] { TokenReplacement.ReplaceTokens(CalendarSettings().Default, null, null) });
 }