Image is being cut

15 posts, 0 answers
  1. Italo
    Italo avatar
    8 posts
    Member since:
    Jun 2007

    Posted 17 Apr 2008 Link to this post

    Radio Buttons skinned by the form decorator are being cut. I had to make a change to the CSS to fix it; I added the height attribute. I'm using IE 6

    .radfd_Outlook .radfdCheckboxChecked,
    .radfd_Outlook .radfdCheckboxUnchecked,
    .radfd_Outlook .radfdRadioUnchecked,
    .radfd_Outlook .radfdRadioChecked
    {
     font: normal 11px Verdana, Arial, Sans-serif;
     padding: 0 4px 0 20px;
     display: block; float: left;
     line-height: 17px;
     height: 17px;
     color: #404040;
    }
  2. Quang
    Quang avatar
    4 posts
    Member since:
    Feb 2008

    Posted 17 Apr 2008 Link to this post

    I just encountered the same issue.  Thanks for the tip.  It was extremely useful.  Another approach I found you can take is to specify a default  value of  
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Martin
    Admin
    Martin avatar
    585 posts

    Posted 18 Apr 2008 Link to this post

    Hello Quang,

    RadFormDecorator works properly only on semantic and accessible markup, that is - the checkboxes have to be supplied with the W3C required attribute <label>, which is used for the actual skinning of the controls (we use css to send the checkboxes and radiobuttons far left, away from browser's viewport).

    Best wishes,
    Martin Ivanov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 14 May 2008 Link to this post

    Hello Martin,

    Could you develop please: I have all my Web20 Formdecorated checkboxes (generated in codebehind by a lonely 'new checkbox()') truncated as explained by Italo.
    I don't need any text for my checkbox and take no care generating any <label> by setting the Text property or the LabelAttribute. Does your answer means that I should ? An how ?

    Thanks
    CS
  6. Eric
    Eric  avatar
    11 posts
    Member since:
    Apr 2008

    Posted 15 May 2008 Link to this post

    Some of my checkboxes do not have a defined text property, does that mean that those cannot be fix?

    Thanks,
    Eric
  7. Martin
    Admin
    Martin avatar
    585 posts

    Posted 19 May 2008 Link to this post

    Hi Eric,

    The skinned checkboxes and radiobuttons are designed and intended to work with semantic and accessible markup, i.e. they need to have the label property set, because the actual "skinning" is carried out by that element, not by the checkboxes and radiobuttons which are hidden by the form decorator. If you do not need labels for your controls, please, set a &nbsp; to the text property of each element. This will fiix the display problem.

    Regards,
    Martin Ivanov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. ADe
    ADe avatar
    42 posts
    Member since:
    Jul 2008

    Posted 22 Jul 2008 Link to this post

    I'm getting the same problem. They work fine unless I add a style rule of,

    body
    {
          font-size: 11px;
    }

    As soon as I do this the radio and checkbox images get cropped. is style option in the first post of this thread the only solution.

    All have lables set so that not it.
  9. Tervel
    Admin
    Tervel avatar
    1337 posts

    Posted 23 Jul 2008 Link to this post

    Hi ADe,

    The RadControls for ASP.NET AJAX  Q2 2008, to be released today should address this problem properly. Our suggestion is to download the Q2, try it and in case you find any issue with the RadFormDecorator outstanding, please get back to us.


    Best wishes,
    Tervel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  10. ADe
    ADe avatar
    42 posts
    Member since:
    Jul 2008

    Posted 23 Jul 2008 Link to this post

    I downloaded it, installed it, removed the style fix from above and get the same problem.

    Maybe I downloaded the wrong thing. The file was called,
    RadControls_for_ASP.NET_AJAX_2008_2_708_FUTURES_trial.exe

    Is that right?
  11. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 24 Jul 2008 Link to this post

    Hello ADe,

    The Q2 release should be available for download in the next several hours - we apologize for the delay.

    Greetings,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  12. ADe
    ADe avatar
    42 posts
    Member since:
    Jul 2008

    Posted 24 Jul 2008 Link to this post

    Well guys I still get the problem (unless I include the css fix).

    I found that if I uninstalled Q1 and then installed Q2 (only) that in my Visual Studio project it couldn't find any of the Telerik components which I thought was odd.

    I went ahead and removed everything, then installed Q1 and then Q2 and then copied the hotfix files over the Q2 files in Program Files.
     
    The issue is still present. Could it be that Visual Studio is still using the Q1 version as (like a say) it didn't work at all with just Q2 installed?

    I'm using Visual Studio 2005 by the way on .net Framework 2.0.

    EDIT: Just noticed Q2 are a completely new set of controls in the toolbox. That's probably the problem. Is there an easy way to convert my existing project to use the new controls? Surely I don't have to start over!
  13. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 25 Jul 2008 Link to this post

    Hi ADe,

    Installing the Q2 release should not be the reason for the problem that you experience with your project. Can you please open a support ticket and send the project to me so I can check it? I'll get back to you right away.



    Greetings,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  14. MB
    MB avatar
    149 posts
    Member since:
    Jan 2005

    Posted 26 Jul 2008 Link to this post

    Q2 release doesn't fix it for me... still getting the checkbox image positioned too low and hence appreaing to be chopped off.

    Checkboxes all have labels, no weird global css that can be affecting it.

    I've just about given up on this thing, as I've spent too much time on it already, and there is precious little documentation. 

    Edit: UGH!! ---------------------------------

    I found the cause of the problem...

    The file: RadControls_for_ASP.NET_AJAX_2008_2_723_dev.exe  which I downloaded from MyClient area, was faulty, and actually contained the Q1 installation.

    I just installed the file based on the description, and didn't stop to check that it was actually the file it said it was.

    It would seem that there was a problem with feeding the wrong file from the MyClient area, as down-loading the same file again now gives me the Q2 release, which works as expected.

  15. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 28 Jul 2008 Link to this post

    Hi MB,

    Yes, uploading of the files in the Client.Net accounts is a time-taking process and if you have downloaded the release before it was officially announced on the main page, there is a chance for this problem to appear. We apologize for the inconvenience.


    Regards,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  16. MB
    MB avatar
    149 posts
    Member since:
    Jan 2005

    Posted 28 Jul 2008 Link to this post

    Hi,

    Actually, I downloaded after it was announced (being on the other side of the world means I am always downloading after the announcement) and from MyClient download... which showed it as the available Q2 download.

    As I said... the file name says it's Q2 but the contents was actually Q1

    Anyway, it's good now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017