G
Geek
Guys,
I am working on a project, and I thought using FormView will help good
but I am running into a issue. What I have done is that in Form View in
Footer template icluded a Link Button which is servind as an edit
command. When user click it should change the Formview to Edit mode.
But when I click first on it is changing the mode to edit, it is not
diplaying the Edit Item template, I have to click again in order to get
into Edit Item template. This is getting little frustrating for me. Can
any one tell me what is going on here. Thanks,
Protected Sub LinkButton_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
FrmView.ChangeMode(FormViewMode.Edit)
FrmView.DefaultMode = FormViewMode.Edit
end sub
I am working on a project, and I thought using FormView will help good
but I am running into a issue. What I have done is that in Form View in
Footer template icluded a Link Button which is servind as an edit
command. When user click it should change the Formview to Edit mode.
But when I click first on it is changing the mode to edit, it is not
diplaying the Edit Item template, I have to click again in order to get
into Edit Item template. This is getting little frustrating for me. Can
any one tell me what is going on here. Thanks,
Protected Sub LinkButton_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
FrmView.ChangeMode(FormViewMode.Edit)
FrmView.DefaultMode = FormViewMode.Edit
end sub