Hello,
I am using Kendo window to Display a partial view. Works fine and Displays good in Desktop Version , but when i run on tablet or phone the window Comes up with nothing inside. But debug Shows it did load partial view file. What could be the Problem any idea?
in view which invokes Kendo window i have
@(Html.Kendo().Window()
.Name("mobilewindow")
.Width(630)
.Height(400)
.Draggable()
.Resizable()
.Actions(actions => actions.Refresh().Close())
.Title("Objekt Auswahl Tablet")
.Visible(false)
.LoadContentFrom("AddObject", "Objekt")
)
On button click i load partial view
function TestClick(e) {
var direction = "Objekt/AddObject";
var selObject = $('input[name="txtObjectID"]').val();
var wnd = $("\\#mobilewindow").data("kendoWindow");
if (wnd) {
wnd.refresh({
url: direction,
data: { strObjectID: selObject }
});
wnd.center();
wnd.open();
}
};
public ActionResult AddObject(string strObjectID)
{
return PartialView("_SelectObject");
}
Anamika
I am using Kendo window to Display a partial view. Works fine and Displays good in Desktop Version , but when i run on tablet or phone the window Comes up with nothing inside. But debug Shows it did load partial view file. What could be the Problem any idea?
in view which invokes Kendo window i have
@(Html.Kendo().Window()
.Name("mobilewindow")
.Width(630)
.Height(400)
.Draggable()
.Resizable()
.Actions(actions => actions.Refresh().Close())
.Title("Objekt Auswahl Tablet")
.Visible(false)
.LoadContentFrom("AddObject", "Objekt")
)
On button click i load partial view
function TestClick(e) {
var direction = "Objekt/AddObject";
var selObject = $('input[name="txtObjectID"]').val();
var wnd = $("\\#mobilewindow").data("kendoWindow");
if (wnd) {
wnd.refresh({
url: direction,
data: { strObjectID: selObject }
});
wnd.center();
wnd.open();
}
};
public ActionResult AddObject(string strObjectID)
{
return PartialView("_SelectObject");
}
Anamika