Click here to Skip to main content
15,884,986 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF / MVVM Get Data From ViewModel Pin
SledgeHammer0120-May-13 16:16
SledgeHammer0120-May-13 16:16 
GeneralRe: WPF / MVVM Get Data From ViewModel Pin
Kevin Marois15-Jun-13 10:37
professionalKevin Marois15-Jun-13 10:37 
Questionweb services Pin
picasso212-May-13 12:54
picasso212-May-13 12:54 
AnswerRe: web services Pin
Abhinav S12-May-13 18:29
Abhinav S12-May-13 18:29 
GeneralRe: web services Pin
picasso212-May-13 20:21
picasso212-May-13 20:21 
QuestionHow to acheive the given layout in Silverlight? Pin
New Coder1239-May-13 22:55
New Coder1239-May-13 22:55 
AnswerRe: How to acheive the given layout in Silverlight? Pin
Abhinav S12-May-13 7:47
Abhinav S12-May-13 7:47 
QuestionSL application does not works-nothing change Pin
picasso28-May-13 18:48
picasso28-May-13 18:48 
XML
I have a SL application that I have been working. Make little changes and save a back up so I can roll it back if a problem so I have a few backups.
Today I open the project and the page generated an error.  Although I can compiled successfully, the error is when I view page in designer. " ArgumentException was thown on parameter": The myMethod method does not have an argument that matches the querParameter collection".
Then I tried to load a previous project and shows the same thing, as of matter of fact, all of them have the same problem now.  What a…!!!
Problem points to
                <riaControls:Parameter ParameterName="argType" Value="{Binding ElementName=argTypeTextBox, Path=Text}" />

The code is below.  Any help is greatly appreciated



<navigation:Page x:Class="EclipseMTX.Views.Protons"
           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: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="1200" d:DesignHeight="724"
           Title="Protons Page" BorderBrush="#FF834F4F" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:riaControls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.DomainServices" xmlns:my="clr-namespace:EclipseMTX.Web">
        <Grid x:Name="LayoutRoot" Background="#FF0E0E0E" Width="1196" Height="728">
        <sdk:DataGrid AutoGenerateColumns="True" AutoGeneratingColumn="DGPro_AutoGeneratingColumn" Height="263" HorizontalAlignment="Left" Margin="135,86,0,0" Name="dataGrid1" VerticalAlignment="Top" Width="1049" Background="#F3333333" Foreground="WhiteSmoke" RowBackground="#F3333335" VerticalScrollBarVisibility="Disabled" />
        <sdk:Label Height="45" HorizontalAlignment="Left" Margin="439,28,0,0" Name="label1" VerticalAlignment="Top" Width="324" Content="Proton Installed base" Foreground="WhiteSmoke" FontSize="28" />
        <sdk:DataPager Height="26" HorizontalAlignment="Left" Margin="135,347,0,0" Name="dataPager1" PageSize="10" VerticalAlignment="Top" Width="1051" Background="#F3333333" Cursor="Hand" Foreground="WhiteSmoke" />
        <Button Content="Run Query" Height="23" HorizontalAlignment="Left" Margin="19,355,0,0" Name="button1" VerticalAlignment="Top" Width="102" Click="button1_Click" />

       <riaControls:DomainDataSource AutoLoad="False" d:DesignData="{d:DesignInstance my:Proton, CreateList=true}" Height="0" LoadedData="protonDomainDataSource_LoadedData" Name="protonDomainDataSource" QueryName="GetProtonsFiltered" Width="0">
            <riaControls:DomainDataSource.DomainContext>
               <my:EclipseMTXDomainContext />
            </riaControls:DomainDataSource.DomainContext>
            <riaControls:DomainDataSource.QueryParameters>
                <riaControls:Parameter ParameterName="argType" Value="{Binding ElementName=argTypeTextBox, Path=Text}" />
                            </riaControls:DomainDataSource.QueryParameters>
        </riaControls:DomainDataSource>
        <StackPanel Height="30" HorizontalAlignment="Left" Orientation="Horizontal" VerticalAlignment="Top"></StackPanel>
        <sdk:Label Height="28" HorizontalAlignment="Left" Margin="19,58,0,0" Name="label3" VerticalAlignment="Top" Width="120" Content="By Vendor" Foreground="WhiteSmoke" FontSize="18" />
        <sdk:DataGrid AutoGenerateColumns="True" AutoGeneratingColumn="DGPCSN_AutoGeneratingColumn" Height="265" HorizontalAlignment="Left" Margin="135,421,0,0" Name="dataGrid2" VerticalAlignment="Top" Width="1049" Background="#F3333333" RowBackground="#F3333335" Foreground="WhiteSmoke" />
        <Button Content="Run Query" Height="23" HorizontalAlignment="Right" Margin="0,509,1084,0" Name="button2" VerticalAlignment="Top" Width="93" Click="button2_Click" />
        <ComboBox Height="23" HorizontalAlignment="Right" Margin="0,453,1068,0" Name="comboBox2" VerticalAlignment="Top" Width="120" SelectionChanged="comboBox2_SelectionChanged" />
        <sdk:DataPager Height="26" HorizontalAlignment="Left" Margin="135,687,0,0" Name="dataPager2" PageSize="10" VerticalAlignment="Top" Width="1047" Background="#F3333333" Foreground="WhiteSmoke" />
        <RadioButton Content="By PcSn" Height="33" HorizontalAlignment="Right" Margin="0,389,1075,0" Name="radioButton1" VerticalAlignment="Top" Foreground="WhiteSmoke" FontSize="18" Width="109" />
        <RadioButton Content="By T-Box" Height="33" HorizontalAlignment="Left" Margin="8,421,0,0" Name="radioButton2" VerticalAlignment="Top" Foreground="WhiteSmoke" FontSize="18" Width="131" />
        <TextBox Background="#FF0E0E0E" Height="34"  HorizontalAlignment="Left" Margin="668,387,0,0" Name="textBox1" VerticalAlignment="Top" Foreground="WhiteSmoke" FontSize="12" Width="428" BorderBrush="Black" />
        <ListBox HorizontalAlignment="Left" Margin="12,86,0,0" Name="listBox1" Width="120"  Background="#F3333333" Foreground="WhiteSmoke" Height="263" VerticalAlignment="Top" />
    </Grid>
</navigation:Page>

AnswerRe: SL application does not works-nothing change Pin
Abhinav S12-May-13 7:45
Abhinav S12-May-13 7:45 
QuestionBinding issues with Treeview C# WPF Pin
bartbartb2-May-13 11:41
bartbartb2-May-13 11:41 
AnswerRe: Binding issues with Treeview C# WPF Pin
Kenneth Haugland3-May-13 2:22
mvaKenneth Haugland3-May-13 2:22 
AnswerRe: Binding issues with Treeview C# WPF Pin
Mycroft Holmes9-May-13 12:23
professionalMycroft Holmes9-May-13 12:23 
QuestionVisualTreeHelper.HitTest / RectangleGeometry not working... Pin
SledgeHammer012-May-13 7:26
SledgeHammer012-May-13 7:26 
AnswerRe: VisualTreeHelper.HitTest / RectangleGeometry not working... Pin
Kenneth Haugland2-May-13 7:38
mvaKenneth Haugland2-May-13 7:38 
QuestionTab Closing Problem Pin
Kevin Marois1-May-13 20:14
professionalKevin Marois1-May-13 20:14 
AnswerRe: Tab Closing Problem Pin
AlphaDeltaTheta3-May-13 4:49
AlphaDeltaTheta3-May-13 4:49 
QuestionAsynchronous Call Using MVVM Pin
jonkjon29-Apr-13 10:21
jonkjon29-Apr-13 10:21 
AnswerRe: Asynchronous Call Using MVVM Pin
SledgeHammer0129-Apr-13 10:32
SledgeHammer0129-Apr-13 10:32 
GeneralRe: Asynchronous Call Using MVVM Pin
jonkjon29-Apr-13 10:48
jonkjon29-Apr-13 10:48 
Questionwin32 window as c# wpf control Pin
mkusnjer29-Apr-13 8:58
mkusnjer29-Apr-13 8:58 
AnswerRe: win32 window as c# wpf control Pin
SledgeHammer0129-Apr-13 9:28
SledgeHammer0129-Apr-13 9:28 
GeneralRe: win32 window as c# wpf control Pin
mkusnjer30-Apr-13 5:19
mkusnjer30-Apr-13 5:19 
GeneralRe: win32 window as c# wpf control Pin
SledgeHammer0130-Apr-13 10:58
SledgeHammer0130-Apr-13 10:58 
GeneralRe: win32 window as c# wpf control Pin
mkusnjer1-May-13 8:31
mkusnjer1-May-13 8:31 
GeneralRe: win32 window as c# wpf control Pin
SledgeHammer011-May-13 10:46
SledgeHammer011-May-13 10:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.