how to prevent checkbox from checking

3 posts, 0 answers
  1. Ilija
    Ilija avatar
    8 posts
    Member since:
    Jan 2012

    Posted 26 Jan 2012 Link to this post

    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. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 30 Jan 2012 Link to this post

    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 >>

  3. DevCraft banner
  4. Ilija
    Ilija avatar
    8 posts
    Member since:
    Jan 2012

    Posted 31 Jan 2012 Link to this post

    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.
Back to Top