private JTClientField RenderField(SPField field) {
     JTClientField f = new JTClientField();
     f.Id = field.Id;
     TableRow tr = new TableRow();
     _td = new TableCell();
     _td.Controls.Add(new LiteralControl(field.Title));
     tr.Controls.Add(_td);
     _td = new TableCell();
     _td.Controls.Add(new LiteralControl(field.Description + "<br />"));
     switch (field.TypeAsString) {
         default:
             RenderFieldInner(field.TypeAsString, field);
             break;
     }
     tr.Controls.Add(_td);
     _tbl.Rows.Add(tr);
     return f;
 }
        private JTClientField RenderField(SPField field)
        {
            JTClientField f = new JTClientField();

            f.Id = field.Id;
            TableRow tr = new TableRow();

            _td = new TableCell();
            _td.Controls.Add(new LiteralControl(field.Title));
            tr.Controls.Add(_td);
            _td = new TableCell();
            _td.Controls.Add(new LiteralControl(field.Description + "<br />"));
            switch (field.TypeAsString)
            {
            default:
                RenderFieldInner(field.TypeAsString, field);
                break;
            }
            tr.Controls.Add(_td);
            _tbl.Rows.Add(tr);
            return(f);
        }