I've got another post out there but it's getting too long and I keep figuring something out and then asking a new question, so I figured it would be best just to start clean. I'm trying to get my own version of the sales dashboard working in vb.net. I am new to Silverlight so I am struggling with a few of the concepts and how things are working in the demo. I do have the code. I think if I could understand a few of these larger concepts I would be much better off and not have to ask as many questions. :-)
So I have gotten to the point where I have the Shell project, the Common project, and one module (the listbox control for salesperson selector). I have been unsuccessful trying to get the listbox control to work with the service proxy but I do have the control working when I have a direct reference to the service and I run that control seperately (in it's own test page). However, when I run the shell project the background comes up, the left region (salesperson selection region) is displayed, but the listbox control (representatives module) does not get loaded into the region and the breakpoints in that project never get loaded. So what I don't understand is how in the shell.xaml file this code works:
How does the DashboardControl know to load the RepresentativesModule into this region? I don't see any reference to the Regpresentatives Module or control anywhere in the common project where the DashboardControl.xaml resides. Any help with how this all works is greatly appreciated.
Thanks!
So I have gotten to the point where I have the Shell project, the Common project, and one module (the listbox control for salesperson selector). I have been unsuccessful trying to get the listbox control to work with the service proxy but I do have the control working when I have a direct reference to the service and I run that control seperately (in it's own test page). However, when I run the shell project the background comes up, the left region (salesperson selection region) is displayed, but the listbox control (representatives module) does not get loaded into the region and the breakpoints in that project never get loaded. So what I don't understand is how in the shell.xaml file this code works:
<
common:DashboardControl
Regions:RegionManager.RegionName
=
"RepresentativesRegion"
Title
=
"Sales Representatives"
Grid.Row
=
"1"
Grid.RowSpan
=
"2"
/>
How does the DashboardControl know to load the RepresentativesModule into this region? I don't see any reference to the Regpresentatives Module or control anywhere in the common project where the DashboardControl.xaml resides. Any help with how this all works is greatly appreciated.
Thanks!