This question is locked. New answers and comments are not allowed.
I am using the Window and trying to load the page with the Visible(False) and show the window from my own code.
When I call tWindow.open() I get an error in jquery-1.4.3.min.js.
Note: I am using MVC 3 with Razor view engine.
Declaring window....
Calling open from within a JS event handler...
throws an error on win.open() (win is not null). (line 155)
Message is "Invalid Argument"
When I call tWindow.open() I get an error in jquery-1.4.3.min.js.
Note: I am using MVC 3 with Razor view engine.
Declaring window....
@Html.Telerik().Window().Name("EditTextWindow").Visible(false).Scrollable(false).Draggable(true).Width(400).Buttons(b => b.Maximize().Close()).Content("<input type=\"text\" id=\"textEditBox\" value=\"\" /><br/><input type='button' id='textEditBox' value='OK' />").Title("Edit Text").Modal(true)Calling open from within a JS event handler...
$(".canedit").click(function () { var win = $("#EditTextWindow").data("tWindow"); win.open();});throws an error on win.open() (win is not null). (line 155)
Message is "Invalid Argument"
a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit