Click here to Skip to main content
16,012,468 members

Comments by sayli1995 (Top 11 by date)

sayli1995 6-Jun-19 6:00am View    
sir, i cant get any sutebel solution, trying from last 4 days
sayli1995 24-Mar-19 23:44pm View    
Thanks sir , now it's my Starting of programming this is my collage project ,
sayli1995 23-Mar-19 23:46pm View    
thanks sir
sayli1995 22-Mar-19 2:28am View    
Thanks sir ,
i appreciate your comments , i am a student and i am learning with this
this a perches system and its include 37 views with data transaction ,
but thanks your valuable instructions i will be follow this in my next project
sayli1995 11-Mar-19 5:02am View    
hi , Bryian Tan sir ,
thanking you about your valuable support ,

function PopupForm(Url) {
var formDiv = $('');
alert(Url)


$.get(Url)
.done(function (response) {
formDiv.html(response);

popup = formDiv.dialog({
autoOpen: true,
resizable: false,
title: 'EDIT INVOICE REORD',
height: 500,
width: 600,
close: function () {
popup.dialog('distroy').remove();
}
});
});
}

after the button click he comes and shoot a massage alert i.e url ,but he did not open popupform

this is in controller
[HttpGet]
public ActionResult EditInv()
{

return View();
}

[HttpPost]
public ActionResult EditInv(int id)
{

return View();
}

and this is a new popup form view

@model WorkingPlace.Models.PerchesDetail

@{
Layout = null;

}
width:50%;height:50%;border:double">*@
@using (Html.BeginForm("EditInv", "Perchus", FormMethod.Post, new { @class = "form-horizontal" }))
{

@Html.LabelFor(Model => Model.Srno, new { @class = "Control-label" })
@Html.EditorFor(Model => Model.Srno, new { htmlAttributes = new { @class = "Form-control" } })


}


i cant understand what i mistaken here after trying a 3 hours works on this one ,

sneha