iPhone-style Checkboxes

2 posts, 0 answers
  1. Muhammad Imran
    Muhammad Imran avatar
    33 posts
    Member since:
    Aug 2009

    Posted 15 May 2010 Link to this post

    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


  2. Muhammad Imran
    Muhammad Imran avatar
    33 posts
    Member since:
    Aug 2009

    Posted 15 May 2010 Link to this post

    I resolved it with DecoratedControls property.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top