Base solution for your next web application

Activities of "huntethan89"

Hi, I have 3 menu items on left side. i opened first menu and there is some grid on that form. On click of row of grid i want to call 2nd menu item page.

this is my navigation menu :- ... AddItem(new MenuItemDefinition( PageNames.App.Tenant.DMS, L("DMS"), url: "Mpa/DMS", icon: "glyphicon glyphicon-book" ).AddItem(new MenuItemDefinition( PageNames.App.Tenant.BuilderInformation, L("BuilderInformation"), url: "Mpa/BuilderInformation", icon: "glyphicon glyphicon-book" ) ).AddItem(new MenuItemDefinition( PageNames.App.Tenant.DeveloperInformation, L("DeveloperInformation"), url: "Mpa/DeveloperInformation", icon: "glyphicon glyphicon-book" ) ).....

now assume on DMS page i have grid. i clicked one of the row of grid. On click it should get id and open builder information page. How can i go to that page which click on menu ?

Question

Hi, I am using jtable to display data from database, but when i tried to implement paging and any other feature it is showing error.

This is my js code of jtable.

_$MortgageCompaniesTable.jtable({ // title: app.localize('Builders List'), paging: true, sorting: true, multiSorting: true, actions: { listAction: { method: _MortgageCompaniesService.getMortgageCompanies } },

        fields: {
            id: {
                key: true,
                list: false
            },

            actions: {
                title: app.localize('Actions'),
                width: '15%',
                sorting: false,
                display: function (data) {
                    var $span = $('<span></span>');

                    if (_permissions.edit) {
                        $('<button class="btn btn-icon btn-xs" title="' + app.localize('Edit') + '"><i class="fa fa-edit"></i></button>')
                            .appendTo($span)
                            .click(function () {
                                // _createOrEditModal.open({ id: data.record.id });
                            });
                    }

                    if (_permissions.delete) {
                        $('<button class="btn btn-icon btn-xs" title="' + app.localize('Delete') + '"><i class="fa fa-trash-o"></i></button>')
                            .appendTo($span)
                            .click(function () {
                                //deleteRole(data.record);
                            });
                    }

                    return $span;
                }
            },

            mCompanyName: {
                title: app.localize('MCompanyName'),
                //display: function (data) {
                //    var $span = $('<span></span>');

                //    $span.append(data.record.solicitorsName + "   ");

                //    return $span;
                //}
            },
            mCompanyAddress: {
                title: app.localize('MCompanyAddress'),
                //display: function (data) {
                //    var $span = $('<span></span>');
                //    $span.append(data.record.solicitorsAddress + "   ");
                //    return $span;
                //}
            }
        }
    });

Result - the result grid is attached with this email. the total count of rows on left bottom corner is showing undefined.

Thanks.

Answer

Hi, lets assume we created a user group named technician user in system. also we created role name technician in our application then we have to map these two roles. But, how can we retrieve user group from LDAP ?

Thanks

Answer

Hi , if we change passwords from windows. the application allows it login from new password as well as new password. when a LDAP user logs in nothing is visible to him. No Roles assign to him. How to bind windows roles to application roles. So that is get access of particular things. Thanks

Answer

Hi, yes its working. Are we not allowed to c hange password from applicaiton ? What happen if we change password from windows?

Question

Hi , i am working in MPA project. Made all changes, add pages etc etc. Now if we want to use SPA, should we have to add all pages in SPA project ?

Thanks

Question

Hi, I have disabled multi tenancy option and login on browser with default admin user. It is logged in successfully. Now i go to User page :- <a class="postlink" href="http://localhost:6240/Mpa/Users">http://localhost:6240/Mpa/Users</a> .

After that i copy this URL (<a class="postlink" href="http://localhost:6240/Mpa/Users">http://localhost:6240/Mpa/Users</a> ) on other browser. Then my application crashes. But it should take me to the login page. i am attaching screenshot of crashed page.

Thanks

Question

Hi, What should we needed to implement LDAP integration. i have done what is written in this link : <a class="postlink" href="https://www.aspnetzero.com/Documents/Development-Guide#enabling-ldap-active-directory-authentication">https://www.aspnetzero.com/Documents/De ... entication</a> , but in settings -> user management it shows only email confirmation option. i am attaching screenshot with this. Please tell me what are other things i need to done to implement LDAP.

Answer

Hi, Yes i have seen this document. Is there any other document related to code description and all features.

Thanks

Answer

Hi, It is showing loading image constantly, not showing the data from database.

code is as below:-

this is Index.js file code. to load data in grid.


var _$FileTable = $('#FileTable'); // div where we add the grid.

_$FileTable.jtable({ title: app.localize('File Tracking'),

        actions: {
            listAction: {
                method: _fileService.GetFiles
            }
        },

        fields: {
            id: {
                key: true,
                list: false
            },
            actions: {
                title: app.localize('Actions'),
                width: '30%',
                display: function (data) {
                    var $span = $('&lt;span&gt;&lt;/span&gt;');

                    if (_permissions.edit) {
                        $('&lt;button class=&quot;btn btn-default btn-xs&quot; title=&quot;&#39; + app.localize(&#39;Edit&#39;) + &#39;&quot;&gt;&lt;i class=&quot;fa fa-edit&quot;&gt;&lt;/i&gt;&lt;/button&gt;')
                            .appendTo($span)
                            .click(function () {
                                _createOrEditModal.open({ id: data.record.id });
                            });
                    }

                    if (!data.record.isStatic && _permissions.delete) {
                        $('&lt;button class=&quot;btn btn-default btn-xs&quot; title=&quot;&#39; + app.localize(&#39;Delete&#39;) + &#39;&quot;&gt;&lt;i class=&quot;fa fa-trash-o&quot;&gt;&lt;/i&gt;&lt;/button&gt;')
                            .appendTo($span)
                            .click(function () {
                                deleteRole(data.record);
                            });
                    }

                    return $span;
                }
            },
            displayName: {
                title: app.localize('FileName'),
                width: '35%',
                display: function (data) {
                    var $span = $('&lt;span&gt;&lt;/span&gt;');

                    $span.append(data.record.FileName + " &nbsp; ");

                    return $span;
                }
            },
            creationTime: {
                title: app.localize('CreationTime'),
                width: '35%',
                display: function (data) {
                    return moment(data.record.CreateDate).format('L');
                }
            }
        }
    });

function getRoles() { _$FileTable.jtable('load'); }

    getRoles();

FiletrackingAppservice.cs ( this is i am using to retireve data from database)

public ListResultDto<FileListDto> GetFiles(GetFileTrack input) { var files = _fileRepository .GetAll() .Include(p => p.User) .WhereIf( !input.Filter.IsNullOrEmpty(), p => p.FileName.Contains(input.Filter) || p.FilePath.Contains(input.Filter) || p.File_Status.Contains(input.Filter) ) .OrderBy(p => p.FileName) .ThenBy(p=>p.File_Status) .ToList();

        return new ListResultDto&lt;FileListDto&gt;(files.MapTo&lt;List&lt;FileListDto&gt;>());

    }

Thanks

Showing 171 to 180 of 186 entries