Thanks. There is also an example of this in the framework in "theme-selection-panel.component.html" Also can you explain the difference between the two methods of localization? Why did you introduce the pipe? Should I change my app to use the pipe method everywhere?
I found the answer myself. The Angular 2+ version of the f/w doesn't call GetScripts instead it makes a call to AbpUserConfiguration/GetAll in getUserConfiguration in AppPreBootstrap.ts I'm not sure quite why you do it like that though? Would be interested in a bit of an explanation of how this part of the f/w works. Thanks.
The fix doesn't seem to have worked. I'm still seeing the squares in grids and multi-line text boxes in IE11. See screenshots at [https://github.com/aspnetzero/aspnet-zero/issues/407])
Hi,
Can you share your component or point me in the right direction? Thanks.
Regards, George
That's a great shame as I've invested a huge amount of time developing my application and don't have time to rewrite it now. I've just paid your fee ASP.Net Zero renewal as well. Will you continue to support the Angular 1.x non-core versions? Is there any chance you'll add the new features to them at some later date? What do you suggest people in my situation do?
Great news. Thanks a lot.
This is a problem for me too. Is there any progress on this?
Hi,
I've logged this here: [https://github.com/aspnetzero/aspnet-zero/issues/451])
I logged it against the Angular 1.x version of ASP.NET Zero as that's what I'm using.
If anyone needs uiGrids that take up available window height I've developed a much better way of doing it:
Add the following directive called fullHeightGrid.js:
(function () {
appModule.directive('fullHeightGrid', ['$timeout', '$window',
function ($timeout, $window) {
return {
restrict: 'A',
scope: false,
require: 'uiGrid',
link: function (scope, element, attrs, uiGridCtrl) {
var setGridHeight = function () {
var windowHeight = window.innerHeight;
var gridTop = getGridTop();
var gridHeight = windowHeight - gridTop - 40;
if (gridHeight < 380) gridHeight = 380;
$(element).height(gridHeight);
uiGridCtrl.grid.api.core.handleWindowResize();
};
var getGridTop = function () {
return $(element)[0].getBoundingClientRect().top + document.documentElement.scrollTop;
};
$timeout(setGridHeight);
angular.element($window).bind('resize', setGridHeight);
scope.$watch(function () {
return getGridTop();
}, function (gridTop) {
setGridHeight();
});
}
};
}
]);
})();
Then add the directive to your grids, e.g.:
<div ui-grid="vm.gridOptions" ui-grid-pagination ui-grid-resize-columns full-height-grid dir=@(CultureHelper.IsRtl ? "rtl" : "")></div>
This works with all grids including the ones that come with the Framework.