CheckBox

3 posts, 0 answers
  1. Sachin
    Sachin avatar
    6 posts
    Member since:
    Sep 2014

    Posted 26 Sep 2014 Link to this post

    Hello,
             I want to use telerik checkbox without side label. I have used the code Below:
              <telerik:RadButton ID="btncheck" runat="server" ToggleType="CheckBox" ButtonType="StandardButton"  AutoPostBack="false"></telerik:RadButton>

    By using this code only box is appeared , there is no tick mark visible when selected the checkbox.
    Is it compulsory to use
    <ToggleStates>
    <telerik:RadButtonToggleState Text="Checked"PrimaryIconCssClass="rbToggleCheckboxChecked">
    <telerik:RadButtonToggleState Text="UnChecked" PrimaryIconCssClass="rbToggleCheckboxChecked">
    <ToggleStates>
    When applying togglestates tag b/w telerik:radbutton tag , the checked unchecked label appears. I don't it to visible, want only checkbox.

    Thank you
  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1493 posts

    Posted 01 Oct 2014 Link to this post

    Hello alok,

    If you do not want to set any labels for the states you can simply omit setting them. Note also that in order to configure the RadButton as checkbox you must set the ToggleType="CheckBox" and ButtonType="ToggleButton" properties. For example:
    ASPX:
    <telerik:RadButton ID="btncheck" runat="server" ToggleType="CheckBox" ButtonType="ToggleButton" AutoPostBack="false"></telerik:RadButton>


    Regards,
    Danail Vasilev
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. Jane
    Jane avatar
    1 posts
    Member since:
    Oct 2014

    Posted 04 Oct 2014 in reply to Danail Vasilev Link to this post

    Great, thank you
Back to Top