ajax problem while using in asp.net
-
hello i am facing the below javascript error while using update panel and modalpopupextender.............please some one help
Error: Sys.InvalidOperationException: 'DynamicServicePath' is not a property or an existing field.
Source File: http://www.myrapidhealthcare.com/soft/Script/System.Web.Extensions/1.0.61025.0/MicrosoftAjax.debug.js
Line: 2765</pre>i have stored MicrosoftAjax.debug.js file in Script folder
-
hello i am facing the below javascript error while using update panel and modalpopupextender.............please some one help
Error: Sys.InvalidOperationException: 'DynamicServicePath' is not a property or an existing field.
Source File: http://www.myrapidhealthcare.com/soft/Script/System.Web.Extensions/1.0.61025.0/MicrosoftAjax.debug.js
Line: 2765</pre>i have stored MicrosoftAjax.debug.js file in Script folder
-
hello i am facing the below javascript error while using update panel and modalpopupextender.............please some one help
Error: Sys.InvalidOperationException: 'DynamicServicePath' is not a property or an existing field.
Source File: http://www.myrapidhealthcare.com/soft/Script/System.Web.Extensions/1.0.61025.0/MicrosoftAjax.debug.js
Line: 2765</pre>i have stored MicrosoftAjax.debug.js file in Script folder
Whats seems to me is, You have a function or method named DynamicServicePath which you have used like properties or fields. use "DynamicServicePath" with a pair of brackets like "DynamicServicePath()". Check it !!! NB: if you use "DynamicServicePath" then system says its a properties or fields, but DynamicServicePath() is interpreted as method.
Thanks, Arindam D Tewary
-
yeah sure
<atlas:ScriptManager ID="scriptmanager" runat="server" ScriptPath="./Script" EnablePartialRendering="false">
</atlas:ScriptManager>and at top of master page
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="atlas" %>
plzzzz help how can i solve this error
-
yeah sure
<atlas:ScriptManager ID="scriptmanager" runat="server" ScriptPath="./Script" EnablePartialRendering="false">
</atlas:ScriptManager>and at top of master page
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="atlas" %>
plzzzz help how can i solve this error
-
i dont have any code for DynamicServicePath....its not my function.....
-
i dont have any code for DynamicServicePath....its not my function.....
Can you please copy the code in following file : http://www.myrapidhealthcare.com/soft/Script/System.Web.Extensions/1.0.61025.0/MicrosoftAjax.debug.js and tell us which is the code in line number 2765
Thanks, Arindam D Tewary
-
Can you please copy the code in following file : http://www.myrapidhealthcare.com/soft/Script/System.Web.Extensions/1.0.61025.0/MicrosoftAjax.debug.js and tell us which is the code in line number 2765
Thanks, Arindam D Tewary
Arindam Tewary wrote:
code in line number 2765
is
if (!isObject && typeof(targetVal) === 'undefined') throw Error.invalidOperation(String.format(Sys.Res.propertyUndefined, name));
and from firefox i check that error is in the same line....all is working fine but modalpopup is not displaying...plzzz help me
-
Arindam Tewary wrote:
code in line number 2765
is
if (!isObject && typeof(targetVal) === 'undefined') throw Error.invalidOperation(String.format(Sys.Res.propertyUndefined, name));
and from firefox i check that error is in the same line....all is working fine but modalpopup is not displaying...plzzz help me
Not sure if this is the actual problem but check the line
typeof(targetVal) === 'undefined'
it should have been
typeof(targetVal) == 'undefined'
Check the "===" operator .... a typo ....
Thanks, Arindam D Tewary
-
Not sure if this is the actual problem but check the line
typeof(targetVal) === 'undefined'
it should have been
typeof(targetVal) == 'undefined'
Check the "===" operator .... a typo ....
Thanks, Arindam D Tewary
no this is not the problem......but i still didn't get the solution...please someone help