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

Button icons in dev, not in prod...

1 Answer 23 Views
Button
This is a migrated thread and some comments may be shown as answers.
Philippe
Top achievements
Rank 1
Philippe asked on 21 Feb 2014, 10:35 AM
Hello,
I use some buttons with PrimaryIconCssClass defined. (2013Q3SP2 version 13.3.1324.0)

Example:

<telerik;RadButton ID="btnSend" runat="server" Skin="Silk" Text="Envoyer" OnClick="btnSend_Click">
    <Icon PrimaryIconCssClass="rbMail" PrimaryIconLeft="8" PrimaryIconTop="5"></Icon>
</Telerik:RadButton>

Everything runs fine in development, but the icons are not displayed in production (see attaches file) !
Any idea ?

Philippe

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 24 Feb 2014, 03:16 PM
Hello Philippe,

I have already replied to the same question you have asked in the support ticket, so that I paste my answer here, for the rest members of the community:

I can suggest that you try the following steps:

  • Can you confirm there aren't any JavaScript errors on your page that could break the proper functionality and rendering of the script control on your page? If there are such errors they should be find and fixed.
  • It may be possible that there are some global styles on your page layout that breaks the appearance of the scripts controls. You can try removing all of the custom CSS and if that fixes your issue, then you can start turning one by one the styles until you find and fix the problematic rule. More information on this matter is available in Distorted Appearance help article.
  • Can you confirm that all the requests executed by the page are successful? If there are requests which are not successful they could prevent control's scripts and styles from loading. If that is the case you can try
    • Toggling the state of the CDN(turning it on/off)
    • Clearing the cache of the browser/ASP server on which you are running the page.
    • Use Fiddler or FireBug to see which requests are failing and why. You can also examine briefly Web Resources Troubleshooting and Troubleshooting Deployment on the Production Server help article and use the provided solutions, in case similar issues are present.
    • Can you check whether the system date of the production server is not correct and if so, does fixing it resolve the issue?
  • Can you confirm whether the issue is browser specific (if so which is the browser and its version) or it occurs in most major browsers like FireFox, IE, Chrome, etc?

Regards,
Danail Vasilev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Button
Asked by
Philippe
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or