Problems with FormView in ASP.NET 3.5
-
Hello all, I have a formview (which is bind with the result of a LINQ Query) and I want to update the datasource by clicking the "edit button" which is an ImageButton. When I click on it the page reloads but nothing happens. I added the "frmOverzicht_ItemCommand" in the code behind but this is never entered. Can someone help me out on this issue ?? Here's the code : Within the i have the following line of code : In the code-behind file i have the following function : Protected Sub frmOverzicht_ItemCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.FormViewCommandEventArgs) Handles frmOverzicht.ItemCommand If e.CommandName = "Edit" Then msgbox("ok") End If End Sub Can someone help me ?
-
Hello all, I have a formview (which is bind with the result of a LINQ Query) and I want to update the datasource by clicking the "edit button" which is an ImageButton. When I click on it the page reloads but nothing happens. I added the "frmOverzicht_ItemCommand" in the code behind but this is never entered. Can someone help me out on this issue ?? Here's the code : Within the i have the following line of code : In the code-behind file i have the following function : Protected Sub frmOverzicht_ItemCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.FormViewCommandEventArgs) Handles frmOverzicht.ItemCommand If e.CommandName = "Edit" Then msgbox("ok") End If End Sub Can someone help me ?
add onclick="Overzicht_ItemCommand" to the
I didn't get any requirements for the signature