Example #1
0
 public void execute(String DDOName,
                     String SearchTxt,
                     String SearchTxtTo,
                     out String OptionsJson,
                     out String OptionsDescJson,
                     out String OptionIndexesJson)
 {
     OptionsJson       = "";
     OptionsDescJson   = "";
     OptionIndexesJson = "";
     try
     {
         if (!ProcessHeaders("webpanel4getfilterdata"))
         {
             return;
         }
         webpanel4getfilterdata worker = new webpanel4getfilterdata(context);
         worker.IsMain = RunAsMain;
         worker.execute(DDOName, SearchTxt, SearchTxtTo, out OptionsJson, out OptionsDescJson, out OptionIndexesJson);
         worker.cleanup( );
     }
     catch (Exception e)
     {
         WebException(e);
     }
     finally
     {
         Cleanup();
     }
 }
Example #2
0
        public void executeSubmit(String aP0_DDOName,
                                  String aP1_SearchTxt,
                                  String aP2_SearchTxtTo,
                                  out String aP3_OptionsJson,
                                  out String aP4_OptionsDescJson,
                                  out String aP5_OptionIndexesJson)
        {
            webpanel4getfilterdata objwebpanel4getfilterdata;

            objwebpanel4getfilterdata                       = new webpanel4getfilterdata();
            objwebpanel4getfilterdata.AV35DDOName           = aP0_DDOName;
            objwebpanel4getfilterdata.AV33SearchTxt         = aP1_SearchTxt;
            objwebpanel4getfilterdata.AV34SearchTxtTo       = aP2_SearchTxtTo;
            objwebpanel4getfilterdata.AV39OptionsJson       = "";
            objwebpanel4getfilterdata.AV42OptionsDescJson   = "";
            objwebpanel4getfilterdata.AV44OptionIndexesJson = "";
            objwebpanel4getfilterdata.context.SetSubmitInitialConfig(context);
            objwebpanel4getfilterdata.initialize();
            ThreadPool.QueueUserWorkItem(PropagateCulture(new WaitCallback(executePrivateCatch)), objwebpanel4getfilterdata);
            aP3_OptionsJson       = this.AV39OptionsJson;
            aP4_OptionsDescJson   = this.AV42OptionsDescJson;
            aP5_OptionIndexesJson = this.AV44OptionIndexesJson;
        }