private void RegisterTextBoxes(Dictionary <string, List <object> > textBoxValues, PageContext pageContext)
 {
     if (textBoxValues != null && !pageContext.Common.InSubReport)
     {
         foreach (string key in textBoxValues.Keys)
         {
             List <object> list = textBoxValues[key];
             foreach (object item in list)
             {
                 pageContext.AddTextBox(key, item);
             }
         }
     }
 }
Exemplo n.º 2
0
 public override void RegisterTextBoxes(RPLWriter rplWriter, PageContext pageContext)
 {
     if (rplWriter != null && this.m_textBoxValues != null && !pageContext.Common.InSubReport)
     {
         if (rplWriter.DelayedTBLevels == 0)
         {
             foreach (string key in this.m_textBoxValues.Keys)
             {
                 List <object> list = this.m_textBoxValues[key];
                 foreach (object item in list)
                 {
                     pageContext.AddTextBox(key, item);
                 }
             }
         }
         else
         {
             rplWriter.AddTextBoxes(this.m_textBoxValues);
         }
     }
 }