Ajax Reorder Not Working On One Particular Computer?

Dec 9, 2010

I am using asp.net ajax reorder list for one single page. It works fine for other computers on our network, except one computer. Regardless what browser she's using, it doesn't work. Is there a setting on the workstation's browser to allow asp.net ajax or something?

View 1 Replies


Similar Messages:

AJAX :: Reorder List Isn't Working With My Db Table?

Jun 20, 2010

I did the tutorial for the ReorderList on the asp.net site: http://www.asp.net/ajax/tutorials/drag-and-drop-via-reorderlist-cs and everything works perfectly. But for some reason when I switch out the references and use the same code for my db table the changes aren't saving. In other words when I use the db table called 'AJAX' that I created based on the tutorial everything works perfectly, but when I use it on my table ('projects') the changes don't save to the db. I can't think of anything in the db that would be causing this to happen.

Here's my code:

//This works
<form id="form1" runat="server">
<asp:ToolkitScriptManager ID="asm" runat="server" />
<div>
<asp:ReorderList ID="rl1" runat="server"
SortOrderField="position"

[Code]....

View 5 Replies

AJAX :: Reorderlist Doesn't Reorder / Can't Drag Items To Reorder?

Jul 6, 2010

I have tried several examples of reorder list with several types of data sources and can't get the list to reorder. I have copied Joe Stagner's code from his Video on Reorder Control with the same result. Here is the Video

http://www.asp.net/ajax/videos/how-do-i-the-ajax-toolkit-reorder-control. Page loads, but I can't drag items to reorder. I have tried this with explorer 8 and firefox 3.6, with and without security. Here is the markup, no code behind.

[Code]....

Some of the events don't seem to fire. DataBinding, DataBound, Load, and InsertCommand work ItemReorder does not, (not good for a reorder control). This control should work, but doesn't. I am able to insert data so it seems that the reorder or dragItem templates maybe causing problems. I have commented out but that doesn't help. Here is my only clue, I had to use the script manager from the .net4 Ajax Control Kit for my events to not complain about definitions. I was only using these events with debugger just to see if they are being called, no code in methods. But I am using the toolkit.dll that came with Joe's example. I tried it with .net4 only first, but that didn't work either that's when I installed the dll from Joe's example.

View 1 Replies

Visual Studio :: Getting Website Working On New Computer?

Apr 8, 2010

I'm developing a website using Visual Studio 2010 Beta on computer 1. The site is working...I can debug, the pages render in a browser and I even have Member accounts working. Life is good.

I'm trying to move the application to the new computer (computer 2). I've downloaded Visual Studio Beta 2010 (slightly different look and feel) and copied the project over.

When I try to run the project in the new computer I'm getting the error:

Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

Not sure where to go with this. The web.config file is identical on both computers. The project is set to run with .Net 4 on both computers. Not sure why the targetFramework attribute would be allowed on computer 1 but not on computer 2.Maybe the earlier version of VS 2010 on computer 1 is allowing something that shouldn't be allowed?

View 4 Replies

AJAX :: Can't Drag Reorder List

Sep 30, 2010

I have the same problem as Simon in this post. He found out some sort of a solution, but it does not work for me. Please, could someone explain me what is going on in this answer or advice me something else. PS: there is an example on the asp.net site which doesn't work exactly the same way as my reorder list... (click view a demo) The solution that is suggested here adds these few lines to web.config:

[Code]....

Perhaps I just need to change something to make it work... but I don't know what. For example I have no idea what the ScriptResource.axd is supposed to be. My code: .aspx file

[Code]....

and the code behind

[Code]....

I load the data to the List collection from the page_load event but that works fine. The data binding works as well. The problem is in that the items cannot be reordered -- during the reordering, the sort value doesn't change and the list doesn't update.

View 2 Replies

C# - Ajax Reorder List Can't Be Not Dragged

Sep 29, 2010

I have the same problem as Simon in this post. He found out some sort of a solution, but it does not work for me. Please, could someone explain me what is going on in this answer or advice me something else. PS: there is an example on the asp.net site whh doesn't work exactly the same way as my reorder list... (click view a demo) The solution that is suggested here adds these few lines to web.config:

<httpHandlers>
<add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
</httpHandlers>

Perhaps I just need to change something to make it work... but I don't know what. For example I have no idea what the ScriptResource.axd is supposed to be. My code: .aspx file

<%@ Page Title="" Language="C#" MasterPageFile="~/editor/editor_template.Master" AutoEventWireup="true" CodeBehind="menuEditor.aspx.cs" Inherits="WebPageEditor.editor.menuEditor" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
DeleteMethod="DeleteMenu" InsertMethod="InsertMenu" SelectMethod="SelectMenu"
TypeName="WebPageEditor.editor.MenuSourceManager" UpdateMethod="UpdateMenu"
>
<DeleteParameters>
<asp:Parameter Name="ID" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="name" Type="String" />
<asp:Parameter Name="url" Type="String" />
<asp:Parameter Name="order" Type="Int32" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="ID" Type="Int32" />
<asp:Parameter Name="name" Type="String" />
<asp:Parameter Name="url" Type="String" />
<asp:Parameter Name="order" Type="Int32" />
</UpdateParameters>
</asp:ObjectDataSource>
<asp:ReorderList ID="ReorderList1" runat="server" AllowReorder="True"
DataSourceID="ObjectDataSource1" PostBackOnReorder="False"
ShowInsertItem="True" SortOrderField="order" DataKeyField="ID"
ItemInsertLocation="Beginning">
<ItemTemplate>
<div class="menuEditor">
» <%# Eval("name") %>
<asp:LinkButton ID="LinkButton1" runat="server" CommandName="Edit">LinkButton</asp:LinkButton>
</div>
</ItemTemplate>
<DragHandleTemplate>
<img src="ico/moveHandle_ico.gif"
alt='<asp:Literal ID="Literal1" runat="server" Text="<%$ Resources: editorLocalization, ME_moveHandleTT %>" />'
style="cursor:move; width:35px;" />
</DragHandleTemplate>
<ReorderTemplate>
<asp:Panel runat="server" />
</ReorderTemplate>
<InsertItemTemplate>
<asp:Panel ID="panel1" runat="server" DefaultButton="Button1">
<asp:TextBox ID="TextBox1" runat="server" Text=' <%# Bind("name") %>' ValidationGroup="add" />
<asp:Button ID="Button1" runat="server" CommandName="Insert" Text="Add" ValidationGroup="add" />
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ValidationGroup="add"
ErrorMessage="Please enter some text" ControlToValidate="TextBox1" />
</asp:Panel>
</InsertItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("name") %>' ValidationGroup="edit" />
<asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("url") %>' ValidationGroup="edit" />
<asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("order") %>' ValidationGroup="edit" />
<asp:LinkButton ID="LinkButton1" runat="server" CommandName="Update">LinkButton</asp:LinkButton>
</EditItemTemplate>
</asp:ReorderList>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Content>

and the code behind

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
namespace WebPageEditor.editor
{
public class MenuSourceManager
{
public static List<MenuItem> menuItems;
#region DataBindMethods
//[System.ComponentModel.DataObjectMethod(System.ComponentModel.DataObjectMethodType.Select)]
public List<MenuItem> SelectMenu()
{
return menuItems;
}
public void UpdateMenu(int ID, string name, string url, int order)
{
menuItems[ID].Name = name;
menuItems[ID].Url = url;
menuItems[ID].Order = order;
}
public void InsertMenu(string name, string url, int order)
{
menuItems.Add(new MenuItem(name, url, order, menuItems.Count));
}
public void DeleteMenu(int ID)
{
menuItems.RemoveAt(ID);
}
#endregion
}
public class MenuItem
{
public MenuItem(string name, string url, int order, int ID)
{
Name = name; Url = url; Order = order; this.ID = ID;
}
public string Name { get; set; }
public string Url { get; set; }
public int Order { get; set; }
public int ID { get; set; }
}
}

I load the data to the List collection from the page_load event but that works fine. The data binding works as well. The problem is in that the items cannot be reordered -- during the reordering, the sort value doesn't change and the list doesn't update.

View 2 Replies

AJAX :: Is It Possible To Have A Drag And Drop Reorder On A Gridview

Sep 20, 2010

is it possible to have a drag and drop reorder on a gridview? The purpose is to reorder the items.

View 3 Replies

AJAX :: Reorder List To Do Control Placement

Aug 31, 2010

Reorder list to do control placement

[Code]....

View 4 Replies

AJAX :: Reorder List Values Not Preserving

Aug 4, 2010

I' m using Reorder list sample for the first time. When it is bound with datasource, and reordered it is working fine. but unfortunately on postback to the server, i',m not getting the reordered items.

View 5 Replies

AJAX :: Reorder List - No Changes To Order Are Visible

Sep 2, 2010

Im using a toolkit reorder list control. Im using LINQ2SQL. I have troubles making the order changes in the list to be updated to the database. This is my aspx code:

[Code]....

The drag and drop reordering works fine. In my

[Code]....

But no changes to the order are visible. What is missing?

[Code...]

View 2 Replies

AJAX :: Unbound Reorder List To Not Postback

Jul 13, 2010

Reorder list control cannot be set to not postback? My hope for this control was that I could tie it to a list of data (either a datasource or even a manually created list) and then allow the user to move the items in the list up and down until they liked the new order of all of the elements. They then would click a button to save the updates to the database. Is this possible? It seems that after every reorder there is a postback requried to the datasource to perform an UPDATE, even if the PostBackOnReorder

="false"
value is set.

So if my list is

1 Atlanta
2 Boston
3 Chicago
4 Denver
5 Edmonton

and they want to switch Denver with Boston and then hit the Update List button I could cycle through the list an only update two entries rather than all 5 entries twice (for each Postabk on reorder)

View 1 Replies

AJAX :: Reorder List Css - Can't Find Mistakes

Jan 6, 2010

I have an issue with the appearance of my reorder list. The draghandle div is outside of the item template div. I have used the reorder list in the past and the draghandle was always inside of the item template. I can't seem to find any mistakes so is this a bug or do I have a mistake somewhere. All other functionality works great. Here is the code.

[Code]....

View 1 Replies

Web Forms :: LoadControl To Load User Control Is Not Working On Another Computer?

Nov 1, 2010

I created a user control, then use LoadControl to call the user control in a web form. Everything is working fine on my computer. When my work is copied to another developer's computer, the content of the user control does not show. All other pages are working fine.

The only difference I could think of between my computer and another computer is the other computer use ajax-created master page. But this web form that calls the user control does not use any master page.

View 4 Replies

Security :: Membership Roles Not Working After Move From Computer To Web Server?

May 21, 2010

i have been creating a website on my computer which has VWD 2008 and SQL Server 2008, i have membership and role system set up, (using the aspnet_regsql) and that worked perfectly fine on my compuetr.

Now when i was ready to deploy it on my web server, i simply copied the whole database, and added it onto the SQL Server on my server, so it has exactly the same rows, tables, data, etc etc.

Now, when i run the website via the domain, users are able to login etc, and my authentication code that redirects users if they are not logged in also works, so im sure it cant be a problem with the membership provider, as it all seems to work.

But all the users that were already in the set roles, it still shows them in the role in aspnet_roles table, but its not working, the thing i have in the roles loginview does not display, and even after running the web administrator tool, it shows that the user is in that role, but does not work (even while viewing on the local machine)

So i added code in a page_load event that would auto add that user to the role

System.Web.Security.Roles.AddUserToRole(HttpContext.Current.User.Identity.Name, "TestRole");

and on entering the domain (on the local server) i got error:

The role '' was not found.

And on local host server

I get error:

The user 'TestUser' is already in role 'TestRole'.

But yet, even on the localhost i still cant see any indications that the user is in a role, as none of my rle login views are showing.

The role '' was not found.

View 5 Replies

AJAX :: Reorder List - Can't Get Display Like Toolkit Example Web Page

Apr 9, 2010

I am using reorderlist for the first time and I am having trouble getting to display like the default look I see at ajax toolkit examples webpage. Also, when I try to click on it and move any row nothing happens. I have a MSSQL table that has the following 4 fields

ToDoId (primary key, int, identity, not null)
ToDoChar (char(1), null)
ToDoDescription (varchar(50), null)
ToDoPosition (int, null)

I have the following code

[Code]....

View 2 Replies

AJAX :: How To Get A Reorder List To Save Back To The Database

Dec 24, 2010

I've just discovered the AJAX ReOrder list. So far, I've been able to pull data from the DB, and in the browser I can reorder the items; but how do I save the new order? Here's my code so far:

[Code]....

View 2 Replies

AJAX :: Reorder List Control Drag Handle?

Oct 29, 2010

I'm using a reorderlist (Ajax Control Toolkit Release 4.1.40412.2) inside a scrolling div (class="reorderListDemo" style="overflow:scroll; height:225px; width:1300px; table-layout:fixed; text-align:left;"). When the height of the reorderlist is greater than the height of the div, the div will automatically have a vertical scrollbar. The problem is that when i scroll down to drag an item from the bottom of the reorderlist, the reorderlist does not work properly. The drag image and the drop target does not correspond to the item i want to move.I've attached a copy of my css file:

[Code]....

Here is the html markup of reorder list control:

View 6 Replies

AJAX ::using A Reorder List Control In Chrome/Firefox?

Aug 26, 2010

I have three reorder lists on a page, one does not want to work. It is no different to the others, but is behaving like it is not enabled.All working fine in IE 7 + 8.

View 1 Replies

AJAX :: Reorder List To To Allow User To Drag N Drop Via Column Cell?

Mar 8, 2010

is it possible for reorder list to to allow user to drag n drop via column cell.

For example,

Column1 | Column2
------------------------------
Value1 |Value5
Value2 |Value6
Value3 |Value7
Value4 |Value8

Value 1 was drag n drop to the position of Value5. And Value5 ,Value6,Value7,Value8 position are reorder like Reorderlist in row.

View 3 Replies

AJAX :: Reorder List Edit Button Need To Be Clicked Twice Before The Event Is Fired?

Jul 27, 2010

I have a reorder list with edit and delete buttons.

i need to click twice to get the event fired.

View 5 Replies

How To View A Web Page Served From One Computer From Another Computer

Jan 31, 2011

I am running a website from IIS on one computer and I want to view the web page on another computer. the only way I can do this is by using the ipaddress of the computer with IIS on it but would rather have a url. How can I generate a url or use a domain name from [URL]. I signed up for an account on that website but dont know how to use it. I dont know how to configure it.

View 2 Replies

Login Control - ASP "Keep Me Logged In" Not Working On One Computer?

Nov 10, 2010

I have an ASP.NET site that uses a standard, wizard created login control. I have made no changes to it.

Logon works fine, however, one one single computer the Keep Me Logged On doesn't work, it forces me to log on every time I restart the browser. This happens only on one computer (works fine on three others), and it only happens in Internet Explorer (version 8.0, works as it should in Firefox.)

I assume it is some configuration setting in IE, but I have searched and searched to no avail.

View 1 Replies

AJAX :: Jquery Doesn't Function After Tried To Run The Website On Another Computer

Mar 1, 2010

I wrote a asp.net website with Jquery. I was using it to post and get data's from the Sql Server database with Generic Handlers (.ashx). I also used Jquery Autocomplete plugin. Everything I wrote works just fine in the computer that I use. Then my company wanted to deploy the website to their server. When they run the website on that computer everything works fine including autocompletion but one part that i wrote doesn't function. I used in javascript code $.post and $.get functions and not working properly i guess... It works on my computer and i double checked the connection strings in the other computer to make sure that it is not a database problem. I couldn't find a solution. I am not allowed to give the codes in my company so i need to ask that may that be the cause of version of jquery i use? Does it vary depends on it? Because the computers that i tried to run the applications have different versions of internet explorer. Or I know it is nearly impossible but may jquery corrupt on changing of computers ?. I tried everything but I couldn't find a solution. The thing that confuses me is the autocomplete plugin of Jquery works just fine. The version of Jquery that i use is 1.2.6 and I use .NET Framework 2.0.

Sincerely (Sorry 'bout my poor English)

View 1 Replies

AJAX :: .net MVC Ajax.BeginForm Not Working In Firefox But Working In Chrome And IE

Feb 11, 2011

I have a problem with partial postback in FireFox in my index.aspx I have following code:

[Code]....

Finally my Partialview has following content:

[Code]....

This code is working fine when using IE or Google Chrome, but when using FireFox the code in my controller is never reached. I just can't figure out what I am missing

View 1 Replies

Active Directory/LDAP :: Can Find Computer Accounts Or Computer Owner Via C# In Active Directory Via Ldap

Sep 3, 2010

Is there any way to find computer owner or computer accounts in activedirectory via ldap?

I wanna to know if it is possible via ldap or another way?

I using c#.

View 5 Replies







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