Compatibility of Web Controle page on different Browsers [Resolved]

Posted by Artisingh30 under ASP.NET on 1/14/2011 | Points: 10 | Views : 2545 | Status : [Member] | Replies : 2
hi i have created a web page and inherit a master.master page and a web controle page that is AdminControle.ascx page.by the code of.
<%@ Register TagPrefix="tt" TagName="ttc" Src="AdminControle.ascx" %>.when i browse on firefox it display all controls of .ascx page and Master page but when i browse this page with IE(Internet Explorer), the controls of .ascx pages are not displaying.so plzz tell me the reason of this problem and solution also.
thank you.




Responses

Posted by: Karthikanbarasan on: 1/14/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 50

Up
0
Down

Resolved
Hi,

Check this link

http://www.mindfiresolutions.com/How-to-set-the-properties-of-ASPNET-Server-controls-for-compatibility-with-different-browsers-195.php

Thanks
Karthik
www.f5Debug.net

Artisingh30, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: SheoNarayan on: 1/14/2011 [Administrator] HonoraryPlatinum | Points: 50

Up
0
Down

Resolved
Hi Arti,

Most like this looks like problem with browser compatibility, open the source code in Firefox and look for any mismatch tag (opening html tag must have corresponding closing tag). Look at the source code and try to find out whether the user control code has rendered on the page or not.

As long as all opening tags has proper closing tag, your user control content should display in all browsers however you may face the control placements problem in different browser and for that you will need to write CSS in such a way that it supports all browsers. Sometimes a css style works in one browser but not in other so in that case you can write conditional CSS (http://www.dotnetfunda.com/articles/article15.aspx )

Hope this will give some idea.
Thanks!

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Artisingh30, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response