Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "avanekar02"

my code

@section Scripts { <script src="~/Common/Scripts/jquery.fancybox.js"></script> <script src="~/Common/Scripts/jquery.fancybox-media.js"></script>

&lt;script type=&quot;text/javascript&quot;&gt;
    $(document).ready(function () {
        $(".fancybox").fancybox({
            openEffect: 'none',
            closeEffect: 'none'
        });

        $('.fancybox-media').fancybox({
            openEffect: 'none',
            closeEffect: 'none',
            helpers: {
                media: {}
            }
        });

        $('[data-toggle=offcanvas]').click(function () {
            $('.row-offcanvas').toggleClass('active');
        });
    });
&lt;/script&gt;

}

Question

Dear Brother,

i am developing a learning system , which is the best hosting service provider for the Single Page App, along with SQL database do you have any reccomendation

Regards Anwar

Question

Brother i need to create a service as below in the app.js so that it can be accessed by multiple views, do you recommend this reason is to create s shopping cart or if you have some other method please advise

storeApp.factory("DataService", function () {

    // create store
    var myStore = new store();

    // create shopping cart
    var myCart = new shoppingCart("AngularStore");

    // enable PayPal checkout
    // note: the second parameter identifies the merchant; in order to use the 
    // shopping cart with PayPal, you have to create a merchant account with 
    // PayPal. You can do that here:
    // https://www.paypal.com/webapps/mpp/merchant
    myCart.addCheckoutParameters("PayPal", "[email protected]");

    // enable Google Wallet checkout
    // note: the second parameter identifies the merchant; in order to use the 
    // shopping cart with Google Wallet, you have to create a merchant account with 
    // Google. You can do that here:
    // https://developers.google.com/commerce/wallet/digital/training/getting-started/merchant-setup
    myCart.addCheckoutParameters("Google", "500640663394527",
        {
            ship_method_name_1: "UPS Next Day Air",
            ship_method_price_1: "20.00",
            ship_method_currency_1: "USD",
            ship_method_name_2: "UPS Ground",
            ship_method_price_2: "15.00",
            ship_method_currency_2: "USD"
        }
    );

    // return data object with store and cart
    return {
        store: myStore,
        cart: myCart
    };
});
Question

has anybody used infinite-scroll in their project i installed it but get an unpr injector error

appModule.controller('tenant.views.catalog.index', [
    '$scope', '$uibModal',,'infinite-scroll',
function ($scope, $uibModal,$http) {
    var vm = this;

i downloaded the ng-infinite-scroll.min.js in the common folder under web common scripts

error i get is below

angular.js:13642 Error: [$injector:unpr] <a class="postlink" href="http://errors.angularjs.org/1.5.6/$injector/unpr?p0=ng-infinite-scrollProvider%20%3C-%20ng-infinite-scroll%20%3C-%20tenant.views.catalog.index">http://errors.angularjs.org/1.5.6/$inje ... alog.index</a>

Question

How do i change the solution database name

i changed it in the connection string in web config but it throws an abp.dll error.

regards

Anwar

Question

Hello

Is there a built in function to do file upload , i need 2 things 1 is to store the file name and location in the database and 2nd upload that file to a location on a different server.

if so please point me to a sample.

Regards Anwar :D

Hello on clicking createnew i wish to pass some default data from the parent page to the create uimodal

do you have a workaround for this

Hello

i want to create a advanced search like the one in users but i donot undeerstand what the <div class="form-group"> <role-combo selected-role="vm.requestParams.type" empty-text="@L("FilterByType")"></role-combo> </div>

where is the data loaded for this and where is the tag <role-combo defined, can you point me to a example

i want to create a advanced search for type Live or Recorded which comes from a table

thanks Anwar

Question

hello

i have the following table structure

  1. Course |________CourseDetails |_____________________Educators

earlier i created a service to get course with coursedetails works fine but when i added the Educators as a collection in coursedetails the program stops saying internal server error

my

function

in the interface ListResultDto<CourseListDto1> GetCourse(GetCoursesInput input);

in the service inheriting the interface public ListResultDto<CourseListDto> GetCourseNoEdu(GetCoursesInput input) { var courses = _courseRepository .GetAll() .Where(p => p.Type == CourseType.Live) .Include(p => p.CourseDetails) .WhereIf( !input.Filter.IsNullOrEmpty(), p => p.Name.Contains(input.Filter) ) .OrderBy(p => p.Name) .ToList();

        return new ListResultDto&lt;CourseListDto&gt;(courses.MapTo&lt;List&lt;CourseListDto&gt;>());
    }

my dto for course

[AutoMapFrom(typeof(Course))] public class CourseListDto1 : FullAuditedEntityDto {

    public string Name { get; set; }
    public string CourseDesc { get; set; }
    public string ARName { get; set; }
    public string ARCourseDesc { get; set; }

    public virtual ICollection&lt;CourseDetailListDto&gt; CourseDetails { get; set; }
}

My DTO for CourseDetail

public class CourseDetailListDto : FullAuditedEntityDto { public int CourseId { get; set; } public string Title { get; set; } public string CourseDesc { get; set; } public string CourseDetDesc { get; set; } public string Requirement { get; set; } public string Image { get; set; } public string ARTitle { get; set; } public string ARCourseDesc { get; set; } public DateTime StartDate { get; set; } public int Duration { get; set; } public string DurationUnit { get; set; } public int HrWeek { get; set; } public decimal Price { get; set; } public int CountReg { get; set; } public string CourseUrl { get; set; }

    public virtual Educator educator { get; set; }

}

and my call in index.js

vm.courses = [];

function getCourse() {
            courseService.getCourse({}).success(function (result) {
                vm.courses = result.items;
            })
        
            ;
        }

gives internal server error data

if i comment the public virtual Educator educator { get; set; } in the coursedetails it work fine , if i uncomment it fails

please tell me how to define vm.course in index to recieve multi level

In the frontend i wish to add a page called readmore and on click of link from homepage 'read more' i want to call this page can you please tell me how

I created a details.cshtml page in home directory and put a href in read more to this page it does not load i even tried defining the detail page in the frontendnavigationprovide and PageNames.Frontend.CourseDtl,

it still does not work

Thanks Anwar

Showing 121 to 130 of 130 entries