FormDecorator and RadGrid Checkboxes - invisible.

11 posts, 0 answers
  1. Grzesiek
    Grzesiek avatar
    87 posts
    Member since:
    Jun 2007

    Posted 25 May 2008 Link to this post

    When I put FormDecorator to my page, where I have RadGrid with CheckBoxColumn the checkboxes are making invisible.

    Anyone one know why?
  2. Martin
    Admin
    Martin avatar
    585 posts

    Posted 27 May 2008 Link to this post

    Hi Grzesiek,

    We are aware of this performance issue with RadGrid and RadFormDecorator, but unfortunately, due to rendering issues with both controls we are not able to give an adequate solution of how to fix it. However, this bug will be fixed with the next quarterly release of RadControls for ASP.NET AJAX. In the meantime you may us the DecoratedZoneID of FormDecorator in order to specify decorated zones and thus exclude the zone with RadGrid.

    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. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 11 Jun 2008 Link to this post

    Hello Martin,

    Should be easier to have a NonDecoratedZoneId so we could remove the only grid of the page and it certainly represent 90% of pages.
    CS
  5. Tervel
    Admin
    Tervel avatar
    1337 posts

    Posted 12 Jun 2008 Link to this post

    Hi Christian,

    We are about done with making some changes to the grid and the treeview controls so that the form decorator is able to skin them properly. The coming Q1 2008 SP2 next week should feature much improved behavior :)


    Sincerely yours,
    Tervel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Gabriel Beauchamp
    Gabriel Beauchamp avatar
    41 posts
    Member since:
    Jan 2008

    Posted 17 Jun 2008 Link to this post

    Even in a simple table, the CheckBox disappears in FireFox, but is visible in IE7. Here is an example:

    <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="RadioButtons,CheckBoxes" EnableEmbeddedSkins="true" Skin="Default" />
            <table>
                <tr>
                    <td>
                        <asp:CheckBox ID="CheckBox1" runat="server" />
                    </td>
                </tr>
            </table>

    Any help would be appreciated.
  7. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 18 Jun 2008 Link to this post

    Hi Gabriel,

    You need to set the Text property of the checkbox as well so it can be skinned properly - for example you can set it to a single space (&nbsp;). The new version of RadFormDecorator that should appear tomorrow (19.06) will do this automatically in case Text is not set.




    Kind regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. Gabriel Beauchamp
    Gabriel Beauchamp avatar
    41 posts
    Member since:
    Jan 2008

    Posted 18 Jun 2008 Link to this post

    Good, thanks.

    Another problem arose when trying to change the value of the Checked attribute using javascript. When I change it using javascript, the skin does not change.

    Is there a way around that?
  9. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 18 Jun 2008 Link to this post

    Hi Gabriel,

    Currently RadFormDecorator does not have a method for checking / unchecking the checkboxes in a form or another element, but you can easily implement one of your own, by:

    1. Looping through the inputs with attribute type="checkbox" in the form or in their parent element, i.e:

    var checkboxes = document.getElementsByTagName('input');

    document.getElementsByTagName('input') && checkboxes.getAttribute('type') == 'checkbox';

    2. Loop through the responding labels of each checkbox in the form or in their parent, and:

    - set "unchecked" className='SkinName radfdCheckboxUnchecked';

    or respectively:

    - set "checked" className='SkinName radfdCheckboxChecked';

    If needed, use the IE Developer Toobar to view the generated classes, and how RadFormDecorator works, and do not forget to add the skin-specific class in the toggle classes, i.e - if you are using the Default skin:

    className='Default radfdCheckboxUnchecked';
    className='Default radfdCheckboxChecked'

    I hope this helps.


    Greetings,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  10. Gabriel Beauchamp
    Gabriel Beauchamp avatar
    41 posts
    Member since:
    Jan 2008

    Posted 18 Jun 2008 Link to this post

    Thanks, that worked perfectly!
  11. Nick
    Nick avatar
    1 posts
    Member since:
    Feb 2008

    Posted 20 Jun 2008 Link to this post

    I have installed the latest version of Telerik (619 release) and am still experiencing issues with the RadGrid when I using the RadFormDecorator.  The Insert & Refresh images in the command area of my RadGrid are invisible when I include the RadFormDecorator (yet they are still operational).

    The release notes state that there were fixes related to RadFormDecorator interaction with RadGrid.

    If someone has found a work around, I would like to know about it.
  12. Tervel
    Admin
    Tervel avatar
    1337 posts

    Posted 23 Jun 2008 Link to this post

    Hi Nick,

    We are not sure what might be causing the issue. There is an online demo that demonstrates the correct functioning of RadFormDecorator with RadGrid. You can view the example here:
    http://www.telerik.com/demos/aspnet/prometheus/FormDecorator/Examples/FormDecoratorGridTabstrip/DefaultCS.aspx

    On a side note, the new [significant] changes in RadFormDecorator brought about users reporting problems in several specific scenarios. We are currently keeping a thread that describes those and provides workarounds. Here is the link to the thread: http://www.telerik.com/community/forums/thread/b311D-bekebd.aspx

    Is it possible to send us a simple project that demonstrates your issue? Once we are able to reproduce it locally, we will find what is causing it and provide a solution in that forum thread.


    Greetings,
    Tervel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017