ToggleSwitch Buttons in List

2 posts, 0 answers
  1. janiss
    janiss avatar
    7 posts
    Member since:
    Nov 2012

    Posted 05 Aug 2013 Link to this post

    Whats the best way to disable initial binded Command  execution, if toggleswitch button is in datatemplate of the datatabound list. The problem exists in particular, that command executes when boolean "IsChecked" is set to true by default through binding and ItemsCollection list is applied on page load.
  2. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 08 Aug 2013 Link to this post

    Hello Janis,

    Thanks for writing.

    I am not quite sure that I correctly understand your questions, but I guess you want to manually execute a binding. While this is not entirely possible (once you have a binding it will always automatically trigger), you may want to take a look at this article and the Updating the Data Source section in particular:

    http://msdn.microsoft.com/en-us/library/windowsphone/develop/cc278072(v=vs.105).aspx

    I hope this helps.

    Regards,
    Deyan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top