@ 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.
@ismcagdas,
Ya, I'm using Angularjs.
Thanks for your ans :D
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.
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):
Face Issue on (angular-daterangepicker.js):
Question :
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?
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>) ?
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
<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