I am using a datadrid with a buttonColumn. I know that you can open a new window using javascript and link from within the html code. But can you open a new window by clicking on the buttonColumn from within the datagrid? The datagrid code is:
<asp:datagrid id="Master" runat="server" Font-Name="Verdana" Font-Size="8pt" HeaderStyle-BackColor="#aaaadd" SelectedItemStyle-BackColor="yellow" OnItemCommand="Master_cmdShowDetails" BorderColor="Black"
BorderWidth="1px" CellPadding="3" Font-Names="Verdana">
<HeaderStyle BackColor="#AAAADD"></HeaderStyle>
<SelectedItemStyle BackColor="Yellow"></SelectedItemStyle>
<Columns>
<asp:ButtonColumn Text="Show Details" HeaderText="Details" CommandName="cmdShowDetails"></asp:ButtonColumn>
</Columns>
</asp:datagrid>
<asp:datagrid id="Master" runat="server" Font-Name="Verdana" Font-Size="8pt" HeaderStyle-BackColor="#aaaadd" SelectedItemStyle-BackColor="yellow" OnItemCommand="Master_cmdShowDetails" BorderColor="Black"
BorderWidth="1px" CellPadding="3" Font-Names="Verdana">
<HeaderStyle BackColor="#AAAADD"></HeaderStyle>
<SelectedItemStyle BackColor="Yellow"></SelectedItemStyle>
<Columns>
<asp:ButtonColumn Text="Show Details" HeaderText="Details" CommandName="cmdShowDetails"></asp:ButtonColumn>
</Columns>
</asp:datagrid>