J
Julio César
Hi all!!
I'm using a FormView in cojunction with an ObjectDataSource.
Everything works as expected except for the fact that I'm losing formview
values in postbacks because of a user's wrong input...I don't want the final
user to retype eveything within the form....
<asp:FormView ID="fvwEsten" runat="server" DataKeyNames="IdRangoEsten"
DataSourceID="odsEsten" DefaultMode="Insert">
......
</asp:FormView>
<asp:ObjectDataSource ID="odsEsten" runat="server"
SelectMethod="ObtenRangoEsten" UpdateMethod="EditaRangoEsten"
DeleteMethod="EliminaRangoEsten" InsertMethod="InsertaRangoEsten"
TypeName="UVM.SAPS.BI.RangoEsten" OnSelecting="odsEsten_Selecting"
OnUpdating="odsEsten_Updating" OnDeleted="odsEsten_Deleted"
OnDeleting="odsEsten_Deleting" OnInserted="odsEsten_Inserted"
OnInserting="odsEsten_Inserting"
OnObjectCreating="odsEsten_ObjectCreating"
OnUpdated="odsEsten_Updated">
</asp:ObjectDataSource>
Any thoughts???
Thanks in advance.
I'm using a FormView in cojunction with an ObjectDataSource.
Everything works as expected except for the fact that I'm losing formview
values in postbacks because of a user's wrong input...I don't want the final
user to retype eveything within the form....
<asp:FormView ID="fvwEsten" runat="server" DataKeyNames="IdRangoEsten"
DataSourceID="odsEsten" DefaultMode="Insert">
......
</asp:FormView>
<asp:ObjectDataSource ID="odsEsten" runat="server"
SelectMethod="ObtenRangoEsten" UpdateMethod="EditaRangoEsten"
DeleteMethod="EliminaRangoEsten" InsertMethod="InsertaRangoEsten"
TypeName="UVM.SAPS.BI.RangoEsten" OnSelecting="odsEsten_Selecting"
OnUpdating="odsEsten_Updating" OnDeleted="odsEsten_Deleted"
OnDeleting="odsEsten_Deleting" OnInserted="odsEsten_Inserted"
OnInserting="odsEsten_Inserting"
OnObjectCreating="odsEsten_ObjectCreating"
OnUpdated="odsEsten_Updated">
</asp:ObjectDataSource>
Any thoughts???
Thanks in advance.