RadGrid Pop up edit form labels

3 posts, 0 answers
  1. Ralf
    Ralf avatar
    2 posts
    Member since:
    Nov 2014

    Posted 23 Sep Link to this post

    Hello Telerik,

    I'm using a pop up edit form in a Radgrid.  Is it possible to style (font size, color, etc) the Label associated with a given edit item in the code behind?  I have multiple edit fields on the form and I need to change the style of some of the labels. but not all of them.

    Also, how can I prevent the colon(":") from being added to the end of my labels.

    Thank you.

  2. Eyup
    Admin
    Eyup avatar
    3007 posts

    Posted 28 Sep Link to this post

    Hi Ralf,

    You can use the following property yo achieve this requirement:
    <telerik:GridDateTimeColumn ...
        EditFormHeaderTextFormat="<span class='editHeaderTextClass'>Hello</span>">
    CSS:
    .editHeaderTextClass {
        color: red;
        font-weight: 700;
    }

    I hope this will prove helpful.

    Regards,
    Eyup
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ralf
    Ralf avatar
    2 posts
    Member since:
    Nov 2014

    Posted 29 Sep in reply to Eyup Link to this post

    Eyup,

    Thanks, that did the trick.

    Ralf

     

Back to Top