Hello Community,
I want to make an online survey with Web-Forms and I have a problem: I add the Radiobuttonlist (and items) manually in the C# part (this depends on my project). I would find it better when the space depends on the lenght of the stream AND the Radiobutton should be on the same height / line like the answer, which belongs to it. But there is so much space and I don't know how to fix it. I add a picture and here's my code:
rl = new RadioButtonList(); rl.TextAlign = TextAlign.Left; rl.RepeatDirection = RepeatDirection.Vertical; rl.RepeatColumns = 3; rl.RepeatLayout = RepeatLayout.Table; ListItem li = new ListItem(); li.Text = str; rl.Items.Add(li); this.Controls.Add(rl);
http://www.bilder-hochladen.net/files/kun2-1-c4ca.png