RadButtonToggleState Tooltip

5 posts, 0 answers
  1. Maurizio
    Maurizio avatar
    7 posts
    Member since:
    Jul 2009

    Posted 27 Jul 2011 Link to this post

    is it possible to set a tooltip on the image of a button's RadButtonToggleState?
    If yes, how?

    Thank you
  2. Slav
    Slav avatar
    1351 posts

    Posted 01 Aug 2011 Link to this post

    Hi Maurizio,

    This feature is not currently supported out of the box by the RadButton. Nevertheless you can implement it with the button's client-side API. For this purpose OnClientToggleStateChanged client-side event can be used to set the RadButton's tooltip with the string specified in the Text property of the RadButtonToggleState. Please find attached my sample project implementing this functionality.

    I hope the suggested solution helps you with your case.

    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. DevCraft R3 2016 release webinar banner
  4. Maurizio
    Maurizio avatar
    7 posts
    Member since:
    Jul 2009

    Posted 01 Aug 2011 Link to this post

    It is perfect!!
    Thank you very much.
  5. Padmanaban
    Padmanaban avatar
    19 posts
    Member since:
    Sep 2011

    Posted 03 Jul 2013 Link to this post

      <telerik:RadGrid ID="RadMyTrainee" EnableViewState="false" runat="server" AllowPaging="true"
                                            AllowSorting="True" GridLines="None" AllowFilteringByColumn="false">
                                            <ItemStyle Wrap="false"></ItemStyle>
                                            <MasterTableView AllowMultiColumnSorting="true" TableLayout="Fixed">
                                                    <telerik:GridNumericColumn DataField="Id" HeaderText="Id" HeaderStyle-Width="100px"
                                                        Visible="false" FilterControlWidth="50px">
                                                    <telerik:GridTemplateColumn HeaderText="Name">
                                                      <telerik:RadButton ID="RadButton1" runat="server" ToggleType="CheckBox" ButtonType="StandardButton"    OnClientCheckedChanged="oncheckedchange"
                        <telerik:RadButtonToggleState Text="Checked" PrimaryIconCssClass="rbToggleCheckboxChecked" >
                        <telerik:RadButtonToggleState Text="UnChecked" PrimaryIconCssClass="rbToggleCheckbox">
                                                   <%--    <asp:CheckBox ID="CheckBox1" runat="server"   onchange="Checked(this);"  />--%>
                                                         <telerik:RadButton ID="RadButton2" runat="server" ToggleType="CheckBox" ButtonType="StandardButton"   AutoPostBack="false">
                        <telerik:RadButtonToggleState Text="Checked" PrimaryIconCssClass="rbToggleCheckboxChecked">
                        <telerik:RadButtonToggleState Text="UnChecked" PrimaryIconCssClass="rbToggleCheckbox">
                                                            <%--<asp:CheckBox ID="CheckBox2" runat="server" />--%>
                                                    <telerik:GridTemplateColumn DataField="Name" HeaderText="Name">
                                                            <telerik:RadTextBox ID="Name" runat="server" Width="80px" ReadOnly="true">
                                                    <telerik:GridBoundColumn DataField="UserName" HeaderText="UserName">
                                                    <telerik:GridBoundColumn DataField="Email" HeaderText="Email">
                                            <PagerStyle AlwaysVisible="true" Mode="NumericPages"></PagerStyle>
                                                <ClientEvents OnRowClick="onRowClick" OnCommand="RadGrid1_Command" OnRowDataBound="RadGrid1_RowDataBound">
                                        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
                                        <asp:Panel ID="Panel1" ScrollBars="Vertical" Height="0px" runat="server">


    could you possible check all in header radbuttontoggle using javascript ?

    Please help.......
     using  javascript 
  6. Danail Vasilev
    Danail Vasilev avatar
    1476 posts

    Posted 04 Jul 2013 Link to this post

    Hello Padmanaban,

    Please find my answer to your question in this forum thread.

    Can I also ask you to not open multiple forum threads for similar questions, so that there are no duplicate threads?

    Thank you for your cooperation.

    Danail Vasilev
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top
DevCraft R3 2016 release webinar banner