Hi,
Recently we started using Q2 2009 controls so we have replaced the old binaries with the new one...
Now we have started getting an errors... "Ambiguous Reference for ListSortDirection"
The error is
Error 1 The type 'System.ComponentModel.ListSortDirection' exists in both 'c:\Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v3.0\system.dll' and 'd:\Chintan\CRM\10 - References\Assembly References\Referred\System.Windows.Controls.Data.dll' C:\Documents and Settings\******\My Documents\Visual Studio 2008\Projects\SilverlightApplication1\SilverlightApplication1\MainPage.xaml.cs
If we remove the reference of System.Windows.Controls.Data.dll it asks to add the reference of this assembly and if we keep it then it shows ambiguous reference error.
Could you please help us to resolve this, actually we are trying to add the sortdescriptor following way and the error is on the line 12th
even i have uploaded the sample application on http://rapidshare.com/files/253138964/SilverlightApplication1.rar.html
the binary version is 2009.2.701.1020
Thanks,
Recently we started using Q2 2009 controls so we have replaced the old binaries with the new one...
Now we have started getting an errors... "Ambiguous Reference for ListSortDirection"
The error is
Error 1 The type 'System.ComponentModel.ListSortDirection' exists in both 'c:\Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v3.0\system.dll' and 'd:\Chintan\CRM\10 - References\Assembly References\Referred\System.Windows.Controls.Data.dll' C:\Documents and Settings\******\My Documents\Visual Studio 2008\Projects\SilverlightApplication1\SilverlightApplication1\MainPage.xaml.cs
If we remove the reference of System.Windows.Controls.Data.dll it asks to add the reference of this assembly and if we keep it then it shows ambiguous reference error.
Could you please help us to resolve this, actually we are trying to add the sortdescriptor following way and the error is on the line 12th
public partial class MainPage : UserControl | |
{ | |
public MainPage() | |
{ | |
InitializeComponent(); | |
RadGridView gv = new RadGridView(); | |
gv.SortDescriptors.Add(new SortDescriptor() | |
{ | |
Member = "FirstName", | |
SortDirection = ListSortDirection.Ascending | |
}); | |
} | |
} |
even i have uploaded the sample application on http://rapidshare.com/files/253138964/SilverlightApplication1.rar.html
the binary version is 2009.2.701.1020
Thanks,