Base solution for your next web application

Activities of "tteoh"

@ ismcagdas Thanks for your reply.

I have a problem that is: I have multiple menuItems need to call a same $state and using customData pass value to $stateparams. I need to do this is because I don't want create multiple $state and to render same template. So, I have a question is : Whether can detect which menuitem is active and pass the customData to my $stateParams?? Or I must create multiple $state and set default $stateparams?

<cite>tteoh: </cite>

<cite>tteoh: </cite> <cite>alper: </cite> you can read customData from JavaScript.

eg:

abp.nav.menus.MainMenu.customData

Thanks for your reply. But I'm getting undefined value when I using abp.nav.menus.MainMenu.customData in console.log. After, I using abp.nav.menus.MainMenu in console.log, then I discover abp.nav.menus.MainMenu has not customData property. I have one question hopefully you can give me an answer. MenuItemDefinition customData property whether can pass the value to $stateParams??

<cite>tteoh: </cite>

<cite>alper: </cite> you can read customData from JavaScript. eg:

abp.nav.menus.MainMenu.customData

Thanks for your reply. But I'm getting undefined value when I using abp.nav.menus.MainMenu.customData in console.log. After, I using abp.nav.menus.MainMenu in console.log, then I discover abp.nav.menus.MainMenu has not customData property. I have one question hopefully you can give me an answer. MenuItemDefinition whether can pass value to $stateParams??

<cite>alper: </cite> you can read customData from JavaScript. eg:

abp.nav.menus.MainMenu.customData

Thanks for your reply. But I'm getting undefined value when I using abp.nav.menus.MainMenu.customData in console.log. After, I using abp.nav.menus.MainMenu in console.log, then I discover abp.nav.menus.MainMenu has not customData property.

HI, I m trying using new MenuItemDefinition CustomData property when add a menu item. But how can i receive value from CustomData in my javascript ?? I'm using MVC5 AJ1. This below source code is show how I added CustomData property:

.AddItem(new MenuItemDefinition(
                        PageNames.App.OUD.Franchisee,
                        L("Franchisees"),
                        url: "franchisee",
                        icon: "icon-settings",
                        requiredPermissionName: AppPermissions.Pages_Partners_Franchisees,
                        customData: new System.Collections.Generic.Dictionary<string, string>() { { "test", "testId" } }
                        )
                    )

Thanks.

Answer

@ismcagdas,

Ya, I'm using Angularjs.

Thanks for your ans :D

Question

Now, I need to inject angular.ui.validate library (<a class="postlink" href="https://github.com/angular-ui/ui-validate">https://github.com/angular-ui/ui-validate</a>) to my project. I need to inject angular.ui.validate library is becuz i need used uiValidateAsync directive to do my form validation. But i found that (angular.ui)folder's (ui-utils.js) file has a same angular.module name with the file that i wanted to inject.

Question

  1. Can I run multiple angular.module with as same name in my project?
  2. Izit (ui-utils.js)file's angular.module(ui.Validate) behavior is same with angular.ui.validate library's angular.module(ui.Validate) (<a class="postlink" href="https://github.com/angular-ui/ui-validate">https://github.com/angular-ui/ui-validate</a>)?
  3. if i uninjected that (ui-utils.js)file's angular.module ('ui.validate') and run my new injection which is angular.ui.validate library , izit will cause any problem to came out ?

Thanks. /Tommy

Abp Version: <package id="Abp" version="1.5.0.0" targetFramework="net461" />

I have trying to bundle two difference file of angular-daterangepicker which is angular-daterangepicker.js and angular-daterangepicker.min.js. And also, I have facing difference issue in both file. Izit the files are same?

Face Issue on (angular-daterangepicker.min.js):

  1. date-range-picker are not autoUpdateInput when i have set the autoUpdateInput equal true.
  2. date-range-picker didn't format the input to correct format(DD/MM/YYYY) mean it allow user to enter (0/0200000/2018).
  3. min and max validation in single date picker is inactive.(But min and max validation is working on angular-daterangepicker.js)

Face Issue on (angular-daterangepicker.js):

  1. date-range-picker will return NaN value to ng-model when user are not select the date from the calendar.

Question :

  1. why (abp libs)angular-daterangepicker.min.js are difference with (abp libs)angular-daterangepicker.js where I have unminified (abp libs)angular-daterangepicker.min.js to check the code with (abp libs)angular-daterangepicker.js?

  2. Izit the angular-datepicker.js and angular-daterangepicker.min.js are taking from (<a class="postlink" href="https://github.com/parker789/angular-daterangepicker">https://github.com/parker789/angular-daterangepicker</a>) ?

  3. if the (abp libs)angular-daterangepicker.js is taking from (<a class="postlink" href="https://github.com/parker789/angular-daterangepicker">https://github.com/parker789/angular-daterangepicker</a>), and why their (Github)angular-daterangepicker.js code are difference with our (abp libs)angular-daterangepicker.js ?

Thanks /Tommy

Question

Hi, I'm using MVC5AJ1.

I'm wondering if there is a way to suppress the dialog box that being thrown by UserFriendlyException?

For example how to suppress this dialog box: [attachment=0:48als4xc]Capture.PNG[/attachment:48als4xc]

Thanks. /Tommy

<cite>ismcagdas: </cite> Hi @velu,

We don't have a suggestion for any reporting tool. Maybe someone who has an experience with reporting tools can offer you one.

Hi,

May consider this: <a class="postlink" href="https://jsreport.net/">https://jsreport.net/</a> as part of Abp framework?

/Tommy

Showing 91 to 100 of 202 entries