FormDecorator STILL decorating Checkboxes

4 posts, 0 answers
  1. Brad
    Brad avatar
    39 posts
    Member since:
    Aug 2010

    Posted 01 Dec 2010 Link to this post

    Why is this still decorating checkboxes!?!?!?!?! I want my client-side events back!!!!

    <telerik:RadFormDecorator ID="uxTelerikFormDecorator" runat="server" Skin="Outlook"
        ControlsToSkip="CheckBoxes" EnableRoundedCorners="true" />

    This is on localhost: I have shift-refreshed the page; I have stopped the Development Server and restarted debugging; no luck.
  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 03 Dec 2010 Link to this post

    Hello Brad,

    It seems that the problem here is with the way VS handle multiple flags in the enum. We will investigate further, to see if there is a way we can fix that, but for now, I suggest to set DecoratedControls="All" and ControlsToSkip="CheckBoxes" in order to get the needed result.

    Your points have been updated for bringing this problem to our attention.

    All the best,
    Georgi Tunev
    the Telerik team
    Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
  3. Brad
    Brad avatar
    39 posts
    Member since:
    Aug 2010

    Posted 03 Dec 2010 Link to this post

    new markup:
        <telerik:RadFormDecorator ID="uxTelerikFormDecorator" runat="server" Skin="Outlook"
            ControlsToSkip="CheckBoxes" EnableRoundedCorners="true" />
    no change


    Note: this issue is an attempt to work around another issue I have : decorated checkboxes have no client side events

    I have now removed the decorator altogether (which is very evident) and the checkboxes are still "decorated" (which I now know is the wrong term). I have confirmed that there are no other RadFormDecorators in scope.

    The checkboxes in question appear in a RadGrid template column. Here is the markup:
    <telerik:GridTemplateColumn HeaderStyle-Width="25px" HeaderStyle-HorizontalAlign="Center"
        ItemStyle-HorizontalAlign="Center" UniqueName="IsBillableEnter">
            <asp:ImageButton ID="uxIsBillableImage" runat="server" SkinID="Money" OnClientClick="toggleIsBillable();"
                ToolTip="is the item billable?" /></HeaderTemplate>
            <asp:CheckBox ID="uxIsBillableCheckBox" runat="server" TextAlign="Left" Checked='<%# DataBinder.Eval(Container.DataItem, "IsBillable") %>'
                Enabled='<%# !(bool)DataBinder.Eval(Container.DataItem, "IsClosed") %>' ToolTip="is the item billable?"
                onblur="isBillableBlur" onclick="isBillableClick" />
            <asp:HiddenField ID="uxSavedIsBillableCheckBox" runat="server" EnableViewState="false"
                Value='<%# DataBinder.Eval(Container.DataItem, "IsBillable") %>' />

    Any ideas?
  4. Iana Tsolova
    Iana Tsolova avatar
    3388 posts

    Posted 09 Dec 2010 Link to this post

    Hello Brad,

    Can you send us a live Url where we can observe the issue? Thus we will be able to see what css styles are applied to the problematic checkboxes.
    Additionally, if you have any custom styles applied on the page, try removing them and see if it makes any difference.

    Kind regards,
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top