Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > General Discussions > radio button, check box
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

radio button, check box

Feed from this thread
  • gold avatar

    Posted on Aug 3, 2006 (permalink)

    Hello telerik staff,

    Are there telerik radio button and check box controls?

    The standard controls are not nearly as nice as telerik controls.

    gold

  • Paul Paul admin's avatar

    Posted on Aug 3, 2006 (permalink)

    Hello gold,

    You could achieve your goal by manually setting the desired skin's CSS classes on your regular textbox. Most of the JavaScript we use is not related to the control appearance - we have hooked up to some of the input events (onfocus, onblur, onmouseover, onmouseout), and we are changing the textbox css class (on the client-side - className) property there, using JavaScript. You can achieve the same result easily, and yes, it will be cross browser compatible.

    In addition, please find attached the WebBlue theme skins for the rest of the html controls.
    We have tried to include the most common html elements, and you can preview them along with their responding html tags in the Example.html file.

    Let me explain the logic of the skinning:

    In order to make things more flexible, we have included a global CssClass, named .WebBlueGlobal, containing the most common css rules that will apply to the html elements on the page - color and font (relevant to the rules used in r.a.d.controls skins). Next, we have declared subclasses for the different html controls, that will use the theme - .button, .link, .textfield, .h1 - .h6, etc, and their names will not be changed for the other common skins we have created - telerik, inox, mac, etc. You can add as many selectors as you need for your project.

    For example, if we want to apply a theme for a submit button, we need to use double css classes, i.e:

    <input type="submit" class="WebBlueGlobal button" value="Submit" />

    This type of css class application will facilitate the easier theme changing, and on the other hand will prevent class discrepancies with other stylesheets, or explicitly declared rules.


    All the best,
    Paul
    the telerik team
    Attached files

  • gold avatar

    Posted on Aug 3, 2006 (permalink)

    Hello Paul,

    Thank you very much for a very lengthy and usefull, in a sense, answer.
    But I asked an entirely different question:
    The radio button and check mark HTML elements have a, well, radio button and a box to put the check in. This are ugly allways black and can't be changed.
    I asked if there is a way to change specifically those parts int those elements, or if you have nice replacement components.

    TIA
    gold

  • Martin Ivanov Martin Ivanov admin's avatar

    Posted on Aug 7, 2006 (permalink)

    Hello Gold,

    Unfortunately, there is no way to skin radiobuttons, checkboxes and comboboxes using the standard css approach, because these are not HTML controls, but system ones.

    Please, find attached a solution we have found. Let me explain the logic in short. We have created a <div> element with a script attached to it, that toggles two background images - the 'checked' and 'unchecked' state, and also changing the value of a hidden textfield to 'on' and 'off' at the same time. When the user submits the form, he or she actually submits the value of the hidden field. You can easily attach custom javascript or server-side validators, or persist the viewstate, and even set default value and corresponding image on page load, by using true / false statements, etc. As the masked checkbox uses only two images, you can create as many skins as you need for you project in no time.

    Hope you'll make use of this workaround. Please, do not hesitate to come back with further questions on this issue.


    Best wishes,
    Martin Ivanov
    the telerik team
    Attached files

  • gold avatar

    Posted on Aug 8, 2006 (permalink)

    Thank you very much Paul.

    I wonder why such useful controls are missing from the RAD arsenal.

    Would you consider adding them to your great package>

    gold 

  • Paul Paul admin's avatar

    Posted on Aug 10, 2006 (permalink)

    Thanks for the feedback, Gold. I'll forward your request to our dev team for future consideration. Since we develop new controls based on the number of requests we have for them, we will expect the opinion of other users concerning your request.

    Please keep sharing your feedback, as it will not remain overlooked. Our main goal is to continue improving our products and make them more attractive to clients.

    Greetings,
    Paul
    the telerik team

  • Robert Swafford Master avatar

    Posted on Aug 10, 2006 (permalink)

    Allow me to lend my support to the inclusion of checkbox and radio button controls...

    While they may not be the most glamourous controls, or have many different options for extra functionality, they're certainly used an awful lot and it would be great if we could apply the 'telerik touch' to skinning them along with the rest of our apps.

    If you guys do go ahead with it, it would be great to see checkboxlist and radiobuttonlist controls as well, maybe with a built-in context menu on the checkbox list ('Select All', 'Clear Selection', 'Invert Selection' etc options?).

  • Ivo Ivo admin's avatar

    Posted on Aug 14, 2006 (permalink)

    Hi Robert,

    Once again, thank you for the involvement.

    Your suggestions will definitely be taken into consideration once we start research and design. We can not commit to any specific time-frames yet as we already have several major things in our pipeline for this year but a suite of UI elements will be a nice addition to the r.a.d.controls package in the next year.

    Sincerely yours,
    Ivo
    the telerik team

  • Josh avatar

    Posted on Feb 17, 2010 (permalink)

    sorry to bump such an old thread, but was this never implemented? the asp.net radio button controls are terrible, and telerik version would be incredibly useful. if they are already included, where can I find info?

    if not, PLEASE consider creating such a control!

  • Sebastian Sebastian admin's avatar

    Posted on Feb 17, 2010 (permalink)

    Hi Josh,

    Thank you for the feedback, however I am not sure whether Telerik radio button control can expose other helpful features than skinning. Hence at this point you may consider using our RadFormDecorator to style regular radio buttons and checkboxes.

    Regards,
    Sebastian
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

  • Posted on Feb 17, 2010 (permalink)

    the form decorator was helpful to make it look nicer, but what I'm hoping for is simpler functionality, especially when it comes to client side stuff.

    with the default asp.net control, you have to link client-side events manually using Attributes.Add and this doesn't even always work...

    This would be especially helpful for toggling things on the client-side but still keeping the server-side access to values, especially if the client-side events were triggered by the control such as (itemselected, itemtrue, itemfalse, etc)...

    obout makes a radio button control and it WOULD be perfect, except that it is not compatible with the RadScriptManager, which of course I use...

    not to mention how horribly the default asp.net radiobuttonlist control renders (tables, really?!)

    I for one would find it quite useful :)

  • Sebastian Sebastian admin's avatar

    Posted on Feb 18, 2010 (permalink)

    Hello SelArom,

    Thank you for your additional comments - I will forward it to our developers for further consideration. However, at this point we do not have plans for radio button or checkbox additions for our ASP.NET AJAX suite and the suggestion from my previous reply is the only possible alternative.
     
    Kind regards,
    Sebastian
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

  • Abe avatar

    Posted on Feb 1, 2011 (permalink)

    Can we have the Black.zip too for the Black theme?

    Update: Got what i needed from your Visual Style Builder

    Thanks

  • Georgi Tunev Georgi Tunev admin's avatar

    Posted on Feb 3, 2011 (permalink)

    Hello Abe,

    This thread is almost 4 years old, so I am not quite sure what exactly you need. If you are looking for checkbox / radiobutton control, you can check RadButton that was included as a new control in Q3 2010.

    Kind regards,
    Georgi Tunev
    the Telerik team
    Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.

  • Chris avatar

    Posted on Jun 21, 2011 (permalink)

    Georgi,

    RadButton is exactly the control that I was looking for to handle client-side radio button script logic.

    Thanks,

    Chris

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > General Discussions > radio button, check box