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

how to prevent checkbox from checking

2 Answers 74 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ilija
Top achievements
Rank 1
Ilija asked on 26 Jan 2012, 11:49 AM
Hi i have a contextmenu inside a ItemTemplate. I want to prevent the listboxitem to be checked when the contextmenu is activated, but not when the listbox item is selected (tapped). Is this possible? Thank you.

2 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 30 Jan 2012, 09:50 AM
Hi Ilija,

As far as I understand your scenario - yes, it is possible. If, you, however are having difficulties in implementing it, I would kindly like to ask you to prepare a sample project demonstrating your approach and send it to us by opening a new Support ticket (as you're not able to attach a file in a Forum thread).

Thanks for your time.

Kind regards,
Deyan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Ilija
Top achievements
Rank 1
answered on 31 Jan 2012, 08:56 AM
I have already found a solution. I uncheck the items when the contextmenu is openening. The checkbox should have something like a "isCheckedOnItemSelection" to prevent it from checking and to make it bindable, so that is more flexible. Anyway - continue the good work! Thank you.
Tags
DataBoundListBox
Asked by
Ilija
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Ilija
Top achievements
Rank 1
Share this question
or