Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
problem in adding AjaxToolKit in ASP.NET 2005
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
VB  
View profile  
 More options Jul 1, 6:14 am
From: VB <vipul....@gmail.com>
Date: Wed, 1 Jul 2009 03:14:50 -0700 (PDT)
Local: Wed, Jul 1 2009 6:14 am
Subject: problem in adding AjaxToolKit in ASP.NET 2005
Hi,
I am unable to add AJAX Tool kit in my existing  ASP.NET 2.0
application.
I am getting below mentioned error when I am adding scriptManager and
updatepanel in my webpage from AJAXEXTENSTION toolbar. VS.NET 3.5
framework is also installed on my machine.

Microsoft JScript runtime error: 'Sys' is undefined

 Sys.WebForms.PageRequestManager._initialize('ScriptManager1',
document.getElementById('form1'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls([], [],
[], 90);

please help..

Thanks,
VB


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
VB  
View profile  
 More options Jul 2, 4:11 am
From: VB <vipul....@gmail.com>
Date: Thu, 2 Jul 2009 01:11:56 -0700 (PDT)
Local: Thurs, Jul 2 2009 4:11 am
Subject: Re: problem in adding AjaxToolKit in ASP.NET 2005
anybody is here to help...

On Jul 1, 3:14 pm, VB <vipul....@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
m.quinn0909  
View profile  
 More options Jul 3, 4:42 am
From: "m.quinn0909" <m.quinn0...@googlemail.com>
Date: Fri, 3 Jul 2009 01:42:27 -0700 (PDT)
Local: Fri, Jul 3 2009 4:42 am
Subject: Re: problem in adding AjaxToolKit in ASP.NET 2005
I don't know what the error means but try a simple test. Copy the code
below and see if you get the same error. This works on my machine.

Default.aspx

<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!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>
    <script type="text/javascript">

      function pageLoad() {
      }

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />

                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                                Time 1:<asp:Label ID="lbl_time1" runat="server" />
                                <asp:Button ID="btn_updateTime"
                                runat="server" Text="Update Time 1"
onclick="btn_updateTime_Click" />
                        </ContentTemplate>
                </asp:UpdatePanel>

        Time 2:<asp:Label ID="lbl_time2" runat="server" />

    </div>
    </form>
</body>
</html>

Default.aspx.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
                lbl_time1.Text = DateTime.Now.ToLongTimeString();
                lbl_time2.Text = DateTime.Now.ToLongTimeString();
    }
        protected void btn_updateTime_Click(object sender, EventArgs e)
        {
                lbl_time1.Text = DateTime.Now.ToLongTimeString();
        }


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jay Dan  
View profile  
 More options Jul 3, 8:50 am
From: Jay Dan <rishabj...@gmail.com>
Date: Fri, 3 Jul 2009 18:20:20 +0530
Local: Fri, Jul 3 2009 8:50 am
Subject: Re: [DotNetDevelopment] problem in adding AjaxToolKit in ASP.NET 2005

Hello,
Please check your web.config file have you created ur application with ajax
extensions?

--
Regards
Jay Dan

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
मुरलि  
View profile  
 More options Jul 3, 11:50 pm
From: मुरलि <muralimk....@gmail.com>
Date: Sat, 4 Jul 2009 09:20:47 +0530
Local: Fri, Jul 3 2009 11:50 pm
Subject: Re: [DotNetDevelopment] Re: problem in adding AjaxToolKit in ASP.NET 2005

You Just add the Script Manager and i'll give a small code you just remove
the web.config code and add the code in web.config.
your error will be cleared

<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="system.web.extensions"
type="System.Web.Configuration.SystemWebExtensionsSectionGroup,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35">
 <sectionGroup name="scripting"
type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions,
Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
 <section name="scriptResourceHandler"
type="System.Web.Configuration.ScriptingScriptResourceHandlerSection,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" requirePermission="false"
allowDefinition="MachineToApplication"/>
 <sectionGroup name="webServices"
type="System.Web.Configuration.ScriptingWebServicesSectionGroup,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35">
 <section name="jsonSerialization"
type="System.Web.Configuration.ScriptingJsonSerializationSection,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" requirePermission="false"
allowDefinition="Everywhere"/>
 <section name="profileService"
type="System.Web.Configuration.ScriptingProfileServiceSection,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" requirePermission="false"
allowDefinition="MachineToApplication"/>
 <section name="authenticationService"
type="System.Web.Configuration.ScriptingAuthenticationServiceSection,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" requirePermission="false"
allowDefinition="MachineToApplication"/>
 </sectionGroup>
</sectionGroup>
</sectionGroup>
 </configSections>
<system.web>
<pages>
 <controls>
<add tagPrefix="asp" namespace="System.Web.UI"
assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
 </controls>
</pages>
<!--
          Set compilation debug="true" to insert debugging
          symbols into the compiled page. Because this
          affects performance, set this value to true only
          during development.
    -->
<compilation debug="false">
<assemblies>
 </assemblies>
</compilation>
<httpHandlers>
 <remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
 <add verb="*" path="*_AppService.axd" validate="false"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
 <add verb="GET,HEAD" path="ScriptResource.axd"
type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions,
Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
validate="false"/>
 <add type="DevExpress.Web.ASPxUploadControl.ASPxUploadProgressHttpHandler,
DevExpress.Web.v9.1, Version=9.1.3.0, Culture=neutral,
PublicKeyToken=b88d1754d700e49a" verb="GET"
path="ASPxUploadProgressHandlerPage.ashx" validate="false"/>
 </httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
 <add type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule,
DevExpress.Web.v9.1, Version=9.1.3.0, Culture=neutral,
PublicKeyToken=b88d1754d700e49a" name="ASPxHttpHandlerModule"/>
 </httpModules>
<httpRuntime maxRequestLength="10240" executionTimeout="600"/>
 </system.web>
<system.web.extensions>
<scripting>
 <webServices>
<!-- Uncomment this line to customize maxJsonLength and add a custom
converter -->
 <!--
      <jsonSerialization maxJsonLength="500">
        <converters>
          <add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/>
        </converters>
      </jsonSerialization>
      -->
<!-- Uncomment this line to enable the authentication service. Include
requireSSL="true" if appropriate. -->
 <!--
        <authenticationService enabled="true" requireSSL = "true|false"/>
      -->
<!-- Uncomment these lines to enable the profile service. To allow profile
properties to be retrieved
           and modified in ASP.NET AJAX applications, you need to add each
property name to the readAccessProperties and
           writeAccessProperties attributes. -->
 <!--
      <profileService enabled="true"
                      readAccessProperties="propertyname1,propertyname2"
                      writeAccessProperties="propertyname1,propertyname2" />
      -->
</webServices>
 <!--
      <scriptResourceHandler enableCompression="true" enableCaching="true"
/>
      -->
</scripting>
 </system.web.extensions>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
 <modules>
<add name="ScriptModule" preCondition="integratedMode"
type="System.Web.Handlers.ScriptModule, System.Web.Extensions,
Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
 <add type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule,
DevExpress.Web.v9.1, Version=9.1.3.0, Culture=neutral,
PublicKeyToken=b88d1754d700e49a" name="ASPxHttpHandlerModule"/>
 </modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
 <add name="ScriptHandlerFactory" verb="*" path="*.asmx"
preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
 <add name="ScriptHandlerFactoryAppServices" verb="*"
path="*_AppService.axd" preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
 <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD"
path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler,
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
 <add type="DevExpress.Web.ASPxUploadControl.ASPxUploadProgressHttpHandler,
DevExpress.Web.v9.1, Version=9.1.3.0, Culture=neutral,
PublicKeyToken=b88d1754d700e49a" verb="GET"
path="ASPxUploadProgressHandlerPage.ashx" name="ASPxUploadProgressHandler"
preCondition="integratedMode"/>
 </handlers>
<security>
<requestFiltering>
 <requestLimits maxAllowedContentLength="2097151000"/>
</requestFiltering>
 </security>
</system.webServer>
</configuration>

and run your web application. it is worked


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google