AJAX :: .NET Framework Server Side ?
Jan 7, 2010Question is do you need .net framework installed on web server in order to use AJAX?
Only 2.0 .Net framework is installed and it i can't upgrade for reasons beyond my control.
Question is do you need .net framework installed on web server in order to use AJAX?
Only 2.0 .Net framework is installed and it i can't upgrade for reasons beyond my control.
I know that I can receive an javascript object from the server via ASP.NET AJAX using Json. But I am not sure how can I send an javascript object from my client-side javascript to my server-side code. And if I can, how can I extract this object in my server-side code and access its members?
View 1 RepliesI wanted to make extensive changes to a project, so I created a copy of the project folder. In the new version, I renamed all of my namespaces and a few classes. Everything compiles and runs, however, I am getting this javascript error. 'ASP.NET Ajax client-side framework failed to load' and my 'Auto complete' text box no longer works. This error does not occur in the original project.
The HTML source between the original and the new project are identical, save for the few lines of code that throw this error. The web.config files are identical.
i am facing a serious problem with ajax that ASP.NET Ajax client-side framework failed to load and also sys is undefined.i have asp.net 3.5 service pack 1 installed on server.also using toolkitscriptmanager on pages have checked iis for .axd extension.It is there.system date is okk.have latest version of ajaz control toolkit.on localhost it is working fine.but giving error on live server.
View 3 RepliesMy working Web site today suddenly got this problem after last publish, In new publish we didn't hit any thing regarding Ajax dll or Script Managers.
View 1 RepliesI have seen all the previous posts but did not got any solution. I am using URL routing and the website runs fine untill i change the global.asax file. Till then all the configurations runs properly. The web.config is also correct and ihave added the modules required for URL routing. Now when i change the global.asax file, i get the following error on my masterpage:
//<![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]]>
[code]...
what needs to be done since I'm trying to interpert other people's code. Anyway, here is my dilimma. I am running Windows 7 Professional x64 with IIS 7 and coding in VS 2010 using .NET 4 for the ASP.NET site. I installed the AjaxControlToolkit.NET4 in VS 2010 with no issues. I even used the Calendar Extender with a text box and image with no problems, at least when debugging. When I go to publish it out on my test IIS7 site
View 5 RepliesI have uploaded my application made in vs 2010 and asp.net 3.5 framework on windows Server 2003 R2. As i run my app i get an error1.ASP.NET Ajax client-side framework failed to load.2. sys is undefined.I already have 3.5 framework installed on my server and th latest version of ajax tootlkit dll added to my app.
View 1 RepliesI had a working .net website in a working VS2008 environment on a WinXP machine.Moved to Win7 machine, and now this maddening error comes up. I have no clue!Since the site and the development environment were working before, I can only assume it is an environmental problem. But what?
View 21 RepliesI have developed an ERP module wihch runs on intranet. with ASP.NET /AJAX. It runs perfectly in my localhost. IIS. But when I try to run it on my development, It gives some errors of AJAX. undefined string literals. Microft ajax client-sisde framework failed to load. sys is undefined.. I've check my web.config file. But I cant find any problems into it.
View 8 RepliesI reordered some items in a listbox using Javascript. When I read the items in a postback in the code behind (ASP.NET), the order is in the original order. How do I get the same order as shown in the screen after Javascript manipulation?
View 3 RepliesI m using site login Control in my login.ascx file and disaplaying login control in Div so if there is login link in page and i click on that then Login Div will popup which is site login.May i know how can handle error like username or password is incorrect on client side instead server side?
View 6 RepliesI am using VS2010, .Net 4. I am trying to add a ScriptManager to my page, so I can reference an AJAX Enabled WCF Service. When I add the ScriptManager control to my page and view it - I get the error shown below. I have no clue how to resolve it. I get the error by simply putting the control on my page (not reference the WCF Service).
Error seen when "viewing source":
(script src="/ScriptResource.axd?d=cN6E-bUIIAhb0PYSsbqev2ndhi3W3ltVtHjrJ-T5yBfO3jQBEHWjU39PLAybm-JIxwU4s59EhJFweLHmABl1zA2yo8fKhHYHGS7RTy1fhECuWqXbMMy5aCuSlqHbfp3advQcwp11SqaDwkvU1YN6Bw2&t=ffffffffbd2983fc" type="text/javascript")(/script)
(script type="text/javascript")
//(![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]])
(/script)
Actually, my problem is that I am not able to access the service. I am referencing it inside the ScriptManager and have the javascript code in place, but Firefox is reporting that it cannot find it. Says it is not defined. I do not know how to test this or determine where it is failing.
error message: Ajax client-side framework failed to load"?
View 1 RepliesI have tried every single method in almost every post available on both Bing and Google. And I still get this error.I thought it was something in my website or web.config, so I opened up VS2008, selected to create a new ASP.NET Website and let it go..Here is the default.aspx page and web.config created by VS2008. Without modifying anything other than chaning the website properties to .NET 3.5 instead of .Net 2.0, I still get the error on this website when I hit F5. I have other websites with the ajax update panel and script manager on this server that work fine and have tried the web.config from them on a new project. But any new projects still do not work.I have verified that the settings for the working project as well as this new project in IIS are the same. Can anyone tell me why I am getting this error and theSys Undefined error?
<?xml version="1.0"?>
<configuration>
<configSections>
[code]...
I have set the ajax tabs disable on form load. ON button click, I want to enable the tab server side,not client side.
protected void btnEnableCostPetroleumTab_Click(object sender, EventArgs e)
{
TabContainer2.Tabs[0].Enabled = true;
}
But its not enabling the tab?
in a form i have a buttoin, when click both OnclientClick and postback should happen. on clicking the "Email" button a client side "mailto" tag should do the work and pull a new message window on the client's machine.
whereas, the email addresses should be invoked by the post back. so , when clicking the button the server side post should happen and on return the client side script should be invokded with the values read during post back, and populate all the email addresses.
i need know how to first do a server hit take the values and then execute the client script with those values without using AJAX
I am calling server side methids from client side using PageMethods. Can those methods return value back to client side. If yes then how and if no then how can that be achieved? refer to my code below.
function getValuesFromPSS(s,e)
{
debugger;
[Code]....
I am using VS2010 and .NET4 for a web app. I have a script manager/update panel that has a couple of grids.
The client just leaves the page opens and views an updated grid every 30 seconds or so.
I want to refresh the grid by calling the server side method to load the grid, but not load the whol page using meta refresh or similar (too much screen flicker and unnecessary bandwith).
Is it possible to set some timer using javascript or something and call a specific server method to refresh controls?
I want to do something a little bit tricky here. I want to call a server side fonction from the javascript. I know it can be done but I get some errors. This is my Javascript fonction where I want to call the server side fonction:
[Code]....
And this is the code in my VB page:
[Code]....
So, I am having this weird problem. When I access my web site while I am connected through company network (either directly or vpn), I am not this error and able to use all AJAX functionalities.
Now, my problem occurs when I am not inside of company network (from home) and trying to access the web site, I am getting error and all the AJAX functionalities are disabled.
I go through Microsoft ISA server to logon to network when I try to access the site externally.
I originally wrote an ASP .NET 3.5 intranet website on a .NET 4.0 machine running IIS 5. To alleviate the problem, I figured I'd rewrite the website in VS using 4.0. This seemed to fix the issue, but then it starting reoccuring again. I currently have 8 users for my website, which utilizes the AJAX dropdownextender. Ajax 4.0 is installed on the machine and all the users (including me) can access the website via the intranet and rarely have problems. The only issues arise in the morning when the users 1st access the site. It will occassionally give errors stating"ASP.NET Ajax client-side framework failed to load","'Sys.Extended.UI' is null or not an object", or"'Sys.WebForms.PageRequestManager' is null or not an object". All these errors arise from the framework incorrectly loading. It is typically cleared up right away with a page refresh. Unfortunately, most of the users aren't the most computer literate, so are unaware of issues that arise. I just want to know if there is a way to fix this issue. I've been researching this issue alot, but never got a straight answer. If any other information is necessary, please let me know.
View 3 RepliesWe have an UpdatePanel that is showing a gridview with loads of data in it. We have loads of well written sprocs that don't take very long, BUT we have a few horrible ones that take ages.
We do intend to rewrite them but in the interim we have put the ADO.NET commandtimeout up to 180s. The scriptManager.AsyncPostBackTimeout is set to 240s. We want to handle this on the serverside. One of the reports still fails (it's got a couple of nested cursors in it - someone who hasn't had SQL lesson 101 from me!).
Half the time, the nice error timeout message is shown using server side handling of the command timeout. The problem is that the other half of the time the commandtimeout doesn't seem to fire.
I have a framework 2.0 AJAX app that was moved to Windows 7 2008 R2 server with II7. The application pool is set to 2.0 for the website, but its always looking for this assembly. Everything I've read says you do not install AJAX 1.0 Extensions on Server 2008? Since this IIS is not mine, I'm trying to be cautious. Should I install the extensions, or is there some server setting Im missing??
Parser Error Message: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 29: <compilation debug="true">
Line 30: <assemblies>
Line 31: <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,[code]...
i have tab container that contain 2 tab, one is profile view and another is profile edit there is a hyperlink in menu bar, when user click profileview then a variable '1" is send in query string, when user click profileedit then variable '2' is send my active tab index is '0' that is profileview
how to set focus on tabindex1 inside this function
if(request.querystring("a")==1)
{
what should be the code to set focus on tabindex 2