以下に示すように、2つのラジオボタンがあります。
<asp:RadioButton runat="server" GroupName="ebrochType" Text="Select Type 1" TextAlign="Right" ID="rbtSelect1" OnCheckedChanged="sel1" AutoPostBack="true" />
<asp:RadioButton runat="server" GroupName="ebrochType" Text="Select Type 2" TextAlign="Right" ID="rbtSelect2" OnCheckedChanged="sel2" AutoPostBack="true" />
これらのいずれかを選択すると、メニューバーなどのない新しいウィンドウでページを開く必要があります...
これはコードビハインドで可能ですか?
これを試しましたが、うまくいきませんでした (ページ/更新パネルを更新しただけです):
Sub sel1(sender As Object, e As EventArgs)
Page.ClientScript.RegisterStartupScript(Me.GetType(), "select1", "window.open('http://www.google.co.uk','','')", True)
End Sub