AJAX :: Reorderlist Not Working With 40412 / VS2010?

Jun 2, 2010

using 40412 in VS2010, I can't get reorderlist to work - can't pick any items up and move them around in any browser. sample site works fine, and I even tried referencing the dll from the bin directory there with no luck. tried running some code that binds data manually from a working project that uses a previous release and all I get is a regular list. converted data source to a sqldatasource and still no dice.

one oddity I do see between my non-working project and the other working examples (sample site and my older project) is that the generated list item div IDs are identical in my project, while the working examples all have unique IDs generated, ie:

non-working project: <li id="ReorderList1" style="vertical-align:middle;"> (all LIs identical)
working example (40412 sample site): ><li id="ctl00_SampleContent_ReorderList1__rli5" style="vertical-align:middle;"> (each line has unique suffix - in this case __rli5)

View 4 Replies


Similar Messages:

AJAX :: ReOrderList Delete Command Not Working?

Aug 7, 2010

I have a page that uses the Ajax Reorder List.

It is based on the example code from Joe Stagner's excellent video.

The adding and reordering work perfectly.

I added a delete button in the Item template. However the delete function doesn't seem to do anything.

[Code]....

View 2 Replies

AJAX :: ReorderList Edit Item Not Working?

Jan 21, 2011

I cannot get my reorderlist item to convert to the edit item template correctly for some reason on the first click. On the second click it appears though everytime!

Here is my code which should set the item into edit mode:

protected void rlReorder_ItemCommand(object sender, ReorderListCommandEventArgs e)
{
ReorderList sendingList = (ReorderList)sender;
sendingList.EditItemIndex = e.Item.ItemIndex;
}

View 1 Replies

AJAX :: AjaxControlToolkit Version 4.1.40412.0 Is Required

Feb 15, 2011

We get this Warning in the Event Log from time to time. It seems to crasch our web so an iisreset is required.I have checked the version of AjaxControlToolkit that we use - and it is the version it says it needs. So what should I do?

Exception information:
Exception type: InvalidOperationException
Exception message: The requested script resource 'Common.Common.js' requires version 'AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' of the ASP.NET AJAX Framework. To use this resource, make sure that the application references version 'AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e'.

View 7 Replies

AJAX :: How To Use CDN For MicrosoftAjax.js With .NET 4 & Control Toolkit 40412

Nov 5, 2010

Looks like there aren't a lot of users using the Ajax Control Toolkit 40412 and the Microsoft Microsoft Ajax CDN because I can't find any information on how to get the MicrosoftAjax.js and MicrosoftAjaxWebForms.js files to be linked to the CDN.

First issue:Ajax Control Toolkit 40412 seems to be using its own customized version of MicrosoftAjax.js and MicrosoftAjaxWebForms.js. Toolkit's version

is 4.1.40412.2, while the version that come with ASP.NET Ajax 4 is 4.0.30205.0. By default when using the toolkit the version is swapped to the toolkit's version. While the ASP.NET Ajax 4 version is hosted on the CDN (http://www.asp.net/ajaxlibrary/CDNAjax4.ashx)
the version with the Toolkit is not (http://www.asp.net/ajaxlibrary/CDNACT40412.ashx), which doesn't make any sense because all the other files are hosted. Therefore, a CDN version of MicrosoftAjax.js and MicrosoftAjaxWebForms.js is UNAVAILABLE when using the Ajax Control Toolkit 40412.

Second Issue:Why not use the ASP.NET Ajax 4 version of the the MicrosoftAjax.js, after all its version 4. The version can be swapped out by adding a Script Resource Mapping to the Application_Start event in the Global.asax.cs.

void Application_Start(object sender, EventArgs e)
{
ScriptManager.ScriptResourceMapping.AddDefinition("MicrosoftAjax.js", new ScriptResourceDefinition
{
Path = "~/Scripts/MicrosoftAjax.js", [code]....

However, when the version is changed to the ASP.NET Ajax 4 version the following error is given:

"AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll."

It doesn't matter if you are using the ToolkitScriptManager or ScriptManager you will always get this error when not using the version of
MicrosoftAjax.js that comes with the AjaxControlToolkit.So how can one use the Microsoft Ajax CDN for the MicrosoftAjax.js and MicrosoftAjaxWebForms.js with ASP.NET Ajax 4 & Ajax Control Toolkit 40412?

One other note. The new attribute EnableCdn="true" is of course rendered completely useless when using the Ajax Control Toolkit because the idea is that the MicrosoftAjax.js and MicrosoftAjaxWebForms.js files would then be linked by references to the CDN. This does not happen with the Toolkit because as described the Toolkit replaces the those files with its own. I was very surprised to find out that all my excitement about having CDN support was made void when I included the Toolkit in my project.

View 6 Replies

AJAX :: Unable To Use Compiled Control Toolkit 40412 Under .NET 3.5?

Aug 6, 2010

Im having problem with the newest release of Ajax Control Toolkit under .NET 3.5

I downloaded source code from AjaxControlToolkit.Source.zip and compiled it under .NET 3.5

Then i made simple web application:

[Code]....

It failed to run with my compiled version of ACT, im having an error:"Line: 160 Error: '$common' is null or not an object"

in AsyncFileUpload.AsyncFileUpload.debug.js and then:

"Line: 22 Error: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll." in

AsyncFileUpload.AsyncFileUpload.debug.js" in Common.Common.debug.js

I tried to use precompiled binaries of ACT : AjaxControlToolkit.Binary.NET35.zip and its working!

There is difference in referenced scripts between my dll and AjaxControlToolkit.Binary.NET35.zip

In my version, the headers of MicrosoftAjax.debug.js and MicrosoftAjaxWebForms.debug.js are:

// Name: MicrosoftAjax.debug.js
// Assembly: System.Web.Extensions
// Version: 3.5.0.0
// FileVersion: 3.5.30729.4926
//-----------------------------------------------------------------------
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------
// MicrosoftAjax.js
// Microsoft AJAX Framework.

// Name: MicrosoftAjaxWebForms.debug.js
// Assembly: System.Web.Extensions
// Version: 3.5.0.0
// FileVersion: 3.5.30729.4926
//-----------------------------------------------------------------------
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------
// MicrosoftAjaxWebForms.js
// Microsoft AJAX ASP.NET WebForms Framework.

And when im using version from AjaxControlToolkit.Binary.NET35.zip, they are:

// Name: MicrosoftAjax.debug.js
// Assembly: AjaxControlToolkit
// Version: 3.5.40412.0
// FileVersion: 3.5.40412.2
// (c) 2010 CodePlex Foundation

// Name: MicrosoftAjaxWebForms.debug.js
// Assembly: AjaxControlToolkit
// Version: 3.5.40412.0
// FileVersion: 3.5.40412.2
// (c) 2010 CodePlex Foundation

I have not compared the rest of scripts, but in those 2 scripts: assembly, version and author does not match between my and precompiled dll. ToolkitScriptManager is trying to load microsoft scripts, but it should load those from CodePlex.In solution downloaded from AjaxControlToolkit.Source.zip, there are 2 projects: MicrosoftAjax and MicrosoftAjax.Extened, i think ToolkitScriptManager should take scripts from them. Maybe im compiling it in a wrong way? (I changed target framework in AjaxControlToolkit project to .NET 3.5 and also tried to change it in 2 projects mentioned above, with no effect).

View 5 Replies

AJAX :: Error : CS1705 Running Ajaxcontroltoolkit V 3.5.40412.0

Nov 18, 2010

I'm developing on an existing software (PLM) with visual studio 2008, a new ascx page.

Microsoft .NET Framework use by the soft is : 2.0.50727.1433 and ASP.NET version use by the soft is : 2.0.50727.1433 too.

On my server, I've installed Framework 3.5 and I use Ajax Control tool kit version 3.5.40412.0.

I've got a similar problem than other people, but I can't find any solution.I've got the Error message when I want to load a page : CS1705: Assembly AjaxControlKit version 3.5.40412.0 [...] use System.Web.extensions Version 3.5.0.0 [...] which have a higher version than Assembly System.Web.Extensions Version 1.0.61025.0

On my server in folder C:windowsAssembly, I have System.Web.extensions Version 3.5.0.0 and System.Web.Extensions Version 1.0.61025.0 so in theory it can work no ?In my webconfig file I try to add this code :

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31BF3856AD364E35"/> [code]....]

View 2 Replies

AJAX :: Latest Version 4.1.40412.0 Not A Microsoft .net Module?

Apr 26, 2010

When adding the latest ajax control toolkit.dll to my VS environment, it throws a "AjaxControlToolkit.dll is not a Microsoft .Net module.

View 4 Replies

AJAX :: How To Include Client Side Scripts With Build 40412

May 26, 2010

with build 30512 i was using client scripts including the .js this way:

<AjaxControlToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Name="AjaxControlToolkit.Common.Common.js" Assembly="AjaxControlToolkit" />
<asp:ScriptReference Name="AjaxControlToolkit.Compat.Timer.Timer.js" Assembly="AjaxControlToolkit" />
<asp:ScriptReference Name="AjaxControlToolkit.Animation.Animations.js" Assembly=" AjaxControlToolkit" />
</Scripts>
</AjaxControlToolkit:ToolkitScriptManager>

now i receive this error (sorry, it is in italian) :

L'assembly 'AjaxControlToolkit, Version=3.5.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' non contiene una risorsa Web con nome 'AjaxControlToolkit.Common.Common.js'. Descrizione: Eccezione non gestita durante l'esecuzione della richiesta Web corrente. Per ulteriori informazioni sull'errore e sul suo punto di origine nel codice, vedere l'analisi dello stack. Dettagli eccezione: System.InvalidOperationException: L'assembly 'AjaxControlToolkit, Version=3.5.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' non contiene una risorsa Web con nome 'AjaxControlToolkit.Common.Common.js'.

I am currently using some $common functions, like getContentSize() and so on.

Looking at the source code it seems to me that all the paths have been changed, but i cannot understand the right namespace to use with the latest release.

View 8 Replies

DataSource Controls :: Entity FK Setup Via VS2010 / Working Enity Model With Foreign Keys Working?

Jul 9, 2010

Am trying to get a working enity model with foreign keys working but have run into a problem. I have imported 3 tables with content and some data.Lets call these tables geo_countries, geo_counties, geo_municipalities and the FK are:1. geo_county have a column country_id wich corresponds to country_id in geo_country 2. geo_municipality have a column county_id wich correspond to the county_id in geo_county.The problem i have is when i try to get correspondig child items with the following code i run into trouble:

[Code]....

The problem above is that 'test' generates results but not 'test2', wich never return anything. Am i not supposed to be able to do it like i do in 'test2'? I earlier tried to add a child object by replacing ToList() with Add() and that worked. But i cant seem to get anything out of it.

View 4 Replies

AJAX :: ReOrderList Not Dragging?

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

AJAX :: Reorderlist Not Reordering?

Aug 29, 2010

[Code]....


Reorderlist not reordering

View 3 Replies

AJAX :: ReorderList Is Not Updating?

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

AJAX :: Add Item To Reorderlist?

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

AJAX :: ReorderList: No Error But Not Update?

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

AJAX :: Number Of ItemTemplate In Reorderlist?

Apr 2, 2010

Is there any way to get the number of ItemTemplate(rows) in Ajax Reorderlist by javascript?

View 1 Replies

AJAX :: Creating Reorderlist Programmatically?

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

AJAX :: Enter New Value Into ReOrderList From A Dropdownlist?

Aug 8, 2010

[Code]....

enter new value into ReOrderList from a dropdownlist?

View 1 Replies

AJAX :: ReorderList Reordering On Click?

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

AJAX :: Checkbox In Reorderlist Can't Be Checked In IE?

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

AJAX :: ReorderList Can't Be Saved To Database?

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

AJAX :: DataList Not Being Refreshed When ReOrderList Changes?

Aug 8, 2010

[Code]....

DataList Not Being Refreshed When ReOrderList Changes


View 1 Replies

AJAX :: Drag Item From ReorderList A And Drop On B

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

AJAX :: How To Update Reorderlist When Using DataSource Instead Of DataSourceID

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

AJAX :: ReorderList Not Triggering Update Oracle?

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







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