UpdatePanel换行问题 for (int i = 0; i < 3; i++) { RadioButton rbone = new RadioButton(); rbone.Text = i.ToString() + ".nishisheia"; this.UpdatePanel1.ContentTemplateContainer.Controls.Add(rbone); }实际效果,3个radiobutton在一行,怎么让他们显示为3行呢? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Refer this:http://www.cnblogs.com/insus/archive/2011/05/05/2037385.html for (int i = 0; i < 3; i++) { RadioButton rbone = new RadioButton(); rbone.Text = i.ToString() + ".nishisheia"; this.UpdatePanel1.ContentTemplateContainer.Controls.Add(rbone); Label lb = new Label(); lb.Text = "<br//>"; this.UpdatePanel1.ContentTemplateContainer.Controls.Add(lb); }想了一下,不过总感觉不是很好..但能实现效果...不知道能不能帮助你. C#调用cmd错误,有答案立刻结贴给分 引用不同版本控件问题 JavaScript错误求助 了解编码问题的高手进来!!! ##--谁介绍几个界面做得好看的网上商城的URL--## 一段js代码,希望大家帮忙解释一下 讨教学习asp.net方法,我是初学者 一起来看看,为什么。。。。会出错(散分一起来接吧) 请教这句updata语句该如何改(vb) [DataGrid] 一个DropDownlist里放不同的内容,如何实现? asp.net 遇到sql使用in 怎样处理?? 遇到一个奇怪的问题,求解惑!
http://www.cnblogs.com/insus/archive/2011/05/05/2037385.html
{
RadioButton rbone = new RadioButton();
rbone.Text = i.ToString() + ".nishisheia";
this.UpdatePanel1.ContentTemplateContainer.Controls.Add(rbone);
Label lb = new Label();
lb.Text = "<br//>";
this.UpdatePanel1.ContentTemplateContainer.Controls.Add(lb);
}
想了一下,不过总感觉不是很好..但能实现效果...不知道能不能帮助你.