//int i = 0;
        private void table2_NeedDataSource(object sender, EventArgs e)
        {
            //strUW = objLetter[num++].UWCode;
            Telerik.Reporting.Processing.Table tb = (Telerik.Reporting.Processing.Table)sender;

            tb.DataSource = objLetter[num++].lstInpatientClaims;
        }
Ejemplo n.º 2
0
        private void table2_NeedDataSource(object sender, EventArgs e)
        {
            Telerik.Reporting.Processing.Table tb = (Telerik.Reporting.Processing.Table)sender;
            //strUW = "";

            //DataSet dataTable1 = objEBInPatient.GetEBInsurerInpatientLetterList(strUW);
            tb.DataSource = objLetter[num++].lstLetterBodyContents;
        }
        //int i = 0;
        private void table2_NeedDataSource(object sender, EventArgs e)
        {
            //strUW = objLetter[num++].UWCode;

            Telerik.Reporting.Processing.Table tb = (Telerik.Reporting.Processing.Table)sender;
            //strUW = "";

            //DataSet dataTable1 = objEBInPatient.GetEBInsurerInpatientLetterList(strUW);
            tb.DataSource = objLetter[num++].lstInpatientClaims;
            //tb.DataSource = dataTable1;
            //report1.DataSource =
        }
Ejemplo n.º 4
0
        private void table1_ItemDataBound(object sender, EventArgs e)
        {
            Telerik.Reporting.Processing.Table      table = (Telerik.Reporting.Processing.Table)sender;
            Telerik.Reporting.Processing.ITableCell cell  = null;
            foreach (Telerik.Reporting.Processing.TableRow row in table.Rows)
            {
                for (int colIndex = 0; colIndex < table.Columns.Count; colIndex++)
                {
                    cell = null;
                    cell = row.GetCell(colIndex);
                    if (cell.RowIndex == row.Index)
                    {
                        Telerik.Reporting.Processing.ReportItem item = cell.Item;

                        // Here you can do something with the report item
                        if (((Telerik.Reporting.Processing.TextBox)(item)).Text == "Quotation No." || ((Telerik.Reporting.Processing.TextBox)(item)).Text == "Address")
                        {
                            //colIndex = colIndex + 1; // second column
                            //cell = row.GetCell(colIndex);
                            ////cell.Item.Width = cell.Item.Width.Add(Telerik.Reporting.Drawing.Unit.Inch(1.2673234939575195D));
                            ////cell.Item.Size = new SizeU() { Width = Telerik.Reporting.Drawing.Unit.Inch(3.2673234939575195D) };

                            //Telerik.Reporting.HtmlTextBox textBoxTable = new Telerik.Reporting.HtmlTextBox();
                            //textBoxTable.Value = ((Telerik.Reporting.Processing.TextBox)(cell.Item)).Text; //"=Fields." + dt2.Columns[i].ColumnName;
                            //textBoxTable.Size = new SizeU(Unit.Inch(4.2), cell.Item.Height);
                            //table1.Body.SetCellContent(row.Index, colIndex, textBoxTable, 1, 2);

                            //colIndex = colIndex + 1; // third column
                            //cell = row.GetCell(colIndex);
                            //cell.Item.Visible = false;
                        }
                    }
                    else
                    {
                        // Do nothing. This is part of a merged table cell.
                    }
                }
            }
        }
 private void table2_NeedDataSource(object sender, EventArgs e)
 {
     Telerik.Reporting.Processing.Table destinationTable = (Telerik.Reporting.Processing.Table)sender;
     destinationTable.DataSource = objCNLetter[totCounter++].lstSlipFields;
 }
Ejemplo n.º 6
0
 private void table2_NeedDataSource(object sender, EventArgs e)
 {
     Telerik.Reporting.Processing.Table tb = (Telerik.Reporting.Processing.Table)sender;
     tb.DataSource = objLetter[num++].lstLetterBodyContents;
 }