<tr height="25px">
<td></td>
<td align="center"><%=buti1 %></td>
<td align="center"><%=buti2 %></td>
<td align="center"><%=buti3 %></td>
</tr>
<tr>
<td colspan="4" background="images/line.gif"></td>
</tr>
<tr>
<td height="25px" style="padding-left:10px;padding-top:10px;font-size:13px;color:#FF0000;font-weight:bold">☆-我来评价</td>
</tr>
<tr>
<td height="25px" style="padding-left:50px;color:#FF0000">
<asp:RadioButtonList ID="buti" runat="server" RepeatDirection="horizontal" >
<asp:ListItem Value="1" Selected="true">美誉度</asp:ListItem>
<asp:ListItem Value="2">知名度</asp:ListItem>
<asp:ListItem Value="3">专业度</asp:ListItem>
</asp:RadioButtonList>
</td>
<td>
<asp:Button ID="" runat="server" Text="确定提交" OnClick="Button1_Click" /></td>
</tr>加上按钮 Button1后<%=buti1 %>就不显示了.为什么问题啊.还有如何在CS中获得 RadioButtonList 值 .是在按钮的点击事件中.
<td></td>
<td align="center"><%=buti1 %></td>
<td align="center"><%=buti2 %></td>
<td align="center"><%=buti3 %></td>
</tr>
<tr>
<td colspan="4" background="images/line.gif"></td>
</tr>
<tr>
<td height="25px" style="padding-left:10px;padding-top:10px;font-size:13px;color:#FF0000;font-weight:bold">☆-我来评价</td>
</tr>
<tr>
<td height="25px" style="padding-left:50px;color:#FF0000">
<asp:RadioButtonList ID="buti" runat="server" RepeatDirection="horizontal" >
<asp:ListItem Value="1" Selected="true">美誉度</asp:ListItem>
<asp:ListItem Value="2">知名度</asp:ListItem>
<asp:ListItem Value="3">专业度</asp:ListItem>
</asp:RadioButtonList>
</td>
<td>
<asp:Button ID="" runat="server" Text="确定提交" OnClick="Button1_Click" /></td>
</tr>加上按钮 Button1后<%=buti1 %>就不显示了.为什么问题啊.还有如何在CS中获得 RadioButtonList 值 .是在按钮的点击事件中.
----------------
后台有没有public string buti1="aaaaaaaaaaaa";
不清楚楼主为什么要设置ID呢?RadioButtonList.selectvalue,
不能用ID吗