'Page Name is test.aspx
Untitled Page
Protected Sub gv_popup_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs)
If e.Row.RowType = DataControlRowType.DataRow Then
Dim update As Button = TryCast(e.Row.FindControl("popup"), Button)
update.Attributes.Add("onclick", "return mypopup('" & e.Row.Cells(0).Text & "');")
End If
End Sub
//ur_updatepage.aspx ..
Untitled Page
|