Click here to Skip to main content
15,915,093 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: How to create channel factory for Sync Wcf contract? Pin
Michael Sync23-Jul-09 7:41
Michael Sync23-Jul-09 7:41 
GeneralRe: How to create channel factory for Sync Wcf contract? Pin
Mark Salsbery23-Jul-09 7:47
Mark Salsbery23-Jul-09 7:47 
GeneralRe: How to create channel factory for Sync Wcf contract? Pin
pioner23-Jul-09 10:25
pioner23-Jul-09 10:25 
GeneralRe: How to create channel factory for Sync Wcf contract? Pin
Michael Sync23-Jul-09 19:38
Michael Sync23-Jul-09 19:38 
GeneralRe: How to create channel factory for Sync Wcf contract? Pin
pioner23-Jul-09 22:05
pioner23-Jul-09 22:05 
AnswerRe: How to create channel factory for Sync Wcf contract? Pin
Adriaan Davel23-Jul-09 19:44
Adriaan Davel23-Jul-09 19:44 
AnswerRe: How to create channel factory for Sync Wcf contract? Pin
DukeZ16-Aug-11 5:18
DukeZ16-Aug-11 5:18 
QuestionListView SelectedValue Binding issue Pin
bonkers12322-Jul-09 21:19
bonkers12322-Jul-09 21:19 
Hi all,

I have a simple listview that has a currently selected item binding as follow:
<ListView HorizontalAlignment="Left" Width="300" Name="ServiceListView" SelectionChanged="ServiceListView_SelectionChanged" SelectedValue="{Binding CurrentlySelectedService}" Grid.Row="0" Grid.RowSpan="2" Grid.Column="0">
      <ListView.View>
        <GridView>
          <GridViewColumn Header="Machine">
            <GridViewColumn.CellTemplate>
              <DataTemplate>
                <Label x:Name="ServiceNames" Content="{Binding ServiceController.MachineName}" />
              </DataTemplate>
            </GridViewColumn.CellTemplate>
          </GridViewColumn>
          <GridViewColumn Header="Service Names">
            <GridViewColumn.CellTemplate>
              <DataTemplate>
                <Label x:Name="ServiceNames" Content="{Binding ServiceController.ServiceName}" />
              </DataTemplate>
            </GridViewColumn.CellTemplate>
          </GridViewColumn>
          <GridViewColumn Header="Service status">
            <GridViewColumn.CellTemplate>
              <DataTemplate>
                <Label Width="80" x:Name="ServiceStatus" Content="{Binding ServiceController.CurrentStatus}" Background="{Binding ServiceController.ServiceStatusColour}" />
              </DataTemplate>
            </GridViewColumn.CellTemplate>
          </GridViewColumn>
        </GridView>
      </ListView.View>
    </ListView>


And obviously in the constructor I do the following to enable bindings:
DataContext = this;


The problem:
The binding to SelectedValue="{Binding CurrentlySelectedService}" works 100% (well, sort of).

In my DEV environment it works 100% and the currently selected item works 100%.
But for some or other reason when I deploy this to a Windows server 2003 box (with .Net 3.5 installed), the binding doesn't work anymore...
How can I debug this issue?
Has anyone experienced this problem before?

This is not my first time experiencing this problem. I've seen this a few times now, but it seems to be very PC specific. It will work 100% on one pc, and then completely FAILS on another.

Any help would be much appreciated.
AnswerRe: ListView SelectedValue Binding issue Pin
Pete O'Hanlon22-Jul-09 21:44
mvePete O'Hanlon22-Jul-09 21:44 
GeneralRe: ListView SelectedValue Binding issue Pin
bonkers12323-Jul-09 1:25
bonkers12323-Jul-09 1:25 
GeneralRe: ListView SelectedValue Binding issue Pin
Pete O'Hanlon23-Jul-09 2:54
mvePete O'Hanlon23-Jul-09 2:54 
QuestionVirtualisation in ComboBox Pin
SriBalupalakkattu22-Jul-09 20:55
SriBalupalakkattu22-Jul-09 20:55 
AnswerRe: Virtualisation in ComboBox Pin
Michael Sync23-Jul-09 6:09
Michael Sync23-Jul-09 6:09 
GeneralRe: Virtualisation in ComboBox Pin
Jeremy Likness26-Jul-09 3:03
professionalJeremy Likness26-Jul-09 3:03 
QuestionRSS using Silver light Pin
Nekkantidivya22-Jul-09 19:03
Nekkantidivya22-Jul-09 19:03 
AnswerRe: RSS using Silver light Pin
Michael Sync23-Jul-09 6:11
Michael Sync23-Jul-09 6:11 
QuestionMessage Removed Pin
22-Jul-09 4:06
professionalN_tro_P22-Jul-09 4:06 
AnswerRe: Binding Questioon Pin
Pete O'Hanlon22-Jul-09 4:34
mvePete O'Hanlon22-Jul-09 4:34 
Questionhow to get the scroll vertical and scroll horizantal for a page created in WPF Pin
Krishna Aditya22-Jul-09 4:04
Krishna Aditya22-Jul-09 4:04 
AnswerRe: how to get the scroll vertical and scroll horizantal for a page created in WPF Pin
#realJSOP22-Jul-09 4:24
professional#realJSOP22-Jul-09 4:24 
GeneralRe: how to get the scroll vertical and scroll horizantal for a page created in WPF Pin
Krishna Aditya22-Jul-09 4:29
Krishna Aditya22-Jul-09 4:29 
AnswerRe: how to get the scroll vertical and scroll horizantal for a page created in WPF Pin
Krishna Aditya22-Jul-09 4:24
Krishna Aditya22-Jul-09 4:24 
QuestionActive Directory in Silverlight Pin
GomathiR22-Jul-09 1:55
GomathiR22-Jul-09 1:55 
AnswerRe: Active Directory in Silverlight Pin
Mark Salsbery22-Jul-09 6:31
Mark Salsbery22-Jul-09 6:31 
AnswerRe: Active Directory in Silverlight Pin
Michael Sync23-Jul-09 6:15
Michael Sync23-Jul-09 6:15 

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.