Problem with ASP Button on IE6

I have an ASP.NET web application that works fine on IE7, IE8, IE8 (compatibility mode) and Firefox, however we now have some users on IE6 (and no, they are not going to change any time soon) ... When buttons are displayed on IE6, they do not display correctly, and onclick events do not fire.

No browser detection has been detected at this time. Should I change what the page does to support IE6?

These are broken buttons. alt text

These are the working buttons.

alt text

An example of one of the button definitions:

        <asp:Button ID="Button1" SkinID="formbutton" runat="server" Text="Cancel" OnClick="Button2_Click" CausesValidation="False" 
        ToolTip="Cancels any changes"/>

Any thoughts would be greatly appreciated.

Greetings

Edit 1: Before rendering the code:

<input type="button" name="ctl00$ContentPlaceHolder1$btnSaveInProgress" 
    value="Save as In Progress" onclick="clickOnce(this, 'Cargando...');WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$ContentPlaceHolder1$btnSaveInProgress&quot;, &quot;&quot;, true, &quot;&quot;, &quot;&quot;, false, true))" 
    id="ctl00_ContentPlaceHolder1_btnSaveInProgress" 
    title="Saves this commission as 'In Progress'" 
    style="color:White;background-color:#547ED8;border-style:Double;padding:3px;" />

After rendering this:

<INPUT class=rfdDecorated id=ctl00_ContentPlaceHolder1_btnSaveInProgress 
    title="Saves this commission as 'In Progress'" 
    style="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; COLOR: white; BORDER-TOP-STYLE: double; 
        PADDING-TOP: 3px; BORDER-RIGHT-STYLE: double; BORDER-LEFT-STYLE: double; BACKGROUND-COLOR: #547ed8; 
        BORDER-BOTTOM-STYLE: double" 
    onclick="clickOnce(this, 'Cargando...');WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$ContentPlaceHolder1$btnSaveInProgress&quot;, &quot;&quot;, true, &quot;&quot;, &quot;&quot;, false, true))" 
    type=button value="Save as In Progress" name=ctl00$ContentPlaceHolder1$btnSaveInProgress>

It may be worth mentioning that it also uses Telerik AjaxManager on the page, although I don't know if this is really relevant.

+3
2

.

  • SkinID , , . CssStyle?

  • , , IE6 CSS. , CSS, IE6. , :

    .FormButton
    {
         : ;
         : # 547ED8;
         : Double;
         padding: 3px;
       _padding: 3px 0px 3px 0;/* IE6 */
    }

, . , CSS- , CSS , .

+2

, Telerik RadFormDecorator ( Web20). RadControls Telerik, , CSS IE6. , , , XHTML , , . :

<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >

0

Source: https://habr.com/ru/post/1728469/


All Articles