So I have yet another DurandalJS question. So I have a few widgets that are pretty much self contained. They render or hide themselves depending on whether the current user is logged in or not e.g. I have a widget that displays the current users name...
I've managed to get a simple router working and even created a child router for my submenu but there are one or two things I'm not sure of why they're there. The docs give you a basic leg up and then you're on your own.  So I'm re...
Starting to pull my hair off!  I am creating an object using Breeze (the metadata is coming from a web api server).  The server side looks like this:  public class Product {     public int ProductId { get; set; }     public String Name { get; set; }...
I have a widget that has a drop down list, that needs to be refreshed every time I go to the view.  Is there a callback that I can use in the widget's viewmodel, that is called everytime the widget is used? Something that behaves exactly like a r...
I'm a Beginner trying to learn SPA / Durandal, Knockout etc...  Need some help with my routes for a Admin drop down button.  Here are my routes in the shell.js so far:  var routes = [             { route: '', moduleId: 'home', tit...
How is one supposed to properly dispose of a widget in v2.0? From what I have read this is supposedly done automagically when removed from the DOM, but removing my widget from the DOM using say jQuery.remove() doesn't cause canDeactivate() or dea...
When using the following Durandal child router plugin configuration, I'm not getting the detached and activate events described in the Durandal lifecycle, while other events work.   It is a single page application, with the childRouter controllin...
Here is unusual scenario I'm trying to implement: I got gmap module where Google Maps is asynchronously loads. I'm using following code to properly attach Google Maps:   composition.addBindingHandler('googleMap', {         init: funct...
Requirement: I will be getting json data using REST service from a server. That json data will tell me the what type of controls (ControlID) to present to the user and what is that data that needs to be inserted in those controls. So, the basic need...
I'm new to Durandal, my question has probably a very simple issue.  I load a list into a dropdown and the current value on the link which display the dropdown,  And the value of the link which display the dropdown is not updated correctly when an...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.