Jump to content

All Activity

This stream auto-updates     

  1. Yesterday
  2. Добрый день Нашел самую не дорогую аптеку Лучшая Интернет Аптека циклосерин побочные
  3. Last week
  4. Earlier
  5. Hi Team, We recently converted our VB6 application to C# using the mobilize.net tool. After the conversion we are seeing issues in the performance as compared to how it was with VB6. All DB related function of select, insert, update or calling SP's seems to be taking more time. One reason which we felt was because of the recordset helper, which iterates through a number of Open() function and then finally does the execute. Any idea or changes which might help improve the performance. Thanks in advance. Prasad
  6. Hi OlmanQuesada, Is there any update on it ?? client is getting it regularly on their production system.
  7. Thanks it worked fine.
  8. Hi Nishant, We're escalating this as it seems to be an ongoing project. You can reach me to my email: [email protected]
  9. All of our WebMap controls rely on the Telerik UI Angular controls. https://www.telerik.com/kendo-angular-ui If you want to learn more about them I recommend these pages: https://www.telerik.com/kendo-angular-ui/components/ Ok. In order to support what you mentioned we can use a Telerik Menu feature that is called openOnClick One thing to notice with this feature os that when the user opens an item with a click, all Menu items open on hover until one of them is selected. To modify this behavior, the toggle option of the openOnClick can be used. For example, setting toggle:'leave', the user opens an item with a click and the Menu items open on hover until either one of them is selected, or the mouse pointer leaves the Menu and the predefined delay (in milliseconds, default is 100) passes. <kendo-menu [items]="items" [openOnClick]="{ toggle: 'leave' }"> </kendo-menu> https://stackblitz.com/edit/angular-aurqtm?file=app/app.component.ts All options are listed in the same article that you already explored: https://www.telerik.com/kendo-angular-ui/components/menus/menu/open-close/#toc-opening-on-click Ok. An how do you apply that on a migrated component? That is easy too: In general. WebMap controls add some services to the Telerik Controls and provide most of the functionality that you might need for funtional equivalence. But if you want to modify their behaviour, you just need to extend that component. In this case we will extend the wm-toolstrip component. To do that in angular, just under app/components/app-name folder create a new folder called wm-toolstrip-custom And create 3 files. wm-toolstrip-custom.ts, wm-toolstrip-custom.scss wm-toolstrip-custom.html For the wm-toolstrip-custom.ts write some content like this: import { Component, ChangeDetectionStrategy, ElementRef, ChangeDetectorRef, Renderer2 } from '@angular/core'; import { ToolStripComponent } from "@mobilize/winforms-components"; import { WebMapService } from '@mobilize/angularclient'; @Component({ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'wm-toolstrip-custom', styleUrls: ['./wm-toolstrip-custom.scss'], templateUrl: './wm-toolstrip-custom.html' }) export class WMToolstripCustom extends ToolStripComponent { constructor(private service3: WebMapService, private changeDetector3: ChangeDetectorRef, private renderer3: Renderer2, private element3: ElementRef) { super(service3, changeDetector3, renderer3, element3); } } For that component we are just inheriting from ToolStripComponent For the wm-toolstrip-custom.scss we just copy the scss from the ancestor or any other styles you might need .before { width: 100%; height: 100%; text-align: center; display: contents; } .above { width: 100%; height: 100%; text-align: center; } And finally for the .html we copy the inherited html just by adding the onClick piece mentioned before <kendo-menu *ngIf="model" [items]="items" (select)="onSelect($event)" [ngClass]="class" wmControls [openOnClick]="{ toggle: 'leave' }"> <ng-template kendoMenuItemTemplate let-item="item"> <div *ngIf="item.type == toolStripTypes('Label') || item.type == toolStripTypes('Button')" [ngClass]="item.cssClass" [wmDisabledItem]="item.enabled"> <img *ngIf="!!item.imageUrl && item.imageFirst" src="{{item.imageUrl}}" /> <span *ngIf="item.checked">&#10004; </span> <div style="display: inline-block;">{{item.text}}</div> <img *ngIf="!!item.imageUrl && !item.imageFirst" src="{{item.imageUrl}}"/> </div> <div *ngIf="item.type == toolStripTypes('ComboBox')"> <wm-combobox *ngIf="item.ComboBox" [model]="item.ComboBox"></wm-combobox> </div> <div *ngIf="item.type == toolStripTypes('Separator')" [ngClass]="item.cssClass" [wmDisabledItem]="item.enabled"></div> </ng-template> </kendo-menu> Notice the [openOnClick]="{ toggle: 'leave' }" Ok. So that is all the coding needed. Now to be able to use it you need to steps.: 1. Export in index.ts import { WMToolstripCustom } from './wm-toolstrip-custom/wm-toolstrip-custom'; export { WMToolstripCustom }; 2. Import the Telerik Module in the module for your application. For example for an app like sks modify sks-module.ts // Some elements excluded import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { CommonModule } from '@angular/common'; import { WebMapKendoModule } from '@mobilize/winforms-components'; import { WebMapService, WebMapModule } from '@mobilize/angularclient'; import { GridModule } from '@progress/kendo-angular-grid'; import { DialogsModule } from '@progress/kendo-angular-dialog'; import * as SKS from './components/sks'; // Import the Menus Module so you can reference it import { MenusModule } from '@progress/kendo-angular-menu'; @NgModule({ imports: [ CommonModule, WebMapKendoModule, WebMapModule, WindowModule, // Add import MenusModule, GridModule, DialogsModule ], exports: [ SKS.frmCustomers, // some code omitted. SKS.WMToolstripCustom, ], declarations: [ // other elements excluded SKS.WMToolstripCustom, ], entryComponents: [ // other elements excluded SKS.WMToolstripCustom, ], providers: [WebMapService], schemas: [ CUSTOM_ELEMENTS_SCHEMA ] }) export class SKSModule { } 3. And finally change your wm-toolstrip references by wm-toolstrip-custom in your html And that should be all
  10. Hi There has been requirement from client to open the kendo menu on click of menu item instead of hovering. Can you please help with the implementation.
  11. Hi OlmanQuesada, We have checked with client and recorded video session which shows random opening of forms. If you see the last part of the video when user clicks on book icon to open up manufacturer screen, there are 2 random screens showing up and which they have to close and then it leads to the main form which was expected to be opened on click. They say it happens with other screens also not only manufacturer screen. Please find attached file. RandomScreen_PopupIssue.zip
  12. Hi OlmanQuesada, You can find the code in "frmFind.cs" file , grid related functionality is in "modFind.cs" file. Project Name is "FraudTest" Let us know if you need more information. Thanks, Nishant Joshi
  13. Hi Nishant, We've been reviewing the issue and the code snippet. Can you provide us mofre details about the file where that code snippet is located. We look for that into our framework and the migrated code of you applicaiton but we were unable to find that piece of code.
  14. Hi Nishant, Let us review this.
  15. Thanks. Could be possible to get a video of the issue coming up? We need to reproduce the issue to analyze what is causing this.
  16. Hi Olman, I don't think there were any customization made to the framework.. we are only changing the css design on forms most of the time. Please find attached file containing package json for version being used. This behavior is very random... package.json
  17. Hi Nishant, Are there any additional modifilcations performed in the Mobilize Framework? Isolating the issue would be very helpful to understand what is causing the reported issue. OlmanQ
  18. Hi Nishant. Is this related to an app migrated from VB6 to WebMap? Please, send us the the version of WebMap helpers of the migrated application. Regards, OlmanQ
  19. Hi We have got complaints from our client that they do get some random window pop-ups while working on application. Those random opening windows shows their last action perform on those forms before they were closed. It seems like there is issue in framework which brings back the previously closed forms. We don't have any steps to reproduce it since we don't see it happening on development environment. we have seen similar issue few months back and it use to happen when there is an error on page and once we start continuing to work all previously closed forms shows up randomly while opening of other screens. To get it fixed we have to clear the cache. Now this is happening on client side most of the times. Is there any way we can fix it ?
  20. Dear Nishant, You can change the top and left values of the window's model so you can move it any where you want. For example, Best regards,
  21. Hi In our project we have a custom form which can find the text string on grid and focus the row to the user. It makes use of FirstDisplayedScrollingRowIndex , property to scroll to that particular row once match is found. This functionality works fine when we do the search initially but in case after searching the record if we scroll up or down far away from the current selected row which has the record searched previously and tries to search it again , code shows the right index and set's the FirstDisplayedScrollingRowIndex , but on UI auto scroll doesn't works. It should have scrolled to the record found. if we try to click on other rows to change the current index of grid and try again it works fine. Please find attached email for more details. code snippet below:- if (!strGrid.Rows[i - 1].Properties().Displayed) { strGrid.Properties().FirstDisplayedScrollingRowIndex = i; } FW_ FlexGrid scroll.msg
  22. Hi Nathalia, Thanks for looking into it. Yes it worked after removing the mentioned class. There was an requirement from client in which restoring of window was overlapping the button which we have below the menu options , so to provide space on top of window , class was created. Is there any way we can mention top padding for window to apply when they are restored so that they wont interfere ?
  23. Dear Nishant, We found that the issue is caused by a customization made to our window component. The class applied in the vm-window-custom.ts and defined in the style.css causes the window position to be fixed. Let me know if you need that code or if it can be updated so that the problem won't occur anymore. Best regards, Nathalia Ortega
  24. Thanks Nishant. We will check this and will reply back ASAP.
  25. Hi Nathalia, Please find copy of package json below. I don't see anything getting logged in console. i am attaching the email with details on how to reproduce the issue. { "name": "angular", "version": "0.0.0", "license": "UNLICENSED", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build --prod", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular-devkit/build-angular": "~0.800.0", "@angular/animations": "^8.0.0", "@angular/cdk": "^8.0.0", "@angular/cli": "^8.0.1", "@angular/common": "^8.0.0", "@angular/compiler": "^8.0.0", "@angular/compiler-cli": "^8.0.0", "@angular/core": "^8.0.0", "@angular/forms": "^8.0.0", "@angular/material": "^8.0.0", "@angular/platform-browser": "^8.0.0", "@angular/platform-browser-dynamic": "^8.0.0", "@angular/router": "^8.0.0", "@mobilize/winforms-components": "5.0.6-rc0025", "@progress/kendo-angular-l10n": "^1.0.5", "@progress/kendo-angular-layout": "^3.1.0", "@progress/kendo-theme-material": "^3.2.0", "core-js": "2.6.5", "file-saver": "^2.0.2", "ngx-spinner": "^8.0.3", "roboto-fontface": "^0.10.0", "rxjs": "6.5.0", "rxjs-compat": "^6.3.2", "tslib": "^1.9.0", "typescript": "~3.4.5", "zone.js": "~0.9.1" }, "devDependencies": { "@angular/language-service": "8.0.0", "@types/jasmine": "^3.3.2", "@types/jasminewd2": "~2.0.3", "@types/node": "10.12.15", "codelyzer": "^4.4.4", "jasmine-core": "3.3.0", "jasmine-spec-reporter": "4.2.1", "karma": "3.1.3", "karma-chrome-launcher": "2.2.0", "karma-coverage-istanbul-reporter": "2.0.4", "karma-jasmine": "2.0.1", "karma-jasmine-html-reporter": "1.4.0", "protractor": "~5.4.1", "ts-node": "~7.0.1", "tslint": "~5.18.0" } } Screen Drag Issue.msg
  26. Hi Nishant, Thanks for communicating with us. Can you please share with me which version of WebMap and other packages are you using? You can find the package versions of your application in the package.json file of the Angular project. Can you also attach a screenshot of your browser's console log so we can check what the issue may be. Thanks, Nathalia
  27. Hi We are facing issue with dragging of open window. It works fine on first attempt when screen is loaded for the first time , once we maximize the window and restore window to normal size it stops working. we are not able to drag it anymore if we want to move the form to see other screen elements. This is related to Kendo-Window. Steps to reproduce 1> Open any window from the top menu. 2> Drag the window from title bar and it will work fine. 3> Maximize the window. 4> Restore window again to previous state by clicking Minimize button 5> Drag the window and it wont allow user to move anymore. Thanks, Nishant Joshi
  28. Hi, The VB6 code needs to add the parameter to the parameter collection before accessing the value of the parameter otherwise an error at runtime is generated. The vb6 code does not indicate how the parameter at the index 0 of the collection is created, without that the followin line in the VB6 code will crash at runtime because there's no parameter at index 0. svrqAuthorise.Parameters(0) = mvlngEntityRefToMoveFrom When that code is converted to C#, a similiar situation happens, if the parameter is not created and added to the parameter collection a crash is generated. In this case the creation of the parameter is not incuded in the VB6 code. The situation described here is not necesarrily an issue with the converted code but it could be related to a problem in the source code. To determine what is causing it's important to check when the parameter at index 0 is created and added to the parameter collection.
  1. Load more activity
  • Newsletter

    Want to keep up to date with all our latest news and information?
    Sign Up
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use