This is a migrated thread and some comments may be shown as answers.

FormDecorator STILL decorating Checkboxes

3 Answers 67 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 1
Brad asked on 01 Dec 2010, 08:07 PM
Why is this still decorating checkboxes!?!?!?!?! I want my client-side events back!!!!

<telerik:RadFormDecorator ID="uxTelerikFormDecorator" runat="server" Skin="Outlook"
    DecoratedControls="Buttons,Fieldset,GridFormDetailsViews,Label,RadioButtons,Scrollbars,Textarea,Textbox,SELECT,ValidationSummary,Zone"
    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.

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 03 Dec 2010, 11:02 AM
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.
0
Brad
Top achievements
Rank 1
answered on 03 Dec 2010, 04:32 PM
new markup:
    <telerik:RadFormDecorator ID="uxTelerikFormDecorator" runat="server" Skin="Outlook"
        DecoratedControls="All"
        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">
    <HeaderTemplate>
        <asp:ImageButton ID="uxIsBillableImage" runat="server" SkinID="Money" OnClientClick="toggleIsBillable();"
            ToolTip="is the item billable?" /></HeaderTemplate>
    <ItemTemplate>
        <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") %>' />
    </ItemTemplate>
</telerik:GridTemplateColumn>

Any ideas?
0
Iana Tsolova
Telerik team
answered on 09 Dec 2010, 09:14 AM
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,
Iana
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.
Tags
FormDecorator
Asked by
Brad
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Brad
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or