This is a migrated thread and some comments may be shown as answers.

ToggleSwitch Buttons in List

1 Answer 34 Views
ToggleSwitch
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
janiss
Top achievements
Rank 1
janiss asked on 05 Aug 2013, 08:22 AM
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.

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 08 Aug 2013, 07:06 AM
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 >>
Tags
ToggleSwitch
Asked by
janiss
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or