D
David Thielen
Hi;
I have the following code:
if (!IsPostBack)
{
if (MyPerson.Id == DbUtils.NULL_PK)
formRegister.ChangeMode(FormViewMode.Insert);
else
formRegister.ChangeMode(FormViewMode.Edit);
}
For Insert it wors fine. For Edit it shows nothing in the FormView and the
OnDataBound method is never called. I have a
<EditItemTemplate>...</EditItemTemplate> block of html
Any ideas?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
I have the following code:
if (!IsPostBack)
{
if (MyPerson.Id == DbUtils.NULL_PK)
formRegister.ChangeMode(FormViewMode.Insert);
else
formRegister.ChangeMode(FormViewMode.Edit);
}
For Insert it wors fine. For Edit it shows nothing in the FormView and the
OnDataBound method is never called. I have a
<EditItemTemplate>...</EditItemTemplate> block of html
Any ideas?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm