Search Results

Search found 2 results on 1 pages for 'jimmysavile'.

Page 1/1 | 1 

  • Silverlight DataStateBehavior, initial value not used

    - by JimmySavile
    Hi, I am trying to use the Silverlight DataStateBehavior, it works fine in most cases where I click a button which sets say a 'Selected' Property in the view model to either false or true. The DataStateBehavior then tells the VisualStateManager to go to the relevant state. Like this: <Button...> <i:Interaction.Behaviors> <id:DataStateBehavior Binding="{Binding Selected}" Value="True" TrueState="SelectedVisualState" FalseState="DeselectedVisualState"/> </i:Interaction.Behaviors> </Button> The above works fine. What I am trying to do though is to get it to set the correct state when the application loads, if I were to set the 'Selected' property on the view model to true by default I wouldn't see any changes in the UI until I clicked the button to change the viewmodel property. I know there are several classes involved with the DataState stuff including: BindingListener.cs ConverterHelper.cs DataStateBehavior.cs DataStateSwitchBehavior.cs DataTrigger.cs Any clues would be good, Thanks

    Read the article

  • Silverlight running in IE kiosk mode

    - by JimmySavile
    Hi, We are having a weird problem where by we are running a silveright application in IE8 kiosk mode, the shortcut is added to windows startup. The silverlight app runs on localhost. It all works fine until you reboot, IE displays "navigation to the webpage was canceled" when it loads. Yet the shortcut works fine, if you close IE and manually go into the startup folder and run the shortcut, or run the same shortcut from the desktop. I assume there is some sort of timing issue but have no idea what. Tried using 127.0.0.1 instead of localhost incase DNS hadn't been properly initialised at that point or something. Maybe an IIS initialisation problem? Anyone have any ideas? Thanks for your time

    Read the article

1