Bug with asp checkbox render

6 posts, 1 answers
  1. EmpowerIT
    EmpowerIT avatar
    117 posts
    Member since:
    Jun 2007

    Posted 22 May 2008 Link to this post

    Hi
    I believe i have found a bug with the rendering of the asp checkbox control. If you have this control on a page, but have not specified a Text property, or if you have an empty Text property value, the checkbox will not render
  2. Answer
    Martin
    Admin
    Martin avatar
    585 posts

    Posted 27 May 2008 Link to this post

    Hello EmpowerIT,

    RadFormDecorator is designed to work with semantic and valid code, thus it requires a label (i.e. the text property of the server tag) for accessibility purposes. On the other hand, the actual skinning is carried out by the label itself - we change the background image of the label (checked/unchecked) while the "real" checkboxes and radio buttons are sent far left, away from browser's viewport via css.

    If your application does not require label, you may add a simple   as value of the text property and this will put things to work.

    Sincerely yours,
    Martin Ivanov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Roy
    Roy avatar
    36 posts
    Member since:
    Jun 2008

    Posted 04 Aug 2008 Link to this post

    in the same note, i suddenly found the "normal" html checkboxes at the far left side. when looking for a reason, i came across this thread, which mentioned that the way the Rad Decorator decorate the checkboxes is by moving the previous ones to the far left. could i hide it? i don't wanna remove the sideways scroll bar...
    i even tried adding ' ' to the text property (as my checkboxes do not require labels) but it didn't help as much...
  5. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 05 Aug 2008 Link to this post

    Hello Roy,

    Can you please provide more details about your exact setup? What is the problem and what is the expected behavior?


    Best wishes,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Roy
    Roy avatar
    36 posts
    Member since:
    Jun 2008

    Posted 05 Aug 2008 Link to this post

    i'm using the rad decorator for checkboxes.
    problem is the undecorated checkboxes appear in the far left, and there is an horizontal scrollbar.
    i removed the scrollbar with 'overflow' but i wouldn't want to impose that on the application...
    is there anyway else to eliminate the undecorated checkboxes?
  7. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 06 Aug 2008 Link to this post

    Hello Roy,

    I believe that the following forum thread can be of help:
    http://www.telerik.com/community/forums/thread/b311D-bkdtma.aspx

    Please check the code there and let me know if it helps.



    Regards,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017