.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

AJAX Extenders not working

Posted By:      Posted Date: September 03, 2010    Points: 0   Category :ASP.Net
hi friends,I am trying to use some ajax extenders features like calendar extender, Textbox Watermark and every extender.It was all working in VS2008. But when from I installed VS 2010 Ultimate, none of them is working. Here is showing no error and no warning but its not working.This is What I am doingFile > New > WebsiteSet Target Platform 3.5 (Because my host does not support 4.0)Choose ASP.NET Website from Templates.(I have already added Ajax Toolkit, downloaded today from codeplex)And this is the code for Default.aspx file<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %><%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>

View Complete Post

More Related Resource Links

JQuery Treeview plugin is not working with Ajax page load in ie8


Hi there,

I developed a page where i m using jquery treeview plugin to generate tree. It worked fine on FF, IE8 with out ajax.

But when my page loads thro' ajax call in IE8, it is not collapsing or expanding tree.

Any idea?

Thanks in advance.

Cutting Edge: Customize Controls with AJAX Extenders, Part 2


This month Dino looks at AJAX control extenders again, adding more advanced features including masked editing and autocompletion.

Dino Esposito

MSDN Magazine February 2008

Cutting Edge: Customize Controls with AJAX Extenders


AJAX Extenders extend the behavior and features of ordinary Web controls so you can reduce postbacks and control input even better than with AJAX alone.

Dino Esposito

MSDN Magazine January 2008

MaterPage Ajax calendar extender not working


AJAX with MasterPage not working.

Setup simple test site below, no error just not working. TIA

    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">

<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="ajaxDev.WebForm1" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
  <asp:CalendarExtender ID="TextBox1_CalendarExtender" runat="server" 
    Enabled="True" TargetCo

Ajax AutocompleteExtender not working from IIS


I am using  AjaxAutoCompleteExtender  in my asp.net program (C#) . I am applying the extender to a texbox and using internal Web Service. I am getting the desired result, when i am running from the development environment. After Publishing the site to IIS, I am not getting the list and not showing any errors. I have turned off custom errors. My website is not an Ajax Enabled WebSite. So i added the lines into my Web.Config.

I tried all service path.. http://localhost/Test/ WebService.asmx

and i tried ~/Test/WebService.aspx


While testing from the development environment, i am using the last one.

I am not sure whether this is the problem with the service path or any permission issue.



Ajax Date Picker Not working on Chrome

Hi ajax toolkit date picker is not working in latest google chrome browser. it works fine all browsers and earlier version of chrome but it doesnt work latest version. any body know the reason    

Ajax dropdown list not working

Dear All:I just implemented a simple Ajax drop down list. The problem I'm facing is that when I run the project I will not be able to select the values from drop down even though there are 4 values coming in. Here is my code:Default.aspx<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Untitled Page</title> <link href="StyleSheet.css" rel="stylesheet" type="text/css" /> </head> <body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server" /> <div > Name:<asp:DropDownList ID="colorValue" runat="server" OnSelectedIndexChanged="colorValue_SelectedIndexChanged" ></asp:DropDownList> <ajaxToolkit:DropDownExtender ID="DropDownExtender1" runat="server" TargetControlID="colorValue" DropDownControlID="DropPanel" > </ajaxToolkit:DropD

AJAX Extenders in SharePoint 2010

Hello All, I have few WebParts from 2007 and I am trying to deploy them in 2010.  None of the extenders seem to be working. Initially I got the error: "Message: 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." I added the tag: <cc1:ToolkitScriptManager id="ScriptManager" runat="server"></cc1:ToolkitScriptManager> it went away. Now I am seeing: Message: 'Sys' is undefined Message: 'Type' is undefined Message: 'Sys.Extended.UI' is null or not an object Message: Sys.ArgumentException: Value is not the name of the type being registered or the name is a reserved word.Parameter name: typeName Can you please help me. Pradeep    

AJAX call is not working on F5 load balancer web farm setup

I have the following web farm setup in production server.Browser --> HTTPS --> Load Balancer --> HTTP --> webserver nodeF5 Load balancer handles off box SSL termination. It implies that SSL resides on F5 load balancer. Problem Statement: Ajax calls do not go through unless "Access data sources across domains" option is enabled in IE security settings. I have the similar setup in staging server except F5 Load balancer. The ASP.Net application makes perfect AJAX calls on both HTTP and HTTPS.However, the staging server web farm use windows NLB and SSL resides on individual web server nodes

ajax-updateprogress not working in IE-7,8

Im trying to show animated gif file, a small in updateprogress one when aspx page is requesting server.... its working fine in firefox, chrome, but couldnt able to workit out in IE-7, 8. Any ideas? ------------------------------------------------------------------------------------------------------------------------------------------ CODE: <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1"><ProgressTemplate>        <div style="position:absolute; left: 100px;top:10px">           <img src="Images\indicator.gif" alt = ""/>            Contacting server.....       </div></ProgressTemplate></asp:UpdateProgress>---------------------------------------------------------------------------------------------------------------------------------------

Using AJAX Extenders To Make Client-Side Happy

I am developing a web application that needs to retrieve, display and write data to an SQL database.  I'm trying to use AJAX and Javascripts in order to populate fields, lists and data, and to have button and calendar controls on the page that can update the page without refreshing and losing the data page.  Therefore, it's necessary that I find ways to doing as much as possible (ideally, everything) client-side, without page refreshes. Now, for security purposes, I've heard that there's a method for retrieving a copy of all relevant data from SQL at loading time, keeping a copy of it, perhaps on a separate page, and send-retrieve-display this data on my page, and then, at Submission time, write this data back to the Server.  This is to minimize hits to the Server and to preserve data integrity.  I've heard that doing this is called using an Extender, but we can't find examples of how this works so far. Can anybody provide me with a code example of how this is done and what it looks like?  Trying to find out how this is done, and decide if it's practical. Any suggestions and questions are welcome.

Ajax in subdomain not working

I have a website in a hosting service. There is a virtual directory working as a subdomain like "http://subdomain.website.com" .  After working a lot figuring out paths, everything works fine except AJAX. There is no error thrown but the updatepanel, calendar and nothing else works. I does full postbacks. I have tried copying the complete AspNetAjax directory to the root and setting the scriptpath to "http://www.website.com/AspNetAjax/". The web.config contains the assemblies and a tag prefix.Any suggestions will be appreciated !Humberto

Show Smart Tag is disabled. Cant get to Ajax Extenders

I installed VS 08. and then installed Ajax extensions 1.0. I also downloaded ajax control toolkit and added to my toolbox. And I placed scriptmanager on the designer. Now when I am trying to add functionality to standard button via smart tag option. I see this option disabled. how can I enable it and have extenders in play.   Thanks

Making sure AJAX is working.

Is there a way to make 100% sure that the postback happening is a partial post back and not a full one? I have a few pages done up using AJAX but I am not sure if they are doing partial or full post backs. I tried using "IsAsync"  but nothing is being triggered under it. I am using C# and .Net 4.

Ajax AsyncFileUpload control not working in IE7.0 and IE8.0 browser in Integrated Windows Authentica



I am facing problem using Ajax AsyncFileUpload control in IE7.0 and IE8.0 browsers. 

It is working fine in local environment, when you deploy the code in Windows Server 2003 (IIS6.0) with Integrated Windows Authentication mode it is not working properly in IE7.0 and IE8.0 browsers. 


I am doing the validation in client side using OnClientUploadStarted, OnClientUploadComplete it is working fine but once click on any other button (server side) getting the error Internet Explorer cannot display the webpage (Diagnose Connection Problem) in IE7.0 and IE8.0 browser. Same thing is working fine in other browsers.

Ajax masked edit backspace not working on Chrome


I am working on an app and have added masked edits to some of the textboxes. On Google Chrome v6.0.472.62 the backspace button is inoperative along with the delete button. I have found no method around this. It also functions incorrectly on the ajax toolkit website: http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/MaskedEdit/MaskedEdit.aspx

Does anyone have a workaround or fix? Chrome is fairly popular and I doubt I can use this code with this issue.

AJAX Controls not working....


I have a simple under construction page that I am working on for my company website and I am trying to apply the rounded corners extender to a panel at the top of the page for my title.  But when I put the extender on the page and set it up for the panel that holds my title and then view the page in my development environment I get a blank page.  When the page first loads you can see the title panel flash and it disappears.  Below is my code...

<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend