the action reload implements IAction interface and has the following prop that is important:
public string JsFunctionName { get { return "extendendReloadProducts('+nodeID+')"; }
}
public string JsSource { get { return "js/Extended.js"; } } }
---------------
So anyone got a clue how the Extendend.js should implement a reload of the nodes with jquere? could the js file call som .net class that makes some extra stuff?
Does anyone know how to edit the legacyAjaxCall.Delete function? so that i can make changes in my own nodes instead (i load my nodes from external DB)?
Isnt there anyone who knows who to refresh the tree? or atleast call a .net class that doest the DB calls and then calls some js file with the animations?
Reloading the tree in custom section with jquery
hi,
so, i have a custom section with a custom menu, i whant to implement a reload nodes by calling my own .js file. Iv got the following:
-------
loadTree()
{
protected override void CreateAllowedActions(ref List<IAction> actions)
{
actions.Clear();
actions.Add(ExtendendContextMenu.ActionReload.Instance);
}
----------
the action reload implements IAction interface and has the following prop that is important:
public string JsFunctionName
{
get
{
return "extendendReloadProducts('+nodeID+')";
}
}
public string JsSource
{
get { return "js/Extended.js"; }
}
}
---------------
So anyone got a clue how the Extendend.js should implement a reload of the nodes with jquere? could the js file call som .net class that makes some extra stuff?
Best Regards
Marthin
I look into the source code of umbracoDefault.js and found that umb uses:
Does anyone know how to edit the legacyAjaxCall.Delete function? so that i can make changes in my own nodes instead (i load my nodes from external DB)?
Isnt there anyone who knows who to refresh the tree? or atleast call a .net class that doest the DB calls and then calls some js file with the animations?
Please help!
Best regards
Marthin
is working on a reply...