Posted 28 Sep 2011 Link to this post
contentUrl
Posted 29 Sep 2011 Link to this post
var
editPaneData = $(
"#editPane"
).data();
editPaneData.pane.contentUrl = baseContentNavURL + username.toLowerCase();
$(
"#edituser-frame"
).attr(
"src"
,baseContentNavURL + username.toLowerCase());
Posted 04 Oct 2011 Link to this post
Posted 05 Oct 2011 Link to this post
Posted 12 Oct 2011 Link to this post
? function onUserGrid_RowClick(sender, args) { var splitter = $("#ece-content-splitter").data("kendoSplitter"); //var detailspane = $("#ece-user-details-pane"); var username = args.getDataKeyValue("UserName"); if (username != null) { splitter.panes[1].contentUrl = "completionstatus_details.aspx?selecteduser=" + username; splitter.expand("#ece-user-details-pane"); } } I can't seem to find a demo\doc which references a pane AFTER initalization I mean there's things like this splitter.ajaxRequest("#Pane1", "/Home/Pane1Content.html"); ...but I can't seem to get that up for contentUrl **EDIT** Ok so this changes the pane value, but I assume it's not the proper way to do it as nothing happend var splitter = $("#ece-content-splitter").data("kendoSplitter"); var detailspane = $("#ece-user-details-pane").data(); var username = args.getDataKeyValue("UserName"); if (username != null) { detailspane.pane.contentUrl = "completionstatus_details.aspx?selecteduser=" + username.toLowerCase(); //splitter.panes[1].contentUrl = "completionstatus_details.aspx?selecteduser=" + username; splitter.expand("#ece-user-details-pane"); }
function
onUserGrid_RowClick(sender, args) {
splitter = $(
"#ece-content-splitter"
).data(
"kendoSplitter"
);
//var
detailspane = $(
"#ece-user-details-pane"
username = args.getDataKeyValue(
"UserName"
if
(username !=
null
) {
splitter.panes[1].contentUrl =
"completionstatus_details.aspx?selecteduser="
+ username;
splitter.expand(
}
splitter.ajaxRequest(
"#Pane1"
,
"/Home/Pane1Content.html"
detailspane.pane.contentUrl =
+ username.toLowerCase();
//splitter.panes[1].contentUrl = "completionstatus_details.aspx?selecteduser=" + username;
Posted 13 Oct 2011 Link to this post
Posted 14 Oct 2011 Link to this post
The contentUrl setting is taken under consideration only during initialization. Setting it afterwards requires you to also call the ajaxRequest method in order to reload the pane. Can't you just call the ajaxRequest method with the new url value? Setting contentUrl would have the exactly same effect.
//Subsplitter init
).kendoSplitter({
orientation:
"horizontal"
panes: [
{ collapsible:
false
, resizable:
true
},
//Filter pane
{collapsible:
, collapsed:
, contentUrl:
"about:blank"
, size:
"35%"
// Details pane
]
});
+ username.toLowerCase());
For the time being the splitter creates an iframe only when the url is not local. The url which you are passing to the ajaxRequest method is local url (does not have a protocol) and as a result the splitter loads the content via ajax and appends it instead of using an iframe. Here is the actual implementation:
ajaxRequest:
(pane, url, data) {
pane = $(pane);
that =
this
paneConfig = pane.data(PANE);
url = url || paneConfig.contentUrl;
(url) {
pane.append(
"<span class='k-icon k-loading k-pane-loading' />"
(kendo.isLocalUrl(url)) {
$.ajax({
url: url,
data: data || {},
type:
"GET"
dataType:
"html"
success:
(data) {
pane.html(data);
that.trigger(CONTENTLOAD, { pane: pane[0] });
else
{
pane.removeClass(
"k-scrollable"
)
.html(
"<iframe src='"
+ url +
"' frameborder='0' class='k-content-frame'>"
+
"This page requires frames in order to show content"
"</iframe>"
"http://admin.medportal.ca/evaluations/ece/completionstatus_details.aspx?selecteduser="
Posted 02 Nov 2011 Link to this post
Posted 04 Nov 2011 Link to this post
Posted 25 Nov 2011 Link to this post
"#horizontal"
).kendoSplitter({ panes: [{ collapsible:
"20%"
"tree.php"
} { collapsible:
"50%"
}, { collapsible:
} ] });
onClose() {
"logic.php"
//alert("Hello.");
"#titles"
).kendoComboBox({
index: 0,
dataTextField:
"Name"
dataValueField:
"Id"
filter:
"contains"
dataSource: {
"odata"
severFiltering:
serverPaging:
pageSize: 20,
transport: {
read:
"http://odata.netflix.com/Catalog/Titles"
close: onClose
Posted 31 Jan 2012 Link to this post
Posted 02 Aug 2012 Link to this post