Setting the hoveredstyle in a css class for a rad text box

4 posts, 1 answers
  1. Jack Voss
    Jack Voss avatar
    27 posts
    Member since:
    May 2010

    Posted 10 Sep 2013 Link to this post

    I'm not sure how to do this. 

    I tried
    <style type="text/css" >
            .trtxt
            {
                 HoveredStyle-Font-Bold: true; 
            
        </style>
     
     
    <telerik:RadTextBox ID="rtxtCity" runat="server" MaxLength="25" CssClass="trtxt"   >
                            </telerik:RadTextBox>

       

    but the effect did not work.
    Any suggestions?

     

     

     

     

     

     

  2. A2H
    A2H avatar
    177 posts
    Member since:
    Mar 2010

    Posted 10 Sep 2013 Link to this post

    Hi,
    Please try with the below css styles
    <style type="text/css">
           html body form .RadInput .riHover
           {
               font-weight:bold;
           }
       </style>

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    User
    User avatar
    8 posts
    Member since:
    Jul 2013

    Posted 10 Sep 2013 Link to this post

    Hi,
    Try the following css.

    ASPX:
    <telerik:RadTextBox ID="txt1" runat="server" CssClass="trtxt" Text="aaaa"></telerik:RadTextBox>

    CSS:
    <style type="text/css">
        .trtxt:hover
        {
            font-weight:bold !important;
        }
    </style>

    Thanks.
  5. Jack Voss
    Jack Voss avatar
    27 posts
    Member since:
    May 2010

    Posted 10 Sep 2013 Link to this post

    That got it,  thank you so much.
Back to Top