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
Similar Messages:
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
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
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
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
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
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
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
Jun 30, 2010
Can I use the latest AJAX Control Toolkit on a .net 2.0 project which will be deployed to a server with framework 2.0 only? If not, where can I download the latest AJAX Control Toolkit for framework 2.0?
View 4 Replies
Mar 29, 2010
Trying out the reorderlist AJAX control and having little satisfaction. I followed the Joe Stagner tutorial [URL]
<ajaxToolkit:ReorderList ID="ReorderList1" runat="server"
View 1 Replies
Aug 29, 2010
[Code]....
Reorderlist not reordering
View 3 Replies
Mar 27, 2011
Im using LINQ2SQL
I have a reorder list that does not throw exeptions. But when i reorder the items the changes are not saved.
Im publishing the reorder asp tags and 2 methods that take care of the saving.
Maybe im not thinking straight with the LINQ 2 SQL?
ASP tags
[Code]....
******* CODE BEHIND METHOD **************
[Code]....
************ Database management method **************
public static void UpdateLinks()
{
db.SubmitChanges();
}
View 1 Replies
Feb 25, 2011
I'm trying to add an item to the Reorderlist dynamically using the following code but nothing gets displayed.
Server Side Code: FieldInfo field = new FieldInfo(); field.FieldId = 1; field.Alias = "Text"; _selectedFieldsListBox.Items.Add(new ReorderListItem(field,_selectedFieldsListBox.Items.Count,ListItemType.Item));
Client Side Code: :
what I'm doing wrong? Or has anyone done this before?
View 2 Replies
Sep 13, 2010
i want to reorder my products. and my table is like below:Products:
id,ProductName,ProductImage,PositionNumber,IsActive,AddedDate
and my aspx page is like below:
[Code]....
i can drag and drop the products but when i come to this page again i saw that there is nothing change there is no error however no update my positionnumber and i dont know why?
View 1 Replies
Apr 2, 2010
Is there any way to get the number of ItemTemplate(rows) in Ajax Reorderlist by javascript?
View 1 Replies
Aug 18, 2010
I hope to get some guidance on how to create reorder lists programmatically because of the situation described below.I have a page where I want to have a toDo Iist for each of several (typically 10) milestone categories. I can think of 3 options.I don't know in advance how many 'active' categories there will be but I there is a known fixed total of about 20 categories, of which from 1 to 20 may be 'active'1. Have one Master ReOrderList And Then Nest the Category ReorderLists Inside 2. Create the reorderlists programmatically.3. Brute force approach. Hardcode all 20 reorderlists and their associated sqldatasources, and then set visibilitydepending on which category is active. This approach is the simplest but has the disadvantage of too muchrepetitive code and the reorder lists would be in a fixed order, when I really want them to match the category order.
View 3 Replies
Aug 8, 2010
[Code]....
enter new value into ReOrderList from a dropdownlist?
View 1 Replies
Jul 12, 2010
I am having an issue where if I simply click the draghandle (no mouse movement) the list is reordering itself by swapping the row I clicked on with the row below it. The sample site doesn't behave this way at all so I am at a loss. One thing I also noted that's different is that when i click the drag handle, the draghandle temple (dashed box) appears on the row below the clicked row. In the samples the dashed box appears on the clicked row.
The ReorderList:
[Code]....
The CSS:
[Code]....
Edit: Using VS 2008, .NET 3.5 and the ToolControlKit dll version: 3.0.30930.0
View 4 Replies
Feb 6, 2010
I am using the AJAX ReorderList, and inside the ItemTemplate I have a label and a checkbox. Now when in firefox I am able to change the checkbox checked state, but in IE it won't allow me to do anything with it. Its weird because the checkbox becomes that blue colour like when it gets focus, but it won't put the check in it or call the postback. The ReorderList is inside an UpdatePanel, so that I can monitor when the check changes on its postback. Below is the code:
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table>
<tr>
<td colspan="2">
[Code]....
View 2 Replies
Jan 16, 2010
I followed the following linkhttp://weblogs.asp.net/justinsaraceno/archive/2008/02/22/reorderlist-with-objectdatasource.aspxand manged to make the orderlist work fine except one thing and probably the most importent thingwhich is saving the reorder back to the databasewhat I changedfirst I'm using it as a c# web form inside a visual basic.net website. Is this OK?second I changed the connectionString to point to my database wich is in SQLEXPRESS ( NOT ATTACHED in App_Data inside the website as the example shows)third I changed the select and update statements and parameters to my needsafter all that it works but without saving the reorder back to databaseReorderClass.cs
[Code]....
View 2 Replies
Aug 8, 2010
[Code]....
DataList Not Being Refreshed When ReOrderList Changes
View 1 Replies
Apr 21, 2010
I need to create a table where every item in the cell can be drag and drop among themselves and and also drag and drop to other cell. I am thinking to create a ReorderList for every table cell but it come to a problem where I need to drag item from 1 ReOrderList to another ReOrderList when I need to drag the item in the cell to another cell. I have find through the internet but find no solution.
View 4 Replies
Jan 27, 2010
Instead of using DataSourceID I have a DataSource built up in codebehind that I bind to the reorderlist. I have set "PostBackOnReorder=True" but how do I update the database on that postback? How do I collect the new order and then save it to the database?
View 1 Replies
Nov 15, 2010
I have been strugling with this for a while and not gettting anywhere fast.I am trying to make a reorderable list using the AjaxtoolKit control ReorderList.It compiles fine and the select works, the problems come with the updates. When I try and reorder I get the following javascript warning: "Reorder failed, see details below.Couldn't find sort field 'ItemPos' in bound data."On investigating I can see that the update command it not being triggered. I can even remove it from the file code and nothing changes.So anyone any ideas what I do? I feel I need a handler in place but I cant seem to get that one figured out.The base code was taken from the toolkit examples and there is no code behind.Code Below:::::
[Code]....
View 4 Replies
Feb 22, 2010
I am trying to create a UI that shows a list of pending work on the left side, and a similar list of planned work on the right side. I would like the user to be able to both reorder items within each list - this works fine with reorderlist; But to be able to move an item from one list to the other - this I can't make work with reorderlist. Is this possible and can anyone give some pointers on how to achieve it ?
View 1 Replies