Losing FormView Postbackvalues...

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top