This is a migrated thread and some comments may be shown as answers.

Ajax request not working correctly

6 Answers 236 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Jan Mucha
Top achievements
Rank 1
Jan Mucha asked on 28 Mar 2010, 02:04 PM
HI I have problem with ajax request. On my developer server from visual studio 2008 working all ajax correctly. After upload my procjet to online server ajax not working correctly. Some ajax request is not ajax and page is reloaded example: Sorting in grid or LinkButton in Grid CommandItemTemplate. I use AjaxManager.  I add my web.config code. Thanks you for  helping.
<?xml version="1.0"?> 
<!--  
    Note: As an alternative to hand editing this file you can use the  gfdgfd fdg dgfd  dfds df sfds f 
    web admin tool to configure settings for your application. Use were rw r fgfdg sadsad dsfdsf  retr re trt re t 
    the Website->Asp.Net Configuration option in Visual Studio. d dsf dsfsf ds f jkfhjjkfds jhjk dsfsfds 
    A full list of settings and comments can be found in  sad sad reewrew  rerer dsf ds fd gdfg dsfdsfd dsfds 
    machine.config.comments usually located in  dsfdfds fdgf f  r rew 4r kokgofdgd f ds fdsds f ds 
    \Windows\Microsoft.Net\Framework\v2.x\Config  
--> 
<configuration> 
    <configSections> 
        <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" requirePermission="false"/> 
        <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
            <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
                <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> 
                <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
                    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/> 
                    <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> 
                    <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> 
                    <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> 
                </sectionGroup> 
            </sectionGroup> 
        </sectionGroup> 
        <sectionGroup name="telerik.web.ui"
        </sectionGroup> 
    </configSections> 
    <telerik.web.ui> 
    </telerik.web.ui> 
    <log4net> 
        <appender name="InfoAppender" type="log4net.Appender.FileAppender"
            <file value="Logs\\Log4net.txt"/> 
            <appendToFile value="true"/> 
            <layout type="log4net.Layout.PatternLayout"
                <conversionPattern value="%d [%t] %-5p %c [%x] - %m%n"/> 
            </layout> 
        </appender> 
        <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender"
            <file value="Logs\\log"/> 
            <appendToFile value="true"/> 
            <rollingStyle value="Date"/> 
            <datePattern value="yyyyMMdd"/> 
            <layout type="log4net.Layout.PatternLayout"
                <conversionPattern value="[%date] %-5level - %message%newline"/> 
            </layout> 
        </appender> 
        <logger name="_Default"
            <level value="NONE"/> 
            <appender-ref ref="RollingLogFileAppender"/> 
        </logger> 
    </log4net> 
    <appSettings> 
        <add key="ApplicationName" value="BezKauce"/> 
        <add key="log4net.Internal.Debug" value="true"/> 
        <add key="log4net.Internal.Quiet=" value="false="/> 
        <add key="Telerik.Skin" value="Sunset"/> 
    </appSettings> 
    <connectionStrings> 
        <add name="sql_conn" .....  /> 
    </connectionStrings> 
    <location path="App_Themes"
        <system.web> 
            <authorization> 
                <allow users="*"/> 
            </authorization> 
        </system.web> 
    </location> 
    <location path="Default.aspx"
        <system.web> 
            <authorization> 
                <allow users="*"/> 
            </authorization> 
        </system.web> 
    </location> 
    <system.web> 
        <httpRuntime maxRequestLength="102400" executionTimeout="3600"/> 
        <customErrors defaultRedirect="Error.aspx" mode="Off"></customErrors> 
        <!--AUTHENTIFIKACE--> 
        <authentication mode="Forms"
            <forms name=".ASPXAUTH" protection="All" timeout="1200" path="/" requireSSL="false" slidingExpiration="true" cookieless="UseCookies" loginUrl="Default.aspx"/> 
        </authentication> 
        <membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="15"
            <providers> 
                <add name="SqlProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="sql_conn" applicationName="BezKauce" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" passwordAttemptWindow="10"/> 
            </providers> 
        </membership> 
        <roleManager defaultProvider="SqlProvider" enabled="true" cacheRolesInCookie="true" cookieName=".ASPROLES" cookieTimeout="30" cookiePath="/" cookieRequireSSL="true" cookieSlidingExpiration="true" cookieProtection="All"
            <providers> 
                <add name="SqlProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="sql_conn" applicationName="BezKauce"/> 
            </providers> 
        </roleManager> 
        <!--AUTHENTIFIKACE--> 
        <!--  
            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="true"
            <assemblies> 
                <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> 
                <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
                <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> 
                <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> 
                <add assembly="System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> 
                <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> 
                <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> 
                <add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> 
                <!--<add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> 
                <add assembly="CrystalDecisions.ReportSource, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> 
                <add assembly="CrystalDecisions.Shared, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> 
                <add assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> 
                <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> 
                <add assembly="CrystalDecisions.Enterprise.Framework, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> 
                <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> 
                <add assembly="Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"/>--> 
                <add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies> 
        </compilation> 
        <!-- 
    <add assembly="Microsoft.Office.Interop.Outlook, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"/> 
    <add assembly="Microsoft.Office.Interop.Outlook, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"/> 
            The <authentication> section enables configuration  
            of the security authentication mode used by  
            ASP.NET to identify an incoming user.  
        --> 
        <sessionState mode="InProc" cookieless="false" timeout="30"/> 
        <browserCaps> 
            <case>RequiresControlStateInSession=true</case
        </browserCaps> 
        <pages> 
            <controls> 
                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
                <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
                <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI, Version=2010.1.316.35"/> 
                <add tagPrefix="mycontrol" namespace="MyControls"/> 
            </controls> 
        </pages> 
        <httpHandlers> 
            <remove verb="*" path="*.asmx"/> 
            <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
            <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
            <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/> 
            <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/> 
            <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/> 
            <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/> 
        </httpHandlers> 
        <httpModules> 
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
        </httpModules> 
    </system.web> 
    <system.codedom> 
        <compilers> 
            <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
                <providerOption name="CompilerVersion" value="v3.5"/> 
                <providerOption name="WarnAsError" value="false"/> 
            </compiler> 
            <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
                <providerOption name="CompilerVersion" value="v3.5"/> 
                <providerOption name="OptionInfer" value="true"/> 
                <providerOption name="WarnAsError" value="false"/> 
            </compiler> 
        </compilers> 
    </system.codedom> 
    <!--  
        The system.webServer section is required for running ASP.NET AJAX under Internet 
        Information Services 7.0.  It is not necessary for previous version of IIS. 
    --> 
    <system.webServer> 
        <validation validateIntegratedModeConfiguration="false"/> 
        <modules> 
            <remove name="ScriptModule"/> 
            <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
            <add name="RadUploadModule" preCondition="integratedMode" type="Telerik.Web.UI.RadUploadHttpModule"/> 
        </modules> 
        <handlers> 
            <remove name="WebServiceHandlerFactory-Integrated"/> 
            <remove name="ScriptHandlerFactory"/> 
            <remove name="ScriptHandlerFactoryAppServices"/> 
            <remove name="ScriptResource"/> 
            <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
            <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.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=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
            <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/> 
            <add name="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler"/> 
        </handlers> 
    </system.webServer> 
</configuration> 

6 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 29 Mar 2010, 11:20 AM
Hello Jan,

Could you please send us a live Url where we could observe the described issue? Providing the problematic page code might also help.

Sincerely yours,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Jan Mucha
Top achievements
Rank 1
answered on 29 Mar 2010, 02:19 PM
http://bezkauce.aspone.cz/
Section Moje reality/byty. But you must are login. Pleas get e-mail and i send loged information for you.
Next problem only for this server is javascript error: i.get_postBackElement() is undefined
Thanks you for you effort
0
Pavlina
Telerik team
answered on 01 Apr 2010, 11:05 AM
Hi Jan,

At this point it will be best if you open a formal support ticket and send us a simple running project (incl. CSS, images, skins, DB backup if needed and so on) demonstrating the problem. In that way we can reproduce and pinpoint the problems you're facing on our side, understand the logic of your application and provide a solution.

Looking forward for your reply.

Sincerely yours,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Imran Javed Zia
Top achievements
Rank 1
answered on 13 Apr 2010, 11:04 AM
Hi,
I am also having related issue. on GetElementByID in resource file and line number is in billions and when i do click on debug the IE 8 shows message "Source Code cannot be loaded for this location" and this page is working fine in Mozila Firefox. My only facing this issue with 2010 Q1. My application was working fine with previous version

Thanks & Regards
Imran Javed Zia
0
Pavlina
Telerik team
answered on 15 Apr 2010, 04:26 PM
Hello Imran,

Please, open a formal support ticket, and supply additional details, and a code snippet, or a small project, demonstrating the problem you are facing under IE8.

Sincerely yours,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Travis
Top achievements
Rank 1
answered on 15 Jun 2011, 06:18 AM
I also have a problem after upgrading.
Tags
Ajax
Asked by
Jan Mucha
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Jan Mucha
Top achievements
Rank 1
Imran Javed Zia
Top achievements
Rank 1
Travis
Top achievements
Rank 1
Share this question
or