override grouping of radiobuttons

Posted on 2004-11-21
Last Modified: 2010-04-15
I want to make a custom control that extends radiobutton and allows me to specify the grouping, so does anyone know how radiobutton groupings work at a low level? This is in windows forms btw

Also points at this question:
Question by:eekj
    LVL 1

    Accepted Solution

    From what I can determine, your best bet to create your own grouping with radio buttons would be to extend checkboxes or button base.  Basically what you'd want to do is reference back to parent, and check for other instances of your control within the same group and uncheck them when a particular instance is checked.

    There may be a method of the radio button control that you could override to provide this same functionality, but i don't see anything obvious.

    Good luck...
    LVL 3

    Author Comment

    Thanks mate, problem solved using AutoCheck = False

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now