I have a formview with an iteminsert template. In the data source configuration I have set the insert method to point to a stored procedure that returns the scope_identity() value. The insert statement is automatically run when the user hits the insert button.
I need to retrieve this value from the item_inserted method.
Is this possible, or do I manually have to run the stored procedure in order to retrieve the return value.