动态单选按钮有问题 [英] Problem with dynamic radio button

查看:76
本文介绍了动态单选按钮有问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好朋友,
我在运行时创建单选按钮,在Internet Explorer中运行正常,但是使用firefox很难选择单选按钮.

我正在使用ASP.NET c#,版本2.0
这是iam使用的代码,

RadioButton rd = new RadioButton();
rd.ID ="id" + i.ToString();
rd.Text = ans [ i];
rd.GroupName ="dynrd";

将所需的RB这样绑定到Panel,

Panel1.Controls.Add(rd);

如何解决....我可以选择单选按钮,但是很难选择.

Hi freinds,
Iam creating radio buttons at runtime it is working fine in internet explorer but with firefox it is very difficult to select radio button.

I am using ASP.NET c#,version 2.0
this is the code iam using,

RadioButton rd = new RadioButton();
rd.ID = "id" + i.ToString();
rd.Text = ans[i];
rd.GroupName = "dynrd";

And binding needed RB to Panel like this,

Panel1.Controls.Add(rd);

How to solve it....I can select radio button but it is very difficult to select.

于2008年12月22日星期一8:43修改
modified on Monday, December 22, 2008 8:43 AM

推荐答案

做什么? 难以选择"是什么意思?听起来您的Firefox绘制的单选按钮不好.您必须更好地解释自己.如果按钮太小,请尝试使用CSS使其变大?

what does ''difficult to select'' mean ? It sounds like your firefox is not drawing the radio buttons well. You have to explain yourself better. If the buttons are too small, try using CSS to make them bigger perhaps ?


这篇关于动态单选按钮有问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆