How do I conditionally bind data to a combo box? I have a combo box that by default should display an ID. However, if the user checks a check box then the display should display both the ID and a NAME
In Ninject 1.0 I had following binding definitions: Bind<ITarget>().To<Target1>().Only(When.Context.Variable(\"variable\").EqualTo(true));
I want to use conditional binding in ninject, based on passed parameters. I have something like below: