Advanced Forum Search Results
-
You need to indicate the name of the attribute in elements.Attributes
-
Depends on what you want your user experience to be. Personnaly, I would prefer to handle it completely in Silverlight so authentication can be handled within the application for a seamless transition into the application proper.
-
Hi Peter,
I don't see that you are supplying a datacontext for the binding. This is generally done by setting the datacontext on the page, or other container for you control, to the class that has the property you are binding too.
For example:
<Grid x:Name="LayoutRoot" Background="White" ...
-
Well the answer to my own question is RTFM. :)
From the "Breaking changes" document:
System.Windows.Controls.Extended.dll renamed to System.Windows.Controls.dll
Who Is Affected: Anyone who uses the extended controls (Calendar, DatePicker, TabControl and GridSplitter).
Fix Required
Change all references from ...
-
The date picker control no longer appears in blend, visual studio or the running app. I have tried creating a fresh project, added the extended control library and placed a datepicker on an empty page, and nothing.
I suspect this is a version issue as my core assemblies show a file version of 2.0.30930.0 while my extended and ...
-
Is there no way to do this, or has nobody tried?
Alternatively, what would be the way to bind the click action of a listbox to a command (see Application Guidance spike: http://weblogs.asp.net/ezequieljadib/archive/2008/08/06/silverlight-amp-composite-application-guidance-prism-spike-published.aspx)
-
True, but that violates the MVVM design pattern. I am trying to loosely couple the UI and business layer. Is there any way to bind to a property outside of the current data context? What if I wanted to bind to a property on the user control for a textbox within an itemtemplate?
-
One button per item. The idea being that the user clicks on a button coresponding to the row to launch the details view.
-
Thanks for the response.
Actually, I'm trying to bind the button to a property on the user control's data context which is assigned in code so it is not a resource in the markup. What would "YourOtherSource" be?
The code looks something like this:
var view = new EmployeeListView() { ViewModel = ...
-
I have view (cutsom control) with a datacontext set to a ViewModel (class) and a listbox as follows:
<ListBox ItemsSource="{Binding Path=EmployeeList}" Height="100" SelectedItem="{Binding Path=SelectedEmployee, Mode=TwoWay}">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel ...