Click here to Skip to main content
15,891,431 members

Comments by Member-515487 (Top 133 by date)

Member-515487 6-Feb-19 23:27pm View    
I am looking for Service Bus partition key uses its just POC
Member-515487 19-Jan-17 1:25am View    
How can closed this security defect
i am checking on client side extension also server side
is there any other way to get it done

user uploading file after changing extension
Member-515487 23-Sep-16 3:36am View    
populating only
Member-515487 8-Aug-16 1:54am View    
(function (app) {
app.controller('ReportCtrl', reportcntr);
function reportcntr($scope) {
$scope.safeApply = function (fn) {
var phase = this.$root.$$phase;
if (phase == '$apply' || phase == '$digest') {
if (fn && (typeof (fn) === 'function')) {
fn();
}
} else {
this.$apply(fn);
}
};
$scope.lstExtraSummaryModel = [];
$scope.extrafield = {};
$scope.extrafield.lstExtraSummaryModel = $scope.lstExtraSummaryModel
// working with $watch
//$scope.$watch('lstExtraSummaryModel', function (newValue, oldValue, $scope) {
// $scope.extrafield.lstExtraSummaryModel = $scope.lstExtraSummaryModel
//});

//$scope.extrafield.push({'lstExtraSummaryModel': $scope.lstExtraSummaryModel });
$scope.lstFieldsList = [];



$scope.lstFormat = [];
$scope.lstSummaryType = [];
$scope.FieldName = '';
$scope.SummaryID = '';
$scope.SummaryType = '';
$scope.Caption = '';
$scope.FormatID = '';
$scope.FormatType = '';
$scope.FormatString = '';
$scope.ErrorMsg = '';
$scope.isUpdate = false;
$scope.removeRow = function (deleteindex) {
var index = -1;
if (index === deleteindex) {
$scope.ErrorMsg = 'Something gone wrong';
}
$scope.lstExtraSummaryModel.splice(deleteindex, 1);
if (!$scope.isUpdate) {
pivotGrid.PerformCallback();
}
};
$scope.refresh = function () {
pivotGrid.PerformCallback();
};
$scope.addRow = function () {
if ($('#frmCustomSummary').valid()) {
var data = _.where($scope.lstExtraSummaryModel, { 'Caption': $scope.Caption })
if (data.length == 0) {
data = _.where($scope.lstFieldsList, { 'FieldName': $scope.Caption })
if (data.length == 0) {
$scope.lstExtraSummaryModel.push({ 'FieldName': $scope.FieldName, 'SummaryID': $scope.SummaryID.Value, 'SummaryType': $scope.SummaryID.Text, 'Caption': $scope.Caption, 'FormatID': $scope.FormatID.Value, 'FormatType': $scope.FormatID.Text, 'FormatString': $scope.FormatID.Attribute });
$scope.FieldName = '';
$scope.SummaryID = '';
$scope.SummaryType = '';
$scope.Caption = '';
$scope.FormatID = '';
$scope.ErrorMsg = '';
if (!$scope.isUpdate) {
pivotGrid.PerformCallback();
}

}
else {
$scope.ErrorMsg = 'Field Already Exist.';
}
}
else {
$scope.ErrorMsg = 'Caption Already Exist.';
}
}
};

$scope.clear = function () {
$scope.FieldName = '';
$scope.SummaryID = '';
$scope.SummaryType = '';
$scope.Caption = '';
$scope.FormatID = '';
$scope.ErrorMsg = '';
};
}
})(angular.module('pfmstool'))
Member-515487 8-Aug-16 1:52am View    
yes did