Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi All,
I have a link picker for a custom grid control. My issue is that if I enter an external link and I save it and then edit it again, when the sidebar appears it doesn't remember what I had saved. Here is the code I'm using:-
$scope.setContentId = function () { $scope.linkPickerOverlay = {}; $scope.linkPickerOverlay.view = "linkpicker"; $scope.linkPickerOverlay.show = true; $scope.linkPickerOverlay.submit = function (model) { var selectedNode = model.target; $scope.control.value.linkprop = { id: selectedNode.id, udi: selectedNode.udi, name: selectedNode.name, url: selectedNode.url }; $scope.setLink(); $scope.linkPickerOverlay.show = false; $scope.linkPickerOverlay = null; }; $scope.linkPickerOverlay.close = function (oldModel) { $scope.linkPickerOverlay.show = false; $scope.linkPickerOverlay = null; }; };
What do I need to add to my code for the external link to show in the spaces highlighted in the image
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
External Links in Link Picker not remembering what was entered previously
Hi All,
I have a link picker for a custom grid control. My issue is that if I enter an external link and I save it and then edit it again, when the sidebar appears it doesn't remember what I had saved. Here is the code I'm using:-
What do I need to add to my code for the external link to show in the spaces highlighted in the image
is working on a reply...