I have a button dinammically created and I want it to open a popup when it is clicked.
The button is in a gridview.
That works fine but I need the OnRowCommand event of the grid to be fired too but it doesn't.
could you help me?
this is part of my code...
Protected Sub gvGridView_OnRowDataBound(ByVal sender As Object, ByVal e As GridViewRowEventArgs) Handles gvGrid.RowDataBound
If (e.Row.RowType = DataControlRowType.DataRow) Then
Dim btn As LinkButton = CType(e.Row.Cells(mintOpenWFPopupCell).Controls(0), LinkButton)
btn.CommandName = "PopUpWorkflow"
btn.OnClientClick = "window.open('" & "www.google.com" & "','','height=400px;width=300px'); return false;"
Protected Sub gvGridView_OnRo
View Complete Post