Protected Sub FormView10_ModeChanged(ByVal sender As Object, ByVal e As
System.EventArgs) Handles FormView10.ModeChanged
If IsPostBack Then
ModalPopupExtender1.Show()
Me.ModalPopupExtender1.X = 100
Me.ModalPopupExtender1.Y = 100
End If
End Sub
"john" <> wrote in message
news:...
> Button invoking FormView:
> It opens the FormView as expected, but when I Click New it Disappears
> during postback and remains Invisible. When I Click the Original Button
> again that invoked it, it Shows again in the "New" Mode (or Edit Mode if I
> Clicked that Choice).
>
> How do I get it to show itself automatically by code, if that is the
> answer?
>
> I've tried Me.FormView.Visible = True on the FormView DataBound Event but
> did not work
>
> Thanks
> John
>
|