Beispiel #1
0
 public virtual void init(System.Collections.Specialized.NameValueCollection Request, SearchContext context, SearchBinding binding, Hashtable values, DBManager db, System.EventHandler search)
 {
 }
        public override void init(System.Collections.Specialized.NameValueCollection Request, SearchContext context, SearchBinding binding, Hashtable values, DBManager db, System.EventHandler search)
        {
            string v = Request[field];

            if (v != null)
            {
                c.Value = v;
            }
        }
Beispiel #3
0
 public override void init(System.Collections.Specialized.NameValueCollection Request, SearchContext context, SearchBinding binding, Hashtable values, DBManager db, System.EventHandler search)
 {
     c.SelectedIndexChanged += search;
     if (vl != null)
     {
         string selectedValue = c.SelectedValue;
         if (selectedValue != null)
         {
             selectedValue = selectedValue.Trim();
         }
         //CultureInfo ci= System.Globalization.CultureInfo.CurrentUICulture;
         if (hasNotSelected)
         {
             WebFormUtils.loadValues(binding.DBConn, c, vl, this.filter, ci, selectedValue, notSelected);
         }
         else
         {
             WebFormUtils.loadValues(binding.DBConn, c, vl, this.filter, ci, selectedValue, null);
         }
     }
 }