This question is locked. New answers and comments are not allowed.
Hi,
i can't open window subsequently after the first time. i get editwin is undefined error in firebug console.
here is the code
function PopEditWindow(e) {
var see = e.toString();
var url = "@Url.Action(MVC.Price.ActionNames.EditPrice, MVC.Price.Name)?priceId=" + see;
var test = $('#editpricewindow');
var editwin = $("#editpricewindow").data("tWindow");
editwin.ajaxRequest(url);
editwin.center().open();
}
Html.Telerik().Window().Name("editpricewindow")
.Height(500)
.Width(700)
.Modal(true)
.Title("New Price")
.Scrollable(false)
.Buttons(b => b.Close())
.Visible(false)
.Render();
i can't open window subsequently after the first time. i get editwin is undefined error in firebug console.
here is the code
function PopEditWindow(e) {
var see = e.toString();
var url = "@Url.Action(MVC.Price.ActionNames.EditPrice, MVC.Price.Name)?priceId=" + see;
var test = $('#editpricewindow');
var editwin = $("#editpricewindow").data("tWindow");
editwin.ajaxRequest(url);
editwin.center().open();
}
Html.Telerik().Window().Name("editpricewindow")
.Height(500)
.Width(700)
.Modal(true)
.Title("New Price")
.Scrollable(false)
.Buttons(b => b.Close())
.Visible(false)
.Render();