Hi everyone ;
I have detailsview inside an usercontrol. I can update, and insert my objects. But when i bring this detailsview to jquery modal dialog(http://jqueryui.com/demos/dialog/) I cant update or insert my detailsview. It fire detailsview iteminserting or itemupdating but i cant take my textbox values.
My asp.net code is
<a id="showTerms" href="#">New User</a>
<script type="text/javascript">
$(document).ready(function () {
$('#showTerms').click(function () {
$('#terms').dialog({ modal: true });
});
});
</script>
<div id="terms" style="display: none">
<asp:DetailsView ID="dvOrderProduct" runat="server" Height="50px" Width="125px" AutoGenerateRows="False"
DataSourceID="objDSOrderProductService" OnItemUpdating="DvOrderProductUserItemUpdating"
DefaultMode="Edit" DataKeyNames="Id" OnItemInserting="DvOrd ...
Go to the complete details ...