durandal Questions

3

Solved

I work on an asp.net solution with the Durandal template. I try to use the koGrid (https://github.com/Knockout-Contrib/KoGrid) which is compatible with knockout. When inserting this grid in a test...
Adolfo asked 28/3, 2013 at 11:27

2

Solved

I'm currently evaluating Durandal for use in an enterprise ASP.NET MVC application. However the default conventions used by Durandal seem to conflict with the MVC conventions I've grown accustome...
Oddfellow asked 21/3, 2013 at 11:4

2

I am building a SPA application using Durandaljs. When I enter a URL WITHOUT hash, it shows the error: HTTP error 404.0 - NOT FOUND. However, it is working fine WITH hash. Example: www.domain.co...
Lai asked 20/3, 2014 at 6:2

1

Solved

I am spending hours trying to get a simple event call working correctly in my durandal/knockout app. Context I have a list of languages that that the user can select from a select-box: <sele...
Gust asked 21/3, 2014 at 13:3

1

Solved

Context In my shell.html I have put a language selection into the header section. It looks like this: <select class="form-control select2" data-bind="options:languages, optionsText:'label',...
Protamine asked 20/3, 2014 at 18:30

1

Solved

I am getting "route not found" when I try to use child routing. To cover my bases, here is how the routing in the application is designed. The main.js file contains routing for the top navigation...

1

Solved

I wish to make a Durandal custom dialog that adds a window frame with title and footer around an existing composable viewmodel. I have made a customModal.html template <div class="messageBox"&...
Veliz asked 17/2, 2014 at 6:12

8

Solved

I got the DurandalJS StarterKit template on VS2012... All works great... But in some views I need to do something like that: @if (Roles.IsUserInRole("Administrators")) { <p>Test</p> ...
Cobby asked 20/2, 2013 at 14:7

1

Solved

I have a SPA application using Durandal. My program starts to have a http request periodically: http://localhost:1551/f9750d8f8aa54265835e72d56d23144a/arterySignalR/poll?transport=longPolling&amp...

4

Solved

I develop an asp.net mvc solution with durandal/breeze. I have a dropdown where list is populated from an Enum provided by Entity Framework Code First. Here is the model server side: public enum ...
Polygnotus asked 31/3, 2013 at 17:6

2

Solved

I would like to use Grunt to build a Durandal project, because Weyland remains completely undocumented and isn't as standard as Grunt. To do this, the grunt task needs to pull in all the js and ht...

2

I am working on a SPA that I would like to use multiple master views. Here is my use case: I have a user that has a profile page. Within that profile page I would like to be able to display a coup...
Lupercalia asked 8/5, 2013 at 2:4

2

Solved

I can easily show a loading message while the activate method is doing its thing like so: <div data-bind="compose:ActiveVm"> <div class="text-center" style="margin : 75px"> <i cl...
Udela asked 19/12, 2013 at 18:8

2

Solved

I'm having a look at the Hot Towel template, and trying to get it to work in TypeScript, I've encountered a problem converting the shell viewmodel. I'm trying to translate this into TS, and it make...
Enure asked 31/3, 2013 at 10:24

4

Solved

this is my first post, so wish me luck :) I want to use hot towel(durandal) + typescript , i followed these threads: - how-can-i-use-a-class-for-my-shell-viewmodel-in-durandal - how-to-use-fancybo...
Diplodocus asked 19/5, 2013 at 10:56

1

Solved

We've been trying to get our PhoneGap 2.9, Durandal 2.0 application working on Windows Phone 8. We've been able to follow the steps to deploy the application to the emulator and to the device via v...
Palacio asked 22/10, 2013 at 16:42

1

Solved

I've building an app, and wanting to show a 2-tier menu, with both tiers always available. Durandal 2.0 introduced their new router, which supports 'child routers', which allow for easier deeplinki...
Outreach asked 20/10, 2013 at 22:31

3

Solved

I've still not quite got a complete understanding of promises so apologies if this is a simple misunderstanding. I have a function for deleting an item on a page but I have a specific behaviour de...
Apraxia asked 21/10, 2013 at 22:45

2

Solved

TL;DR What is a good pattern for requiring a user to login in order to view certain pages in a Durandal Single Page Application (SPA)? I need a system whereby if a user attempts to navigate to a "...
Demilitarize asked 6/9, 2013 at 10:7

1

I have a Single Page Application (SPA) built with DurandalJS v1.2 that integrates with a payment gateway. The SPA will go off to the payment gateway's page by doing a normal form POST to their page...

3

Solved

I'm using the Hot Towel SPA project I'm trying to call a simple js function when a view is activated. What I'm seeing is that the item does not seem to be loaded when the activate function is calle...
Oratorian asked 8/5, 2013 at 15:15

2

Solved

I'm working with an SPA that will have many different areas, each with several pages. My boss really doesn't want dozens of views and viewmodels folders with a few items in each one. How do I confi...
Embolism asked 14/6, 2013 at 21:5

2

Solved

I'm using Durandal 1.2 and the Durandal Router Plugin and wanting to track page views in the SPA through Google Analytics: window._gaq.push(['_trackPageview', location.pathname + location.search + ...
Jacindajacinta asked 5/6, 2013 at 23:15

1

Solved

I'm using the VSIX Durandal template (version 2.0). The previous version (1.2) had an optimizer.exe which could be run as part of the build process. I think Weyland has replaced this but I'm not su...
Chook asked 28/8, 2013 at 9:2

1

Solved

Is it possible to replace the default router behavior in Durandal 2.0 to replace the default route for example: 'mysite.com/#/myroute' with 'mysite.com/#!/myroute' the reason being is that in order...
Fiddlewood asked 25/8, 2013 at 10:49

© 2022 - 2024 — McMap. All rights reserved.