Hello this my first time using DotNetNuke website. i want to open a popup window of a page which will add or edit the data in the parent page depending on button click. this is the code i am using to open the window
<script type="text/javascript">
$(document).ready(function () {
$("#ancPopUp").click(function () {
dnnModal.show("//localhost:8590/Contats/add-contact?" + '?popUp=true', false, 550, 950, false);return false;});});
</script>
it is working fine for the add, but i don't know how to pass command arguments to the page when edit button is clicked. here is my edit button:
<asp:Button runat="server" Text="Edit" CommandName="Modify" OnCommand="Unnamed_Command1" CommandArgument='<%#DataBinder.Eval(Container,"RowIndex")+";"+Eval("code")+";"+Eval("name") %>'/>