prism

Silverlight/Prism injecting stackpanel into view from viewModel

I have a StackPanel in my View: <StackPanel x:Name="VariablesPanel"></StackPanel> And I want to add into this StackPanel other StackPanel which I build in ViewModel. this._unityContainer.Resolve<DeductionView>().VariablesPanel.Children.Add(allStackPanel); and it doesn't work... I have no idea why... If i use this method in codebehi...

Can't install Prism...??

Should have been simple but I guess not.. I downloaded the Prism 2.2 source and the Prism Prism 4.0 Drop 3 source and they both do the same thing. I run the installer and click "Yes" to agree to the terms and then it loads but no files are put on my computer. Anyone? ...

Prism - Acceptance Tests

Hi, The Prism AcceptanceTests fail with the following message - Normal Deployment item issue. Could not find file '.\Commanding.Tests.AcceptanceTest\bin\Debug'. Commanding.Tests.AcceptanceTest.Desktop.CommandingDesktopFixture.DesktopApplicationLoadTest What's going on here? All the Project White binaries are in place. The Accep...

Help on WPF Databinding to ViewModel Property (Prism)

Greetings guys, hopefully somebody has fresher eyes and can help me pinpoint the problem here, I'm trying to create a small app with prism and the MVVM pattern, everything was working nicely up to this point, my commands are firing properly with the argument, however, the TextBlock here is not binding to the CurrentUserKey property from ...

Using Prism, how do I register my user control inside the unity boot strapper?

I am using Prism (Composite Application Framework) to build an application. I have my shell created and it has three regions( Main, menu, switchboard). I would like to load my switchboard region in the shell with a switchboard user control but in this case, I don't want to load it through a module. So, how do I register my view (switchb...

.NET Presentation Tier Architecture / Blueprint for Line of Business Systems

We are revisiting our presentation tier architecture as a blueprint for future new, and re-written business systems (Just the presentation tier), using Microsoft technology stacks. We have around 30 .NET systems (2, 3 and 3.5), about 60% of which are web based (CWAB + Web Forms) and 40% Smart Client (using CAB / SCSF, WinForms) All syst...

WPF Prism Master Details form

Hi, I am creating an application using WPF which is using Prism framework. I have created Shell form and defined regions in that for Toolbar, Menubar and Workspace. In the workspace area, i am able to load the modules, but I got one requirement where I have to load Employee Master form showing all the employee list in grid. On double cl...

WPF Prism Entity Frameword repository

Hi., I am a bit lost. Im building a WPF application using the PRISM guidance, I want to use the Entity Framework 4 for a data repository. I have previously developed a Silverlight app. using Prism and WCF RIA Services which worked great as all my components is decoupled. So what is the best way of getting data in my WPF application in...

Silverlight: how to handle standard assemblies

A usual Silverlight task: to make the size of xap-file smaller. There are a lot of hot-to-do manuals that explain how to make your application modular. But I didn't find anyone that explains how to make "modular" standard libraries. The biggest part of my xap-file (1.7Mb, when overall size is 1.8Mb) is occupied by standard assemblies: a...

Prism and Regions

0Hi I have a shell in which i have a region "MainContentRegion" set. In that region i load this view: <UserControl x:Class="CustomControls.MainContent" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:cal="http://www.codeplex.com/Composit...

WPF Prism Updating ViewModel

Hi, I am new to Prism WPF world, have one simple question. I have registered my view and viewmodel in the module initialise method like below var navigatorView = new NavigationMenu.View.NavigationBarView(); navigatorView.DataContext = m_Container.Resolve<NavigationMenuViewModel>(); var regionManager = m_Contain...

Handling Page Size Change Events with Prism and Event Aggregator

I need to capture when the Page_SizeChanged event fires in a WPF Browser application and publish the event through the Prism EventAggregator. Since the page I am interested in happens to be the Shell page, I don't have a ViewModel attached where I can access the eventaggregator. ...

Prism, Regions, Magic strings and refactoring : am I missing something here ?

Hello, chaps. To build a composite application view in my application, with different regions, untill now, I've always used content presenter and used DataBinding to set its content. If I wanted to change its content, I would just have to use an event aggregator, publish a ViewZoneChangedEvent, subscribe to it in the "shell" window, an...

how can i install shineOn in Delphiprism?

how can i install shineOn in Delphiprism? I download ShineOn package for useing old's delphi functions such as inttostr and ... but i can istall or add them in my delphi area. Please help me. Regards ...

Using MAF with Prism or CAL

Hi I am in processes of migrating my CAB application to Prism. And facing a specific request of having all the modules hosted in the shell be in different Appdomain. Was thinking of using MAF to achive this... Can any one give me some heads up on how to go about it.. Thanks in advance Vikram ...

How to register custom module manager in PRISM?

Hi, I've created some simple custom ModuleManager in my silverlight application based on PRISM. I also registered this type in bootstrapper, but PRISM still use the default manager. The constructor of my CustomModuleManager is called, but the property ModuleTypeLoaders is never accessed. I can't figure it out, how can I make it work prop...

Configure and expose a singleton to all modules in a MEF/PRISM application

I have an application (just a test) which uses MEF and PRISM. It's quite easy to load some exports that conform to specific interfaces and pass them to the constructor of the modules that are being loaded, but I'm trying to do something different. When the application starts, it imports an implementation of IControllerClient. The creat...

Prism regions not displaying registered views

I'm using PRISM in a SilverLight 4 application. I have a problem where views registered to some regions doesn't get displayed. When loading a module at startup I register some views to regions as follows: RegionManager.RegisterViewWithRegion("MyRegion1", typeof(IMySubView1)); RegionManager.RegisterViewWithRegion("MyRegion2", typeof(IMy...

IActiveAware Interface in Prism

Can someone shed some light on active aware interface is in Prism, how it helps delegate command. ...

PRISM exception on not existing method

Hello, I am using PRISM for Silverlight 4.0 in one of my projects where I also access Sharepoint 2010. The strange thing is that randomly I get the error: An exception occurred while initializing module 'SharepointServiceModule'. - The exception message was: Die Methode add_GetListCompleted im Typ SharepointServiceModule.Serv...