RETAILREALM
asked on
How to show Connect to Facebook Button in IE9
My web application uses facebook authentication. My application is in ASP.NET 4.0. In all browsers the "Connect ot Facebook" button display & works fine even IE 7,8 but when I run my application in IE 9 button not availabel. Below is my source code.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FB.aspx.cs" Inherits="Test.FB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head id="Head1" runat="server">
<title></title>
<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"
type="text/javascript"></s cript>
</head>
<body>
<form id="form1" runat="server">
<div>
<fb:login-button length='long' onlogin='window.location.r eload()' tooltip="Click to go for Facebook authentication"
size='medium' >
</fb:login-button>
</div>
<%-- <table id="structure" border="1">
<tr>
<td id="right_col_2">
<div id="facebk" style="height: 5px;">
<fb:login-button length='long' onlogin='window.location.r eload()' tooltip="Click to go for Facebook authentication"
size='medium'>
</fb:login-button>
</div>
</td>
</tr>
</table>--%>
</form>
<script language="javascript" type="text/javascript">
FB.ensureInit(function () { FB.XFBML.Host.parseDomTree (); });
FB.init("API_Key", "");
</script>
</body>
</html>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FB.aspx.cs" Inherits="Test.FB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head id="Head1" runat="server">
<title></title>
<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"
type="text/javascript"></s
</head>
<body>
<form id="form1" runat="server">
<div>
<fb:login-button length='long' onlogin='window.location.r
size='medium' >
</fb:login-button>
</div>
<%-- <table id="structure" border="1">
<tr>
<td id="right_col_2">
<div id="facebk" style="height: 5px;">
<fb:login-button length='long' onlogin='window.location.r
size='medium'>
</fb:login-button>
</div>
</td>
</tr>
</table>--%>
</form>
<script language="javascript" type="text/javascript">
FB.ensureInit(function () { FB.XFBML.Host.parseDomTree
FB.init("API_Key", "");
</script>
</body>
</html>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks...
ASKER
i have already try this but not working cause few mistake like,
<meta http-equiv="X-UA-Compatibl