Hi all.. while I try to recompile my solution on Silverlight 3, I found this problem.. anyone who knows what assembly or referenced that I missed?
Error 2 The type 'riaControls:ControlParameter' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. C:\Users\Silverlight3\Desktop\REVDemocode\WCFRIAServices\HRApp\HRApp\Views\EmployeeList.xaml
41 34 HRApp
raccoon
Member
69 Points
135 Posts
WCF RIA Services shows error on riaControl:ControlsParameter
Jan 12, 2010 01:12 PM | LINK
Hi all.. while I try to recompile my solution on Silverlight 3, I found this problem.. anyone who knows what assembly or referenced that I missed?
Error 2 The type 'riaControls:ControlParameter' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. C:\Users\Silverlight3\Desktop\REVDemocode\WCFRIAServices\HRApp\HRApp\Views\EmployeeList.xaml 41 34 HRApp
on my XAML i have used xmlnamespace as below:
<navigation:Page
xmlns:riaControls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Ria.Controls" xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" x:Class="HRApp.EmployeeList" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:ds="clr-namespace:HRApp.Web" xmlns:riaData="clr-namespace:System.Windows.Data;assembly=System.Windows.Ria.Controls" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" d:DesignWidth="640" d:DesignHeight="480" Title="EmployeeList Page">
wcf riaControl:ControlsParameter
"Silverlight Singapore" on Facebook.
raccoon
Member
69 Points
135 Posts
Re: WCF RIA Services shows error on riaControl:ControlsParameter
Jan 12, 2010 01:54 PM | LINK
Hi all, I have found the error,
it was suppose to be riaData:ControlsParameter in my XAML not riaControls as the xml namespace.
this is the correct code:
<riaControls:DomainDataSource.FilterDescriptors>
<riaData:FilterDescriptorCollection>
<riaData:FilterDescriptor PropertyPath="VacationHours" Operator="IsGreaterThanOrEqualTo">
<riaData:ControlParameter ControlName="vacationHoursText" PropertyName="Text" RefreshEventName="TextChanged" />
</riaData:FilterDescriptor>
</riaData:FilterDescriptorCollection>
</riaControls:DomainDataSource.FilterDescriptors>
"Silverlight Singapore" on Facebook.