Ticket S30349
Visible to All Users

Reduce web controls' render size. Use <div> elements instead of <table> elements whenever possible.

created 17 years ago
Show previous comments (3)

    Hi,
       Any news after 8 years,
    Today in ver 2015.1 a checkbox render following HTML which is a bit HUGE.
    <table style="border-width: 0px; width: 100%; border-collapse: collapse;" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td align="left" class="WebEditorCell" style="width: 100%;"><table class="dxeBase_Office2010Blue dxeTAR dxeDisabled_Office2010Blue" id="Vertical_v4_43645151_MainLayoutView_xaf_l26_xaf_dviIsActive_View" dir="rtl"><tbody><tr><td class="dxichCellSys"><span class=" dxICheckBox_Office2010Blue dxichSys dxWeb_edtCheckBoxCheckedDisabled_Office2010Blue" id="Vertical_v4_43645151_MainLayoutView_xaf_l26_xaf_dviIsActive_View_S_D"><input name="Vertical$v4_43645151$MainLayoutView$xaf_l26$xaf_dviIsActive_View" tabindex="-1" disabled="" id="Vertical_v4_43645151_MainLayoutView_xaf_l26_xaf_dviIsActive_View_S" style="border-width: 0px; margin: 0px; padding: 0px; width: 0px; height: 0px; display: block; position: relative; background-color: transparent;" type="text" readonly="readonly" value="C" savedtabIndex="[object Object]"></span></td><td class="dxichTextCellSys"><label>Is Active</label></td></tr></tbody></table><script id="dxss_735435305" type="text/javascript">
    <!--
    ASPx.AddDisabledItems('Vertical_v4_43645151_MainLayoutView_xaf_l26_xaf_dviIsActive_View',[[['dxeDisabled_Office2010Blue'],[''],['']]]);
    var dxo = new ASPxClientCheckBox('Vertical_v4_43645151_MainLayoutView_xaf_l26_xaf_dviIsActive_View');
    window['Vertical_v4_43645151_MainLayoutView_xaf_l26_xaf_dviIsActive_View'] = dxo;
    dxo.uniqueID = 'Vertical$v4_43645151$MainLayoutView$xaf_l26$xaf_dviIsActive_View';
    dxo.clientEnabled = false;
    dxo.rtl = true;
    dxo.imageProperties = {'4':['dxWeb_edtCheckBoxChecked_Office2010Blue','dxWeb_edtCheckBoxUnchecked_Office2010Blue'],'8':['dxWeb_edtCheckBoxCheckedDisabled_Office2010Blue','dxWeb_edtCheckBoxUncheckedDisabled_Office2010Blue']};
    dxo.icbFocusedStyle = ['dxICBFocused_Office2010Blue',''];
    dxo.AfterCreate();
    //-->
    </script></td></tr></tbody></table>

      I thought Lightweight render was done to use divs.
      Do I need to enable some switch in web.config or I missed something?

      Mike (DevExpress) 9 years ago

        Hello Alex,

        To process your recent post more efficiently, I created a separate ticket on your behalf: T310064: ASPxCheckBox - Lightweight Render. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.