Internet Explorer - HyperLink Control Enabled Propery Is Not Working In IE 8 Compatibility Mode?

Sep 27, 2010

We have following ASP.Net 2.0 HyperLink Control:

asp:HyperLink ID="FolderLink" runat="server" CssClass="cursor" Enabled="false"
ImageUrl="/_layouts/1033/images/selectlink.gif" ToolTip="Folder Links">

On server side, following script is attached:

FolderLink.Attributes.Add("onclick", "javascript:setURL('Control');");

Issue is that HyperLink Control is disbale in IE 8 but not in IE compatibility mode.

View 1 Replies


Similar Messages:

Internet Explorer - 'max-height' And Horizontal Scrollbars Causing IE8 To Go Into Compatibility Mode?

Jan 12, 2011

I'm using ASP.NET to have a panel that can expand downwards to a certain point, at which point the user can scroll within the panel, both vertically and horizontally (horizontally because one GridView has a lot of columns which would be impossible to display without horizontal scrollbars in the panel/div)Problem is, if I set the panel (asp:Panel control) that holds the GridView to have Scrollbars="Both", and have a max-height set on the panel, IE8 refreshes into compatibility mode. If I remove the max height, or have only vertical scrollbars, it works fine. Any workarounds for this?

View 1 Replies

How To Update Website For Compatibility With Internet Explorer 9

Mar 21, 2011

when I launched my site within Internet Explorer 9 I began receiving script error messages. I read the support for Internet Explorer and found out that because some sites are designed for older browsers there'll be compatibility issues until the sites are updated for Internet Explorer 9.

I found that I could add this code :

void Application_BeginRequest()
{
Response.AppendHeader("X-UA-Compatible", "IE=EmulateIE8");
}

to the Global.asax file to deal with the issue. The errors I received were from IE9.

EDIT: The errors were fixed but I want to know if there is an alternative method to making a website compatible with IE9? Also what are the differences between the way IE8 interprets Javascript code and IE9?

View 1 Replies

Web Forms :: Menu Control Not Working In Internet Explorer And Safari?

Mar 18, 2010

I have taken menu control to display pages on my project. it is working fine in mozilla bu not in safari and internet explorer.

In safari Even sub menu items are not coming. it is displaying like this.

T-Shirts Expand <b>T-Shirts</b> Caps Expand
<b>Caps</b> Bags Expand
<b>Bags</b> Neck
Ties Expand <b>Neck Ties</b> Gift
Items Expand <b>Gift Items</b> in Safari.

In Internet explorer sub menu items are not coming.

View 2 Replies

AJAX :: ControlToolkit TabContainer Control Not Working In Internet Explorer

Aug 2, 2012

I am using  Tabcontainer of AJAX Control Toolkit . The problem is that, i have 15 tabpanels. this tabs in three lines, first 5 in one line, second 5 tabs in second line,third 5 tabs in third line.

If I click first / six/fifteen'th tab means it shows the relevant tabpanel with data correctly.

Each tabs have three buttons like Save, Edit and Cancel

All three line's tabpanels works properly in Chrome and Firefox.

But in IE,

First line tabpanel's button work properly...

second and third line tabpanel's buttons is not work properly,

if I click the second and third line tabpanel's buttons means.. It didn't go to page load..

How can I do that??

View 1 Replies

Web Forms :: Button Is Not Working Internet Explorer?

Jan 19, 2011

I have asp button control on my page. Upon running in IE, it is not doing anything even postback. While the same is running perfect in Firefox. I have surfed the web regarding the problems and almost applied all the things. I have no double forms tag. I found one solution to set UseSubmitBehavior="false". After this, it work but my text box controls lose its content. I am using framework 3.5.

View 8 Replies

Web Forms :: Code Not Working In Internet Explorer

Jul 15, 2010

i want to send mail to user using checkbox selection within Grid View so i write this code using this website: [URL] But problem is this is working in mozilla but not in IE 8 , my IE enable script debugging. here is my code:

<table>
<tr>
<td>
Select User Type:
</td>
<td>
<asp:DropDownList ID="DropDownList1" runat="server" OnTextChanged="DropDownList1_TextChanged" AutoPostBack="true">
<asp:ListItem Text="--Select--" Selected="True" Value="1"></asp:ListItem>
<asp:ListItem Text="Free User"></asp:ListItem>
<asp:ListItem Text="Paid User"></asp:ListItem>
<asp:ListItem Text="All User"></asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<script language="javascript" type="text/javascript">
function SelectAllCheckboxes(spanChk)
{
// Added as ASPX uses SPAN for checkbox
var oItem = spanChk.children;
var theBox=(spanChk.type=="checkbox")?spanChk:spanChk.children.item[0];
xState=theBox.checked;
elm=theBox.form.elements;
for(i=0;i<elm.length;i++)
if(elm[i].type=="checkbox" && elm[i].id!=theBox.id)
{
//elm[i].click();
if(elm[i].checked!=xState)
elm[i].click();
//elm[i].checked=xState;
}
}
</script>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="uid">
<Columns>
<asp:boundfield DataField="uid" HeaderText="uid" ReadOnly="True" InsertVisible="False" SortExpression="uid" Visible="False">
</asp:boundfield>
<asp:boundfield DataField="nregistration" HeaderText="Registration" SortExpression="nregistration">
<ItemStyle Width="100px" />
</asp:boundfield>
<asp:boundfield DataField="nname" HeaderText="Name" SortExpression="nname">
<ItemStyle Width="100px" />
</asp:boundfield>
<asp:templatefield HeaderText="Email" SortExpression="nemail">
<ItemTemplate>
<asp:Label ID="lblemail" runat="server" Text='<%# Eval("nemail") %>'>
</asp:Label>
</ItemTemplate>
</asp:templatefield>
<asp:boundfield DataField="ntelephone" HeaderText="Telephone" SortExpression="ntelephone" Visible="False">
</asp:boundfield>
<asp:boundfield DataField="naddress" HeaderText="Address" SortExpression="naddress" Visible="False">
</asp:boundfield>
<asp:boundfield DataField="ndate" HeaderText="Date" SortExpression="ndate" Visible="False">
</asp:boundfield>
<asp:boundfield DataField="uname" HeaderText="uname" SortExpression="uname" Visible="False">
</asp:boundfield>
<asp:boundfield DataField="upassword" HeaderText="upassword" SortExpression="upassword" Visible="False">
</asp:boundfield>
<asp:boundfield DataField="usertype" HeaderText="UserType" SortExpression="usertype">
<ItemStyle Width="100px" />
</asp:boundfield>
<asp:boundfield DataField="umonth" HeaderText="Month" SortExpression="umonth">
<ItemStyle Width="100px" />
</asp:boundfield>
<asp:templatefield HeaderText="Select">
<HeaderTemplate>
<input id="chkAll" onclick="javascript:SelectAllCheckboxes(this);" runat="server" type="checkbox" title="xyz" />
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox ID="chkSelect" runat="server" />
</ItemTemplate>
</asp:templatefield>
</Columns>
</asp:GridView>
<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/database/profit_street.mdb"
SelectCommand="SELECT * FROM [registration]"></asp:AccessDataSource>
</td>
</tr>
<tr>
<td>
Subject: </td>
<td>
<asp:TextBox ID="TextBox1" runat="server" Columns="60"></asp:TextBox>
</td>
</tr>
<tr>
<td>
Message:
</td>
<td>
<asp:TextBox ID="TextBox2" runat="server" Columns="60" Rows="8" TextMode="MultiLine"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<asp:Button ID="Button1" runat="server" Text="Send Mail" OnClick="Button1_Click" ValidationGroup="x1"/>
</td>
</tr>
</table>

===========================In CS===================================
protected void DropDownList1_TextChanged(object sender, EventArgs e)
{
if (DropDownList1.SelectedItem.Text=="Free User")
{
con.Open();
OleDbCommand cmd = new OleDbCommand("select * from registration where usertype='Free User'", con);
OleDbDataReader red = cmd.ExecuteReader();
GridView1.DataSource = red;
GridView1.DataBind();
con.Close();
}
else if (DropDownList1.SelectedItem.Text=="Paid User")
{
con.Open();
OleDbCommand cmd = new OleDbCommand("select * from registration where usertype='Paid User'", con);
OleDbDataReader red = cmd.ExecuteReader();
GridView1.DataSource = red;
GridView1.DataBind();
con.Close();
}
else if (DropDownList1.SelectedItem.Text == "All User")
{
con.Open();
OleDbCommand cmd = new OleDbCommand("select * from registration", con);
OleDbDataReader red = cmd.ExecuteReader();
GridView1.DataSource = red;
GridView1.DataBind();
con.Close();
}
}
protected void Button1_Click(object sender, EventArgs e)
{
con.Open();
foreach (GridViewRow gv in GridView1.Rows)
{
CheckBox deleteChkBxItem = (CheckBox)gv.FindControl("chkSelect");
if (deleteChkBxItem.Checked)
{
StringBuilder str = new StringBuilder();
string strMail = ((Label)gv.FindControl("lblemail")).Text.ToString();
SmtpClient sc = new SmtpClient();
MailMessage mm = new MailMessage("webtechno.in@gmail.com", strMail);
mm.Subject = TextBox1.Text;
mm.Body = TextBox2.Text;
sc.EnableSsl = true;
sc.Send(mm);
Response.Write(strMail);
}
}
con.Close();
}

View 5 Replies

CSS Font Is Working In FireFox But Not In Internet Explorer 8.0

Aug 30, 2010

I tried a lot but I could not figure out why the IE is not taking font size and name in to effect from CSS. In firefox my website could be seen very nice but in IE it is little bit unshiny and font size is bigger For the difference which I am talking about could be seen if your PC have both firefox and IE installed. [URL] open it in FF and IE and you could see the font and alignment related change. All these settings are in body element of CSS. Do you any idea regarding this?

View 5 Replies

Asp - Visible Selector Not Working In Internet Explorer

Aug 3, 2010

I'm working on some basic form validation styles for an ASP.Net website. I need to select all span elements that are visible, and add a css style to another element. (Just to indicate which input fields are invalid.) The below code works like a charm in FF and Safari, but fails in IE. I've narrowed the problem down to the :visible selector. Here's the jQuery code. IMPORTANT NOTE: Production site is running jQuery 1.3.1 There were changes made to the :visible selector in 1.3.2 release notes

$('span.inputError:visible').each(function() {
$(this).parent().parent().prev('td').children('label').children('span').css('color','red');
});

Here's the rendered HTML it's intended for:

<table width="100%" cellspacing="0" cellpadding="3" border="0">
<tbody>
<tr>
<td valign="top" style="text-align: right;" class="address_labels">
<label><span>*</span> First Name: </label>
</td>
<td>
<span id="ctl00_CMain_txtFirstName_wrapper"><input type="text" style="width: 190px;" invalidstyle="inputError" class="radEnabledCss Input" name="ctl00_CMain_txtFirstName_text" id="ctl00_CMain_txtFirstName_text" size="20" value=" zdogg"><input type="text" value=" zdogg" style="border: 0pt none ; margin: -18px 0pt 0pt; padding: 0pt; overflow: hidden; visibility: hidden; width: 1px; height: 1px;" name="ctl00$CMain$txtFirstName" id="ctl00_CMain_txtFirstName"><input type="hidden" name="ctl00_CMain_txtFirstName_ClientState" id="ctl00_CMain_txtFirstName_ClientState" autocomplete="off"></span>
<div>
<span style="color: Red; display: none;" class="inputError" id="ctl00_CMain_valFirstName">First name is required</span>
</div>
</td>
</tr>
</tbody></table>

View 1 Replies

AJAX :: Accordion Panes Not Working In Internet Explorer

Feb 24, 2010

I am creating an accordion dynamically through aspx.cs file. There is a subaccordion inside each accordion pane. I am seeing that if there are 10 or more accordion panes in the root accordion, then I can only expand first 4 or 5 panes. Nothing happens when I click on other panes. This is happening in IE8, tried on three different machines. I don't see this problem with Mozilla, it can open as many panes as possible, I have tried with 20 panes in mozilla.

View 1 Replies

AJAX :: Accordion Inside CollapsiblePanelExtender - Internet Explorer Not Working

Feb 21, 2010

Imports System
Imports System.Data
Imports System.Data.OleDb
Imports System.Web
Imports System.Web.UI
Imports System.Xml
Imports System.IO
Imports System.EventArgs
Imports System.Web.UI.HtmlControls
Imports System.Web.UI.WebControls
Protected Sub Page_Load(ByVal
sender As
Object,
ByVal e
As System.EventArgs)
Handles
Me.Load
Dim div1, divana
As
New HtmlGenericControl("div")
Dim lbl
As
New Label
Dim imgbt
As
New ImageButton
Dim acp
As
New AjaxControlToolkit.CollapsiblePanelExtender
Dim aacc
As
New AjaxControlToolkit.Accordion
Dim aap, aap2
As
New AjaxControlToolkit.AccordionPane
Dim cnt
As
New ContentPlaceHolder
Dim pnl
As
New Panel
Dim pnlana
As
New Panel
Dim cssUrl
As
String
Dim cssLink
As
New HtmlLink()
Dim i,n,k,p
As
Integer
Dim bag
As
New OleDbConnection
Dim s
As
String
'stylesheet add
cssUrl = Server.MapPath("daban.ccs")
cssLink.Href = cssUrl
cssLink.Attributes.Add("rel",
"stylesheet")
cssLink.Attributes.Add("type",
"text/css")
Page.Header.Controls.Add(cssLink)
'---------- find content
cnt = DirectCast(Me.Master.FindControl("ContentPlaceHolder1"),
ContentPlaceHolder)
divana.ID = "Divana"
divana.Attributes("Style") =
"padding:20px"
'---- 1. group
div1 = New HtmlGenericControl("div")
div1.ID = "divduyana"
div1.Attributes("Style") =
"padding-bottom:20px;color:#5377A9;font-family:Arial, Sans-Serif;font-weight:bold;font-ize:1.5em;"
lbl = New Label
lbl.ID = "lblana"
lbl.Text ="DUYURULAR..."
div1.Controls.Add(lbl)
divana.Controls.Add(div1)
'-----1 group end
n=3 ' normally it is getting from database
For i = 1
To n
'---- 2 group start
pnl = New Panel
pnl.ID = "Duy" + i.ToString() +
"_1"
pnl.Width = 600
pnl.Height = 30
pnl.HorizontalAlign = HorizontalAlign.Center
'image
div1 = New HtmlGenericControl("div")
div1.ID = "divimg" + i.ToString()
div1.Attributes("Style") =
"float: left; vertical-align: middle;"
imgbt = New ImageButton
imgbt.ID = "imgbt" + i.ToString()
imgbt.ImageUrl = "~/image/expand_blue.jpg"
imgbt.AlternateText = "Detaylari Goster..."
div1.Controls.Add(imgbt)
pnl.Controls.Add(div1)
'label
div1 = New HtmlGenericControl("div")
div1.ID = "divlblduy" + i.ToString()
div1.Attributes("Style") =
"float: left;"
lbl = New Label
lbl.ID = "lblduy" + i.ToString()
lbl.Text = "lbl_text balabala"
lbl.ForeColor = Drawing.Color.Red
div1.Controls.Add(lbl)
pnl.Controls.Add(div1)
' label detay goster
div1 = New HtmlGenericControl("div")
div1.ID = "divlbldet" + i.ToString()
div1.Attributes("Style") =
"float: rigth;"
lbl = New Label
lbl.ID = "lbldet" + i.ToString()
lbl.Text = "(Detaylari Goster...)"
lbl.ForeColor = Drawing.Color.Gray
div1.Controls.Add(lbl)
pnl.Controls.Add(div1)
divana.Controls.Add(pnl)
'----- 2 group end
'----- 3 group start
pnl = New Panel
pnl.ID = "Duy" + i.ToString() +
"_2"
pnl.Width = 600
' accordino
aacc = New AjaxControlToolkit.Accordion
aacc.ID = "Acc" + i.ToString()
k=2 ' normally coming from database
For t = 1
To
k
aap = New AjaxControlToolkit.AccordionPane
aap.ID = "Apane" + i.ToString() +
"_" + t.ToString()
aap.HeaderContainer.Controls.Add(New LiteralControl("anyname"))
aap.ContentContainer.Controls.Add(New LiteralControl("anycontent"))
aacc.Panes.Add(aap)
Next
aacc.HeaderCssClass = "accordionHeader"
aacc.ContentCssClass = "accordionContent"
pnl.Controls.Add(aacc)
acp = New AjaxControlToolkit.CollapsiblePanelExtender
acp.ID = "acp" + i.ToString()
acp.TargetControlID = "Duy" + i.ToString() +
"_2"
acp.ExpandControlID = "Duy" + i.ToString() +
"_1"
acp.CollapseControlID = "Duy" + i.ToString() +
"_1"
acp.Collapsed = True
acp.TextLabelID = "lbldet" + i.ToString()
acp.ImageControlID = "imgbt" + i.ToString()
acp.ExpandedText = "(Detaylari Gizle...)"
acp.CollapsedText = "(Detaylari Goster...)"
acp.ExpandedImage ="~/image/collapse_blue.jpg"
acp.CollapsedImage = "~/image/expand_blue.jpg"
acp.SuppressPostBack = True
'acp.SkinID = "CollapsiblePanelDemo"
cnt.Controls.Add(acp)
div1 = New HtmlGenericControl("div") ' this is just i add
extra
div1.ID = "divara" + i.ToString()
div1.Attributes("Style") =
"float: left;"
divana.Controls.Add(div1)
divana.Controls.Add(pnl)
Next
'----3 group end...
cnt.Controls.Add(divana)
End
Sub
<ASPX code is>
<%@
Page
Language="VB"
MasterPageFile="~/tiyap.master"
AutoEventWireup="false"
CodeFile="duyurular.aspx.vb"
Inherits="duyurular"
title="Untitled Page" %>
<%@
Register
assembly="AjaxControlToolkit"
namespace="AjaxControlToolkit"
tagprefix="ajaxToolkit" %>
<asp:Content
ID="Content1"
runat="server"
contentplaceholderid="ContentPlaceHolder1">
<ajaxToolkit:ToolkitScriptManager
ID="ToolkitScriptManager1"
runat="server">
</ajaxToolkit:ToolkitScriptManager>
</asp:Content>
there is no error...
code is working on mozzila firefox, like what i want
<div>
- collespand 1
-----accordion 1
-------acc pane 1
-------acc pane 2
- collespand 2
-----accordion 2
-------acc pane 3
-------acc pane 4
- collespand 3
-----accordion 3
-------acc pane 5
-------acc pane 6
<div>
but when i run this code inside internet explorer any version ...
result became
- collespan1
---acc 1
------ accpane1
------accpane2
----------collespan2

all going inside collespan1? what is the problem? why firefox is working ok, internet explorer not. it is a bug or i write something wrong

View 6 Replies

Forms Data Controls :: Panel Scrollbars Not Working In Internet Explorer

Nov 24, 2010

I am using a panel Control but its Scrollbars are not working in Internet explorer 6.0 but it is working in Mozilla firefox.

View 1 Replies

C# - IIS Session Isolation / Internet Explorer Not Working In Windows Server 2003 Machine

Nov 10, 2010

I am using ShDocVW.InternetExplorer class to spawn a new internet explorer object and to do some form filling stuffs(for some sharepoint works).It works fine in my own machine which has Windows 7 as the OS. But when I deployed the same thing in windows server 2003 machine, it does not pop up the internet explorer window. When I check the Task Manager, I could see a new iexplore process, but with Session ID = 0 (but session ID = 1 in windows 7). So, I see this is something regarding IIS Session isolation.So, is it possible to assign a ShDocVW.InternetExplorer instance to kind of a new System.Diagnostics.Process and achieve this task? Or can we start a new ShDocVW.InternetExplorer instance with session ID = 1?

View 3 Replies

Web Forms :: How To Register OCX Control With Internet Explorer

May 7, 2015

I have one ocx control. this ocx for getting information about keyboard events from client machine.I need to access this OCX from web page IE. this ocx should install in client machine.

View 1 Replies

Web Forms :: Cannot Display Image Control On Internet Explorer 8

Feb 2, 2010

I used a ASP Image control using Visual Studio 2008 and defined the URL to the JPG picture as in :

asp:Image ID="Image1" runat="server" ImageUrl="~/App_Data/Stone Forest 2.jpg"
style="z-index: 1; left: 368px; top: 290px; position: absolute; height: 307px; width: 537px" />

When VS debugging view on the .aspx page on Internet Explorer 8, I don't see the picture except for a blank Image control box outline and at the top left corner, a symbol "X" in a square box was displayed. Is there some settings to do with IE8 or Visual Studio 2008 ?

View 5 Replies

IE7 Internet Explorer Cannot Open The Internet Site, Operation Aborted

Jun 10, 2010

when i test this page http://www.catalogues4u.com.au/ViewCategory.aspx?catID=119 im getting the above error. to replicate this issue visit the above page in ie7 and you will get the prompt.

View 3 Replies

AJAX :: Control Toolkit's Combobox + Internet Explorer Are Too Slow?

Feb 21, 2011

I have problems with optimizing AJAX Control Toolkit. The specific problem is that 4800 records take about 30 seconds to bind in Internet Explorer (only 2 seconds in Opera & Firefox). I've tried anything, but I still can't improve the load time in IE.I've already enabled compression and caching, I'm using ToolkitScriptManager instead of ScriptManager. I've tried setting LoadScriptsBeforeUI and EnablePartialRendering to false, but it still doesn't help.

This is the query I use for binding.
[Code]....

View 1 Replies

Web Forms :: Menu Control: Submenu Visible On Mozilla But Not On Internet Explorer On Production?

Jan 10, 2011

I have just put a site on a production server for testing.However,the submenu is not visible in internet explorer but is on mozilla.The submenu is visible when run from the local host.

View 1 Replies

MVC :: Request.Params Request.Form Not Working In Internet Explorer 8?

Jun 29, 2010

This is a input

<input type="image" src="<%=Url.Content("~/images/shopping-cart.jpg")%>" alt="shopping cart" id="btnshoppingCart" name="btnshoppingCart" value="shoppingCart" />

when i browse the page with firefox and click on the input Request.Params["btnshoppingCart"] != null or Request.Form["btnshoppingCart"] != null is statisfied.

When i browse the same page with internet explorer 8 and click on the same input Request.Params["btnshoppingCart"] != null or Request.Form["btnshoppingCart"] != null is not satisfied. When i used the watch i saw that there is no key by the name of "btnshoppingCart" in either Request.Form or Request.Params if input is clicked from internet explorer. However when it is clicked from firefox there is value "shoppingCart" inside Request.Form and Request.Params against "btnshoppingCart" key. One more strange thing that i observed was that are two keys "btnshoppingCart.x" and "btnshoppingCart.y" inside both Request.Form and Request.Params whenver clicking is done from both internet explorer and firefox. This is happening against all inputs of type image irrespective if the input is present inside a html form or not. Forms are created like this

<% using (Html.BeginForm("Action", "Controller", FormMethod.Post)){%>

The version of internet explorer is 8.0 and firefox is 3.6.6

View 5 Replies

C# - IIS6 Ignores IE7 Compatibility Mode Tag In Web.config?

Nov 29, 2010

From; ASP.NET Ignores IE7 Compatibility Mode Tag in Web.config

<system.web>
<httpProtocol>
<customHeaders>
<clear />
<add name="X-UA-Compatible" value="IE=EmulateIE7" />
</customHeaders>
</httpProtocol>
</system.web>

Related to the answer Chris Shouts added;

When I attempt to add the <httpProtocols> sections into the <system.web> I get
Parser Error Message: Unrecognized configuration section system.web/httpProtocol.

I ideally need to be able to add customHeaders through the IIS6 web.config (I however am assuming this won't work)

View 2 Replies

AJAX :: Reorderlist And The Horrible 'compatibility Mode' In IE8?

Jan 18, 2011

I have created an intranet site that has a reorder list.IE8 defaults to running intranet sites in compatibility mode. My reorderlist does not like this. Basically the drag/drop function goes away.

Now, i have tried adding the <meta
http-equiv="X-UA-Compatible" content="IE=8" /> but it does not fix it. It fixes most of my issues, but not the drag/drop.If i tell the browser to NOT use compatibility mode, everything seems to work as intended, but there is no way i can force all the users to disable it.

View 2 Replies

SQL Reporting :: IE8 Cut Table Rows Of A Report In Compatibility Mode?

Mar 8, 2010

We have a problem that in IE8 some of table rows (made by Reporting Services) are cut if compatibility mode of a browser is set to on (exactly a page is cut on bottom and left side and it is not visible). So we have to explain at every customer to disable compatibility mode. Does exist any way to display report page correctly even if a compatibility mode is on? Is this a bug?

View 1 Replies

WCF - Compatibility Mode And Custom Authentication Using Membership Providers

Oct 26, 2010

To begin with I work on the large application, that has a WinForms client and server. Server in our case is the set of WCF services. There is one service that is responsible for authentication of users. The logic of authentication is custom and complex and authentication service uses different membership providers.

We want to protect the access to server services for non-authenticated users. The users must firstly authenticate and than use other services (users in this case are the other systems, services, WinForms client, etc.). On this basis, we decided to use the ASP.NET Url/File Authorization feature.

So, I set on the ASP.NET compatibility mode, allowed cookie in all binding configurations, added AspNetCompatibilityRequirements attribute to our services and added the followingconfigurations to config:

<authentication mode="Forms">
<forms cookieless="UseCookies">
<credentials passwordFormat="Clear" />
</forms>
</authentication>
<authorization>
<deny users="?" />
</authorization>
...
<location path="AuthenticationService.svc">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>

In the authenticate method of our authentication service I add the following code:
public AuthenticationResult AuthenticateUser(string username, string password)
{
AuthenticationResult result = new AuthenticationResult();
result = Authenticate(username, password);
if (result.IsAuthenticated)
FormsAuthentication.SetAuthCookie(username, true);
return result;
}

Next, I wrote the following code:

var authClient = new AuthenticationServiceClient();
var result = authClient.AuthenticateUser("user", "password");
var otherClient = new OtherServiceClient();
var temp = otherClient.DoSomething();

But after authentication I can't access to OtherServiceClient...

So, how can I share the call context between the WCF services calls? Could anybody provide some useful articles about this question?

View 1 Replies

HTML - Table Causing IE To Go Into Compatibility View Mode?

Dec 15, 2010

I have a table with 3 rows, each with an ASP.NET panel with a gridview in it. For some reason, this is causing IE8 to go into compatibility view mode. If I change the table to 3 seperate divs, this works but if I use divs some functionality (i.e. max height) doesn't work as it does on tables. I've also tried 3 seperate tables but to no avail.

View 2 Replies

Configuration :: Trigger IE9 To Render In Compatibility Mode Negatively Affect Performance On The Server?

Mar 17, 2011

Would adding "X-UA-Compatible: IE=EmulateIE7" as an http header to trigger IE9 to render in compatibility mode negatively affect performance on the server? I made the change today, adding it, but now some areas of our site are behaving sluggishly, though we did have a large number of changes come in overnight. I know that we can't single out this as the problem, but my boss seems to think it is.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved