onSelectRow: function (id) {
if (id) {
'Url.Awe().PopupFormAction().Url(Url.Action("ErrorInfo", "PatientManagement", new { ' + id + ' })).Success("edit").Title("Error Info")';
}
}
I'm using this code in JavaScript file to open awesome MVC pop-up,but it's not working,any help appreciated
/*"onSelectRow: function (id) { awe.pf(this.event, { u: '/PatientManagement/ErrorInfo?eId=' + id, p: '', r: 0, m: 0, w: 700, h: 330, f: 0, t: 'Error Info', i: 'cp', b: [], rs: 0, ot: 'OK', ct: 'Cancel', sf: '', rc: 1, pc: '' }) }"*/
right now i'm using this code for pop-up and it is giving me error like a is undefined in awesomeMVC.js script file,any idea what is this error is?