<a style="text-decoration:none; color:Blue; cursor:hand;"
onclick="window.open('Default2.aspx?type=','newwindow', 'height=400, width=600, toolbar =no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no');">设置</a>这是一个超级链接,我想通过这个超级链接打开一个页面并传递一个参数,这个参数的来源为<asp:RadioButtonList ID="RadioButtonList1" runat="server" 
RepeatDirection="Horizontal" AutoPostBack="True" 
onselectedindexchanged="RadioButtonList1_SelectedIndexChanged">
<asp:ListItem Value="1" Selected="True">A</asp:ListItem>
<asp:ListItem Value="2">B</asp:ListItem>
<asp:ListItem Value="3">C</asp:ListItem>
<asp:ListItem Value="4">D</asp:ListItem>
<asp:ListItem Value="5">E</asp:ListItem>
<asp:ListItem Value="6">F</asp:ListItem>
<asp:ListItem Value="7">G</asp:ListItem>
</asp:RadioButtonList>如何在红色区域中传值呢?

解决方案 »

  1.   

    也就是这里:'Default2.aspx?type='
      

  2.   

    查看一下 生成的html 代码,
    Radio 是一个数组,循环判断checked 就可以了
      

  3.   

    你不想用JS的话,那你就用后台代码咯!在cs里面写咯,this.RadioButtonList1.SelectedValue
      

  4.   

    你是一个window.open 并没有submit
    建议写一个js函数,取得radio的值,通过window.open传递
    否则新画面无法取得radio的值