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

iPhone-style Checkboxes

1 Answer 124 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Muhammad Imran
Top achievements
Rank 1
Muhammad Imran asked on 15 May 2010, 11:12 AM
Hi


I want to use following on my site
http://awardwinningfjords.com/2009/06/29/prototype-iphone-style-checkboxes.html

Problem:

I have a master page where i put Formdecoration like
 <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" 
            Skin="Office2007" /> 

And lot of pages using this So when i am putting iPhone style related Code in a single aspx file like below

    <table> 
            <tr class="disabled"
                <th> 
                    <label for="disabled"
                        Disabled</label> 
                </th> 
                <td> 
                    <input type="checkbox" id="disabled" disabled="disabled" /> 
                </td> 
            </tr> 
            <tr class="on_off"
                <th> 
                    <label for="on_off"
                        Default</label> 
                </th> 
                <td> 
                    <input type="checkbox" id="on_off" /> 
                </td> 
            </tr> 
            <tr class="on_off"
                <th> 
                    <label for="on_off_on"
                        Default On</label> 
                </th> 
                <td> 
                    <input type="checkbox" checked="checked" id="on_off_on" /> 
                </td> 
            </tr> 
            <tr class="css_sized_container"
                <th> 
                    <label for="css_sized_container"
                        CSS Sized Container and Handle</label> 
                </th> 
                <td> 
                    <input type="checkbox" id="css_sized_container" /> 
                </td> 
            </tr> 
            <tr class="long_tiny"
                <th> 
                    <label class="left" for="long_tiny"
                        Long and short labels</label> 
                </th> 
                <td> 
                    <input type="checkbox" id="long_tiny" /> 
                </td> 
            </tr> 
            <tr class="onchange"
                <th> 
                    Event tracking 
                </th> 
                <td> 
                    <input type="checkbox" id="onchange" /> 
                    <p> 
                        Checkbox status is <strong><span id="status">...</span></strong>.</p> 
                </td> 
            </tr> 
        </table> 

Then due to FormDecoration in master page applies style on iPhone related checkbox it should not my requirement. So how i can avoid to apply formdecoration on that?

thx


1 Answer, 1 is accepted

Sort by
0
Muhammad Imran
Top achievements
Rank 1
answered on 15 May 2010, 07:53 PM
I resolved it with DecoratedControls property.
Tags
FormDecorator
Asked by
Muhammad Imran
Top achievements
Rank 1
Answers by
Muhammad Imran
Top achievements
Rank 1
Share this question
or