SPA
please tell me how can i pass 2 parameters in href to the controller
Thanks
Do you have an example of star rating ?
i would like to implement the same..
Thanks
jquery.fancybox-media.js:89 Uncaught TypeError: Cannot read property 'helpers' of undefined(anonymous function) @ jquery.fancybox-media.js:89(anonymous function) @ jquery.fancybox-media.js:199 jquery.min.js:4Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check <a class="postlink" href="https://xhr.spec.whatwg.org/">https://xhr.spec.whatwg.org/</a>.
my code
@section Scripts { <script src="~/Common/Scripts/jquery.fancybox.js"></script> <script src="~/Common/Scripts/jquery.fancybox-media.js"></script>
<script type="text/javascript">
$(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');
});
});
</script>
}
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
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
};
});
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>
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
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