Html bullets are not displayed when adding "ext:ScriptManager"

  1. #1

    Html bullets are not displayed when adding "ext:ScriptManager"

    Whenever I add the control "ext:ScriptManager" in the body of an aspx page the ordered and unordered lists are not being displayed.

    Something as simple as this:

        <body>
            <ext:ScriptManager ID="ScriptManager2" runat="server" />
            <ul><li>Test</li></ul>
        </body>
    Only displays the word "Test" without any bullet; I have not applied any css style to the page yet.

    Is this normal behaviour? Or what do I need to do to display bullets?

    Thank you for your help.
  2. #2

    RE: Html bullets are not displayed when adding "ext:ScriptManager"

    This is the normal behavior because ExtJS css will "reset" browser styling. More info at ExtJS FAQ:


    http://www.extjs.com/learn/Ext_FAQ_G...are_not_styled




  3. #3

    RE: Html bullets are not displayed when adding "ext:ScriptManager"

    More info... in v1.0 there is a new property called PreventBodyReset which resets the native css classes back to expected results when adding to the <Content> Template.

    http://www.extjs.com/deploy/dev/docs...eventBodyReset

    Hope this helps.

    Geoffrey McGill
    Founder
  4. #4

    RE: Html bullets are not displayed when adding "ext:ScriptManager"

    Thank you for your explanation, however I am not getting how can I workaround this issue to correctly display the bullets.

    Where should I set the "PreventBodyReset" propertie to true?

    As you can see I am a newbie to Ext.js.

    Thank you in advance.
  5. #5

    RE: Html bullets are not displayed when adding "ext:ScriptManager"



    I am having this trouble too, and I have overridden the proper style property but there is still something wrong and the numbers don't show. Please look at this and see if you can spot what I am missing. We have a lot of legacy content that needs to render properly. Thanks.

    <head runat="server">
        <title></title>
        <style type="text/css">
            ol
            {
               list-style-type:decimal !important;
            }
        </style>
    </head>
    <body>
        <form id="form1" runat="server">
        <ext:ResourceManager ID="ResourceManager1" runat="server" />
        
        <ol>
        <li>
            This is item 1
        </li>
        <li>
            This is item 2
        </li>
        <li>
            This is item 3
        </li>
        </ol>
        
        </form>
    </body>
  6. #6

    RE: Html bullets are not displayed when adding "ext:ScriptManager"



    Found the problem. Here is the fix:

    ol
    {
        list-style-type:decimal !important;
        padding-left: 28px;
    }
    The numbers had no room to display. Pad on the left to allow room for the numbers to render.

    Thanks.
    -Steve

Similar Threads

  1. [CLOSED] Adding custom html attribute
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 30, 2011, 12:25 AM
  2. HTML Editor and Bullets
    By Markp11 in forum 1.x Help
    Replies: 2
    Last Post: Aug 03, 2011, 7:00 AM
  3. Replies: 1
    Last Post: May 28, 2010, 1:13 PM
  4. [CLOSED] Dynamic Hyperlink adding HTML Line break after
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 13, 2010, 2:09 PM
  5. Bullets and numbered lists in HtmlEditor
    By jsemple in forum 1.x Help
    Replies: 0
    Last Post: Mar 04, 2009, 4:21 PM

Posting Permissions