Home All Groups Group Topic Archive Search About

Trigger an Insert on a FormView control

Author
17 Oct 2006 12:31 AM
namewitheldbyrequest
Hello,

Using a FormView control and I want to programmatically invoke the
Insert operation. Instead of the user clicking "Insert" I need to have
the web page load and automagically go into insert mode on the FormView
control. What method do I call?


Thanks,

Delmer

Author
17 Oct 2006 10:59 AM
Bill Nicholson
I answered my own question.

Me.fvVehicle.ChangeMode(FormViewMode.Insert)


namewitheldbyrequ***@gmail.com wrote:
Show quoteHide quote
> Hello,
>
>  Using a FormView control and I want to programmatically invoke the
> Insert operation. Instead of the user clicking "Insert" I need to have
> the web page load and automagically go into insert mode on the FormView
> control. What method do I call?
>
>
> Thanks,
>
> Delmer