Posted on: 2/27/2014 6:43:34 PM | Views : 590

Hi,

Im creating controls dynamically as below:
private void Operation_BeginTreatment() { HtmlTable table_treatment = new HtmlTable(); table_treatment.Attributes.Add("width", "100%"); readerFacade reader = ControladorFormularioanswerSimulador.ObteranswersPendencia_readerFacade(this.IdFormulario); while (reader.ReadLine()) { HtmlTableRow row = new HtmlTableRow(); // question HtmlTableCell left_column = new HtmlTableCell(); left_column.Attributes.Add("width", "30%"); Label labelQuestion = new Label(); labelQuestion.ID = "lblquestion_" + Guid.NewGuid().ToString(); labelQuestion.Text = reader.GetValor("question").ToString(); left_column.Controls.Add(labelQuestion); ...

Go to the complete details ...