开发者

make asp.net server control cross browser compatible

How ca开发者_运维问答n i make asp.net control cross browser compatible? it is compatible with IE only.

Let me know the best steps to do this.


If you cannot change the source code for the control you can still change it's rendering by implementing a ControlAdapter derived class.
A ControlAdapter allows you to override how a control is rendered, making it compatible with more browsers or more suitable for css styling. For ASP.Net 2.0 Microsoft released a package of CSS Friendly Control Adapters that you may want to look at.


Use firebug to see which properties of the control behave differently in Firefox, and update them to standards.


I think ASP.NET controls are cross browser compatible. The issue occurs when control are placed on page & page is rendered. This can be fixed either by modifying inline style or by using css files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜