I have a datagrid button column where I take care of its event by using the ItemCommand event. When the event triggers I want to open a new webpage and send along some parameters, like:
VB Code:
Private Sub OnDataGridCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles dgPlanned.ItemCommand, results2.ItemCommand If e.CommandName.ToString = "Info" Then Response.Redirect("Info.aspx?ID=" & e.Item.Cells(0).Text) End If End Sub
How can I modify this code so I can open a small window as a new?
kind regards
Henrik


Reply With Quote