Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all 4356 articles
Browse latest View live

Closed Unassigned: Error happens when using toolkit in VS2012 default web forms application [27396]

$
0
0
I'm using ajax control toolkit in the default asp.net forms project created in VS2012. Basically I add the ToolkitScriptManager and TextBoxWatermarkExtender to test if the toolkit works well. I get the following error when running the application. It seems to remind me to use ToolkitScriptManager instead of asp.net script manager, but I have replace the normal asp.net script manager with ToolkitScriptManager. Does anyone know what causes this issue?

__Unhandled exception at line 3, column 412 in http://localhost:36907/default.aspx?_TSM_HiddenField_=MainContent_tkScriptManager1_HiddenField&_TSM_CombinedScripts_=;;AjaxControlToolkit,+Version=4.5.7.123,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en-US:e669ce41-1aa1-4541-aae9-fa5dc37e70db:de1feab2:f9cec9bc:35576c48

0x800a139e - JavaScript runtime error: 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.__
Comments: It seems that this error is caused by ToolkitScriptManager. Starting with the v15.1 release, we have removed it. So now, this problem is resolved.

Closed Issue: SliderExtender returns a strange MIME type ('img/gif'). [27377]

$
0
0
Hello.
The picture in a resource of SliderExtender returns a strange MIME type ('img/gif').
You should correct with 'image/gif'.
In Internet Explorer, it can usually display normally.
However, when a server returns the following http header for the improvement in security, it cannot display.
"X-Content-Type-Options: nosniff"
* Since I cannot speak English, this text is machine translation.

Commented Issue: AsyncFileUpload outputs duplicate ID attributes for [26735]

$
0
0
The HTML output generated by the AsyncFileUpload control contains duplicate ID attributes for the <input type="file"> element:

<span id="ctl00_bodyContent_fileToUpload"><input type="hidden" name="ctl00$bodyContent$fileToUpload$ctl00" id="ctl00_bodyContent_fileToUpload_ctl00" /><div id="ctl00_bodyContent_fileToUpload_ctl01" name="ctl00_bodyContent_fileToUpload_ctl01"><input name="ctl00$bodyContent$fileToUpload$ctl02" type="file" id="ctl00_bodyContent_fileToUpload_ctl02" id="ctl00_bodyContent_fileToUpload_ctl02" onkeydown="return false;" onkeypress="return false;" onmousedown="return false;" style="width:355px;" /></div></span>

Comments: Please upgrade to the latest version of AJAX Control Toolkit v15.1. If the problem remains, feel free to post a new issue.

Closed Issue: AsyncFileUpload outputs duplicate ID attributes for [26735]

$
0
0
The HTML output generated by the AsyncFileUpload control contains duplicate ID attributes for the <input type="file"> element:

<span id="ctl00_bodyContent_fileToUpload"><input type="hidden" name="ctl00$bodyContent$fileToUpload$ctl00" id="ctl00_bodyContent_fileToUpload_ctl00" /><div id="ctl00_bodyContent_fileToUpload_ctl01" name="ctl00_bodyContent_fileToUpload_ctl01"><input name="ctl00$bodyContent$fileToUpload$ctl02" type="file" id="ctl00_bodyContent_fileToUpload_ctl02" id="ctl00_bodyContent_fileToUpload_ctl02" onkeydown="return false;" onkeypress="return false;" onmousedown="return false;" style="width:355px;" /></div></span>

Closed Issue: ToolkitScriptManager performance [25557]

$
0
0
opening htmledit test page, methos IsScriptCombinable is called 676 times.
Inside this method, the code call LoadAssembly and assembly.GetCustomAttributes: reflection is slow.
I have canged the code to cache the reflection information: the OnResolveScriptReference execution time change from 6.2 second (83% of the execution time of the page) to 1 second (45%).
Comments: It seems that this error is caused by ToolkitScriptManager. Starting with the v15.1 release, we have removed it. So now, this problem is resolved.

Closed Issue: AjaxToolkitScriptManager will not work on farm with mixed 32bit and 64bit environments [14857]

$
0
0
Because the the GetHashCode() method returns a different value in the 64bit environment from the 32bit environment you will get an exception stating that the script does not exist for the hashcode supplied. This is because the script manager uses the hashcode of the script name in a hash table to match it on the incoming request.

Here is the exception raised:
Message: Assembly "AjaxControlToolkit, Version=1.0.10920.32880, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" does not contain a script with hash code "9ea3f0e2".
Stack trace: at AjaxControlToolkit.ToolkitScriptManager.DeserializeScriptEntries(String serializedScriptEntries, Boolean loaded)
at AjaxControlToolkit.ToolkitScriptManager.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Comments: It seems that this error is caused by ToolkitScriptManager. Starting with the v15.1 release, we have removed it. So now, this problem is resolved.

Closed Issue: How use Ajax Control Toolkit 3.5 in webpart for SharePoint 2010 [26857]

$
0
0
Hi!
I started using Ajax Control Toolkit when developing webparts in Sharepoint 2010.
I ran into a problem that requires Ajax ToolkitScriptManager and SharePoint 2010 uses asp.net SckriptManager.
Can you help me and suggest how to solve this problem?
If I use in webpart ToolkitScriptManager, then I get an error that should be only one ScriptManager.

Sorry for my English.

WBR,
Dmitry

Comments: It seems that this error is caused by ToolkitScriptManager. Starting with the v15.1 release, we have removed it. So now, this problem is resolved.

Closed Issue: HTML5 input types not posted back on postback in ToolKitScriptManager [27150]

$
0
0
The values of the new HTML5 input types like "email" and "number" are not posted back to the server when using ToolkitScriptManager.

It seems that the file "PageRequestManager.js" in the toolkit needs to be modified to support the HTML5 input types.
Comments: It seems that this error is caused by ToolkitScriptManager. Starting with the v15.1 release, we have removed it. So now, this problem is resolved.

Closed Issue: Randomly Appearing Error Message [27184]

$
0
0
Early in my development I tried the DevExpress components in conjunction with the AjaxControlToolkit. I subsequently uninstalled the DevExpress components and purged them from my system. But periodically I get this message:


Source file information:
Locating source for 'C:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs'. Checksum: MD5 {d9 23 62 78 1a b1 5e b3 94 86 f5 56 7c ea 3f 47}
The file 'C:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs' does not exist.
Looking in script documents for 'C:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs'...
Looking in the projects for 'C:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs'.
The file was not found in a project.
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\crt\src\'...
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\src\mfc\'...
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\src\atl\'...
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\'...
Looking in directory 'C:\'...
The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: C:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs.
The debugger could not locate the source file 'C:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs'.

This error is thrown cause the ToolkitScripManager cannot find the DevExpress component.

I have removed all DevExpress components. If I remove all AjaxControlToolKit components I don't get the error.

I took out the AjaxControlToolKit, removed all components from my projects. Then downloaded the latest version, installed, added to resources, recreated the toolbox tab. No luck.

The kicker is I can get this error on a page. Close it, relaunch it and that same page will not throw the error. Then maybe 3 tests later it will.

This is driving me nuts. I am open to suggestions here if anyone has them.
Comments: It seems that this error is caused by ToolkitScriptManager. Starting with the v15.1 release, we have removed it. So now, this problem is resolved.

Commented Issue: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts error VS2012 [27363]

$
0
0
hi,

i tried to make ajaxcontroltoolkit work with visual studio 2012 and asp.net 4.5, but it never works

I always get error :

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 changed the ScriptManager to ToolkitScriptManager,but I still get the same error.
I uploaded the project at the link below, please any one help me in this.

the default page has example with ajax toolkit control, also login page, both fail with the error upove

link to files


[http://www.fileconvoy.com/dfl.php?id=g43f0a32df74171f99992249134da0707f6b9f9572](http://www.fileconvoy.com/dfl.php?id=g43f0a32df74171f99992249134da0707f6b9f9572)
Comments: Please upgrade to the latest version of AJAX Control Toolkit v15.1. If the problem remains, feel free to post a new issue.

Closed Issue: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts error VS2012 [27363]

$
0
0
hi,

i tried to make ajaxcontroltoolkit work with visual studio 2012 and asp.net 4.5, but it never works

I always get error :

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 changed the ScriptManager to ToolkitScriptManager,but I still get the same error.
I uploaded the project at the link below, please any one help me in this.

the default page has example with ajax toolkit control, also login page, both fail with the error upove

link to files


[http://www.fileconvoy.com/dfl.php?id=g43f0a32df74171f99992249134da0707f6b9f9572](http://www.fileconvoy.com/dfl.php?id=g43f0a32df74171f99992249134da0707f6b9f9572)

Closed Unassigned: Issue loading assembly [27447]

$
0
0
Hi,

I'am just trying to use the last version of the ajaxcontroltoolkit from june 2013 (.net v3.5) in replacement of the April version.

I always update the stable version on my current project, trying to have the latest possibility, so this is not the first time I update the dll's.

But this time I face an issue, and I don't know how to solve it.

Here my exception message.

```
An exception of type System.IO.FileLoadException occured in class ASP.global_asax at method Application_Error :
Message : Impossible de charger le fichier ou l'assembly 'AjaxControlToolkit, Version=3.5.7.429, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' ou une de ses dépendances. La définition trouvée du manifeste de l'assembly ne correspond pas à la référence de l'assembly. (Exception de HRESULT : 0x80131040)
StackTrace : à System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
à System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
à System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
à System.Reflection.Assembly.Load(String assemblyString)
à AjaxControlToolkit.ToolkitScriptManager.ScriptEntry.LoadAssembly() dans f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:ligne 762
à AjaxControlToolkit.ToolkitScriptManager.DeserializeScriptEntries(String serializedScriptEntries, Boolean loaded) dans f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:ligne 650
à AjaxControlToolkit.ToolkitScriptManager.OnLoad(EventArgs e) dans f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:ligne 201
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
```
It seem's that, at some point, there a referencing to the old dll. For information I'm not using the GAC, just using the dll directly in the project.

I've try to erase (cleaning all referencies on the project, and erasing all dll in the bin and obj directories) and re-add the dll unsuccessfuly.

I begin to think that the error may directly come from the toolkit.

Any help would be appreciable.
Thanks
Comments: It seems that this error is caused by ToolkitScriptManager. Starting with the v15.1 release, we have removed it. So now, this problem is resolved.

Closed Unassigned: doPostBack issue when EnablePartialRendering=true [27453]

$
0
0
just for information (my post from IIS forum):


SOLVED: the issue traced to AjaxControlToolkit when the ToolkitScriptManager configured with the EnablePartialRendering

SOLVED CONTINUED: it was more complicated i.e. th previous solution improved but not fixed the issue... after deeper investigation the culpit was related to closing modal window opened with window.showModalDialog (child window was iframe-based page). sometimes it wasn't closing the window fully for some reason (like once in 7 times; all the solutions like base=_self & etc tested). updated the child page (removed iframe) and all the related javascripts (opening /closing child are plain window.close i.e. without _win = window.open ('','_self','') and no parameters passed to modal). now it's more stable but still possible to reproduce (for example by doing it all locally on hosting server)

in ASP.NET 4 application (over HTTPS) javascript executes doPostBack and it results in indefinite request (all the main browsers: IE 10, 9, Chrome). need to restart application pool to terminate it.

the main problem is: it happens only on some servers (Win8R2 & Win2012)

but the same application runs without any issues on Win7 (development PC) and Win2003 server (IIS6)

i've compared configuration beween Win7 & servers and everything looks identical. i even tied to turn-off some features on server (cashing, compression etc) without any effect.

i'm out of ideas on why it's happening so maybe someone will suggest either what to look for or what is wrong.



Note: looks very like following topic: http://forums.isaserver.org/m_2002083528/mpage_1/key_/tm.htm but we are using Anonymous authentication only (everything else is disabled)



Comments: It seems that this error is caused by ToolkitScriptManager. Starting with the v15.1 release, we have removed it. So now, this problem is resolved.

Closed Unassigned: Unknown server tag 'ajaxToolkit:ToolkitScriptManager' error while Publishing WebForms in VS2013 [27740]

$
0
0


Hello,

While publishing the web forms application using VS2013 I am getting 2 errors repeated several times. These are:

1. /Site.Master(14,0):Error ASPPARSE: Unknown server tag 'webopt:bundlereference'.

2. /Site.Master(20,0): Error ASPPARSE: Unknown server tag 'ajaxToolkit:ToolkitScriptManager'.

I have tried the following:

1. Publish in Release version instead of debug

2. debug=false in web.config

3. web.config reference is already there -

```
<controls>
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
</controls>

```
Nothing seems to be working. __The solutions runs fine from within VS2013.__

Any help please!

Comments: Please upgrade to the latest version of AJAX Control Toolkit v15.1. If the problem remains, feel free to post a new issue.

Commented Issue: DropDownExtender: Property "HighlightBackColor" only works with basic colors [27906]

$
0
0
Hello,

I want to use the DropDownExtender control and define the HighlightBackColor. If I set HighlightBackColor to "blue" or the Hex equivalent it works. If I set the HighlightBackColor to "#0065AD" it works not. What can I do?
Comments: Hi, Thank you for your report! This issue will be fixed in the next release of the AJAX Control Toolkit. Best regards, Fadil

Edited Issue: DropDownExtender: Property "HighlightBackColor" only works with basic colors [27906]

$
0
0
Hello,

I want to use the DropDownExtender control and define the HighlightBackColor. If I set HighlightBackColor to "blue" or the Hex equivalent it works. If I set the HighlightBackColor to "#0065AD" it works not. What can I do?

Edited Issue: Calendar animating incorrect when size is changed [27905]

$
0
0
The Calendar animation is incorrect when the width or the height of the calendar body is changed via css class. I have made some changes to the __Calendar.js__ file to fix the issue. I dont know if it the best fixe but it seams to work correctly.

__Code change summay__

Removed Hard-Coded Variable
this._width = 170;
this._height = 139;

Replace Variable By Corresponding

newElement.offsetWidth
newElement.offsetHeight

oldElement.offsetWidth
oldElement.offsetHeight

Exemple:
$common.setLocation(newElement, { x: 0, y: newElement.offsetWidth });
$common.setLocation(newElement, { x: 0, y: newElement.offsetHeight });

Include modified javascript. Hope this will help.

Commented Issue: AjaxItems do not appear [27257]

$
0
0
Hi,

When I deploy my project on web server (IIS7), the ajax composent do not appear but on my local computer my web project work correctly.

Do you know why ?

ps: sorry for this bad english....
Comments: I have the same problem. Under test mode locally using Visual Web Developer, the ajax items appear and operate as expected. When I deploy to the IT server, the ajax items do not work. Upon inspection of the html, none of the ajax items were rendered by the server. The server logs are showing no evidence of an error. Namespace has been added properly to the web.config. Ajaxcontroltoolkit dll's are in proper location in Bin directory. Using ASP.NET v4.5 Framework on server with default app pool running ASP.NET 4.0.

Created Unassigned: Tab panels become invisible after upgrade to v.15.1.2 [27909]

$
0
0
My current environment is Microsoft.Net 4.5.2, Visual Studio 2013, AJAX Control Toolkit v15.1. Ever since I upgraded to AJAX Control Toolit v15.1 and use the asp:Scriptmanager instead of the old ToolkitScriptmanager, the tab panels in my tab container for an existing web app become invisible. I think an exception thrown by Javascript when the page is being rendered caused the problem but I don't know how to fix this.

Any suggestion on where to look is deeply appreciated.

Here's an example of a simple page:

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm1.aspx.vb" Inherits="Edesk.WebForm1" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxToolkit" %>
<!DOCTYPE html>

<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>
<ajaxToolkit:TabContainer ID="TabContainer1" runat="server">
<ajaxToolkit:TabPanel runat="server" HeaderText="Details" ID="TabPanel1" TabIndex="0">
<ContentTemplate>
<table><tr><td>Test details</td></tr></table>

</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="TabPanel2" runat="server" HeaderText="Scope">
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="TabPanel3" runat="server" HeaderText="Approval">
</ajaxToolkit:TabPanel>

</ajaxToolkit:TabContainer>
<table><tr><td>Test table under tab control</td></tr></table>

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

When I run debug I get this error:

Unhandled exception at line 3803, column 12 in http://localhost:56421/ScriptResource.axd?d=LA2uNqtVhxzSGcXjgWiXWMzwtqbnPMUmRP9jH3h0X6l82MORXTdoPhq1uVWN6VYHPOyBjTaf96dObBwHQpWSfAWO9cGXljZJKqL2EtTfofM9x-QAHX3fvuZzmFwummfX2NiNhZ1WtVY-5aKut_Ye8i1-cxlSl5eUqSchmx80oaZ9HLdNmraaCLX7x8ky1_N80&t=7b689585

0x800a139e - JavaScript runtime error: Sys.ArgumentUndefinedException: Value cannot be undefined.

Here's what it looks like after I break: (The undelined one is the one where the error was reported)
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>

</title><link href="/WebResource.axd?d=qe1K4yw3-S9lnWs4RN4S8DFFbZW4pMW5u1dgcADSKj07HTKa_6_rhZvAU-zpA1YcjsT-MLLQ_ifDnTyiUH3-VPOy1bJ3ywHt6i-MkBlLaU1PkSgnqAoOHL5pkXYWkwnEc09vKeBsV-60KlPmrNrnmg2&amp;t=634092594280000000" type="text/css" rel="stylesheet" /></head>
<body>
<form method="post" action="WebForm1.aspx" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="TabContainer1_ClientState" id="TabContainer1_ClientState" value="{&quot;ActiveTabIndex&quot;:0,&quot;TabState&quot;:[true,true,true]}" />
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNTAxMTYyMTYwZBgCBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQUNVGFiQ29udGFpbmVyMQUNVGFiQ29udGFpbmVyMQ8PZGZkNm1GtdTdJ5/3/lOaD5Wq4CYJuaVbE6nEOYWiXTSx7OI=" />
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>


<script src="/WebResource.axd?d=DXR2C7BtsWBM5RxNKJ3EGdP3ueU1hjhDmKj-teHH1yJ3uk0Z-jX-SngoJDkJJlEZI4w-ZwqWqrb1cPDiUe3zwDgqw99dcG4T6joaCVIU-U41&amp;t=635586505120000000" type="text/javascript"></script>


<script src="/ScriptResource.axd?d=LA2uNqtVhxzSGcXjgWiXWMzwtqbnPMUmRP9jH3h0X6l82MORXTdoPhq1uVWN6VYHPOyBjTaf96dObBwHQpWSfAWO9cGXljZJKqL2EtTfofM9x-QAHX3fvuZzmFwummfX2NiNhZ1WtVY-5aKut_Ye8i1-cxlSl5eUqSchmx80oaZ9HLdNmraaCLX7x8ky1_N80&amp;t=7b689585" 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>

<script src="/ScriptResource.axd?d=zy5Y5fmxYRZYoedEaWXHIv14lFzsDjttP1jlGo3uEW9L6at1v3uuNyPaKRTIguo5nMJcDLPksb34WiNjUkWLLWhkkiN7M-EFnOIl202-qIZdGqlC0yI0isI288LtUJSkyzWAITLS9TUA-HozYrX5LKUQ9KHnhQIG29QFo6CzQBO56DLdBKjJmbN0BAdv4OMq0&amp;t=7b689585" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=ba3UywKW6ykZA552fgoRrpUpL_o8gIWoPW_j54RhhKB4ft5xwPFnLznuQvReED-0-P9UjwzYq51SoLKx31vS2kSvBKaD7bL-oVbQP8jXOrHfZMVJXZuXhdH9_EqG-VRRrmvEt-kJTYIeMuxDxp_4ew2&amp;t=ffffffffec54f2d7" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=M8Ym2BQZY9GlRden7H89IkiCgsLxQIERImV5eypug9sPJo_UKQz8nVlj9GZMQ5PG_Vx9E5i9mffiqTTLoH5JPNBg62BlvT6lSkpL-qXwY3AwKPPdEC7BoZ8cLqGRkQ4GEf1B4gNU40hlospYzarYvg2&amp;t=ffffffffec54f2d7" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=B-FU554SCPpYcmXPz3tx9i0pLty-iYb7etkeddi1TrMifc4ClQjasKcVjdomJe5n-msKdzAuiCq5v2IAV_NTI0nQor_TH6uJ7Zqhnuvqw_cnPf9EQoZulJgg5igm7r8o0&amp;t=ffffffffec54f2d7" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=RgAIaWnD3gxf282AFAByL7Tm8D2AW_6WufS1PdZgtLuAvT4AO3YF5gwDwuGqkKzRjqOyRRi0Cw567bSGNCn4q16MY3ygNOi5iYjYlnFZUMI8qPCeHmX4filu49BJPrt64wNMNYwplFTfybxZ5SOCvGyHKVf5IpUAs96vhoqlJp41&amp;t=ffffffffec54f2d7" type="text/javascript"></script>
<div>

<script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ScriptManager1', 'form1', [], [], [], 90, '');
//]]>
</script>

<div class="ajax__tab_xp" id="TabContainer1" style="visibility:hidden;">
<div id="TabContainer1_header">
<span id="TabContainer1_TabPanel1_tab"><span class="ajax__tab_outer"><span class="ajax__tab_inner"><span class="ajax__tab_tab" id="__tab_TabContainer1_TabPanel1">Details</span></span></span></span><span id="TabContainer1_TabPanel2_tab"><span class="ajax__tab_outer"><span class="ajax__tab_inner"><span class="ajax__tab_tab" id="__tab_TabContainer1_TabPanel2">Scope</span></span></span></span><span id="TabContainer1_TabPanel3_tab"><span class="ajax__tab_outer"><span class="ajax__tab_inner"><span class="ajax__tab_tab" id="__tab_TabContainer1_TabPanel3">Approval</span></span></span></span>
</div><div id="TabContainer1_body">
<div id="TabContainer1_TabPanel1" class="ajax__tab_panel">

<table>
<tr>
<td>
Test details
</td>
</tr>

</table>

</div><div id="TabContainer1_TabPanel2" class="ajax__tab_panel" style="display:none;visibility:hidden;">

</div><div id="TabContainer1_TabPanel3" class="ajax__tab_panel" style="display:none;visibility:hidden;">

</div>
</div>
</div>
<table>
<tr>
<td>
Test table under tab control
</td>
</tr>

</table>
</div>

<div class="aspNetHidden">

<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="C687F31A" />
</div>

<script type="text/javascript">
//<![CDATA[
Sys.Application.add_init(function() {
$create(Sys.Extended.UI.TabPanel, {"headerTab":$get("__tab_TabContainer1_TabPanel1"),"ownerID":"TabContainer1"}, null, {"owner":"TabContainer1"}, $get("TabContainer1_TabPanel1"));
});
Sys.Application.add_init(function() {
$create(Sys.Extended.UI.TabPanel, {"headerTab":$get("__tab_TabContainer1_TabPanel2"),"ownerID":"TabContainer1"}, null, {"owner":"TabContainer1"}, $get("TabContainer1_TabPanel2"));
});
Sys.Application.add_init(function() {
$create(Sys.Extended.UI.TabPanel, {"headerTab":$get("__tab_TabContainer1_TabPanel3"),"ownerID":"TabContainer1"}, null, {"owner":"TabContainer1"}, $get("TabContainer1_TabPanel3"));
});
Sys.Application.add_init(function() {
$create(Sys.Extended.UI.TabContainer, {"activeTabIndex":0,"clientStateField":$get("TabContainer1_ClientState")}, null, null, $get("TabContainer1"));
});
//]]>
</script>
</form>

<!-- Visual Studio Browser Link -->
<script type="application/json" id="__browserLink_initializationData">
{"appName":"Internet Explorer","requestId":"147e791d45f246ad897d1236173b0408"}
</script>
<script type="text/javascript" src="http://localhost:52291/c7d32499a33a4d86925a3ae4ef0492d6/browserLink" async="async"></script>
<!-- End Browser Link -->

</body>
</html>

Uninstall and reinstall doesn't help. I can create a new application and add a new tab container and the tab panels display with no problem. However in the existing application the tab panels wont' show and when I run it in debug mode I see this output from the JavaScript Language Service along with the error described above.

03:26:24.6578: Referenced file '~/Scripts/_references.js' not found.
03:32:02.0931: Referenced file '~/Scripts/_references.js' not found.
03:32:02.1281: Referenced file '../ExtenderBase/BaseScripts.js' not found.
03:32:02.1281: Referenced file '../Common/Common.js' not found.
03:32:02.1281: Referenced file '../DynamicPopulate/DynamicPopulateBehavior.js' not found.

Edited Unassigned: Tab panels become invisible after upgrade to v.15.1.2 [27909]

$
0
0
My current environment is Microsoft.Net 4.5.2, Visual Studio 2013, AJAX Control Toolkit v15.1. Ever since I upgraded to AJAX Control Toolit v15.1 and use the asp:Scriptmanager instead of the old ToolkitScriptmanager, the tab panels in my tab container for an existing web app become invisible. I think an exception thrown by Javascript when the page is being rendered caused the problem but I don't know how to fix this.

Any suggestion on where to look is deeply appreciated.

Here's an example of a simple page:

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm1.aspx.vb" Inherits="Edesk.WebForm1" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxToolkit" %>
<!DOCTYPE html>

<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>
<ajaxToolkit:TabContainer ID="TabContainer1" runat="server">
<ajaxToolkit:TabPanel runat="server" HeaderText="Details" ID="TabPanel1" TabIndex="0">
<ContentTemplate>
<table><tr><td>Test details</td></tr></table>

</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="TabPanel2" runat="server" HeaderText="Scope">
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="TabPanel3" runat="server" HeaderText="Approval">
</ajaxToolkit:TabPanel>

</ajaxToolkit:TabContainer>
<table><tr><td>Test table under tab control</td></tr></table>

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

When I run debug I get this error:

Unhandled exception at line 3803, column 12 in http://localhost:56421/ScriptResource.axd?d=LA2uNqtVhxzSGcXjgWiXWMzwtqbnPMUmRP9jH3h0X6l82MORXTdoPhq1uVWN6VYHPOyBjTaf96dObBwHQpWSfAWO9cGXljZJKqL2EtTfofM9x-QAHX3fvuZzmFwummfX2NiNhZ1WtVY-5aKut_Ye8i1-cxlSl5eUqSchmx80oaZ9HLdNmraaCLX7x8ky1_N80&t=7b689585

0x800a139e - JavaScript runtime error: Sys.ArgumentUndefinedException: Value cannot be undefined.

Here's what it looks like after I break: The line where the error was reported is:

<script type="text/javascript">
//<![CDATA[
Sys.Application.add_init(function() {
__$create(Sys.Extended.UI.TabPanel, {"headerTab":$get("__tab_TabContainer1_TabPanel1"),"ownerID":"TabContainer1"}, null, {"owner":"TabContainer1"}, $get("TabContainer1_TabPanel1"));__


Here is the entire listing with the error near the end.

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>

</title><link href="/WebResource.axd?d=qe1K4yw3-S9lnWs4RN4S8DFFbZW4pMW5u1dgcADSKj07HTKa_6_rhZvAU-zpA1YcjsT-MLLQ_ifDnTyiUH3-VPOy1bJ3ywHt6i-MkBlLaU1PkSgnqAoOHL5pkXYWkwnEc09vKeBsV-60KlPmrNrnmg2&t=634092594280000000" type="text/css" rel="stylesheet" /></head>
<body>
<form method="post" action="WebForm1.aspx" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="TabContainer1_ClientState" id="TabContainer1_ClientState" value="{"ActiveTabIndex":0,"TabState":[true,true,true]}" />
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNTAxMTYyMTYwZBgCBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQUNVGFiQ29udGFpbmVyMQUNVGFiQ29udGFpbmVyMQ8PZGZkNm1GtdTdJ5/3/lOaD5Wq4CYJuaVbE6nEOYWiXTSx7OI=" />
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>


<script src="/WebResource.axd?d=DXR2C7BtsWBM5RxNKJ3EGdP3ueU1hjhDmKj-teHH1yJ3uk0Z-jX-SngoJDkJJlEZI4w-ZwqWqrb1cPDiUe3zwDgqw99dcG4T6joaCVIU-U41&t=635586505120000000" type="text/javascript"></script>


<script src="/ScriptResource.axd?d=LA2uNqtVhxzSGcXjgWiXWMzwtqbnPMUmRP9jH3h0X6l82MORXTdoPhq1uVWN6VYHPOyBjTaf96dObBwHQpWSfAWO9cGXljZJKqL2EtTfofM9x-QAHX3fvuZzmFwummfX2NiNhZ1WtVY-5aKut_Ye8i1-cxlSl5eUqSchmx80oaZ9HLdNmraaCLX7x8ky1_N80&t=7b689585" 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>

<script src="/ScriptResource.axd?d=zy5Y5fmxYRZYoedEaWXHIv14lFzsDjttP1jlGo3uEW9L6at1v3uuNyPaKRTIguo5nMJcDLPksb34WiNjUkWLLWhkkiN7M-EFnOIl202-qIZdGqlC0yI0isI288LtUJSkyzWAITLS9TUA-HozYrX5LKUQ9KHnhQIG29QFo6CzQBO56DLdBKjJmbN0BAdv4OMq0&t=7b689585" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=ba3UywKW6ykZA552fgoRrpUpL_o8gIWoPW_j54RhhKB4ft5xwPFnLznuQvReED-0-P9UjwzYq51SoLKx31vS2kSvBKaD7bL-oVbQP8jXOrHfZMVJXZuXhdH9_EqG-VRRrmvEt-kJTYIeMuxDxp_4ew2&t=ffffffffec54f2d7" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=M8Ym2BQZY9GlRden7H89IkiCgsLxQIERImV5eypug9sPJo_UKQz8nVlj9GZMQ5PG_Vx9E5i9mffiqTTLoH5JPNBg62BlvT6lSkpL-qXwY3AwKPPdEC7BoZ8cLqGRkQ4GEf1B4gNU40hlospYzarYvg2&t=ffffffffec54f2d7" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=B-FU554SCPpYcmXPz3tx9i0pLty-iYb7etkeddi1TrMifc4ClQjasKcVjdomJe5n-msKdzAuiCq5v2IAV_NTI0nQor_TH6uJ7Zqhnuvqw_cnPf9EQoZulJgg5igm7r8o0&t=ffffffffec54f2d7" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=RgAIaWnD3gxf282AFAByL7Tm8D2AW_6WufS1PdZgtLuAvT4AO3YF5gwDwuGqkKzRjqOyRRi0Cw567bSGNCn4q16MY3ygNOi5iYjYlnFZUMI8qPCeHmX4filu49BJPrt64wNMNYwplFTfybxZ5SOCvGyHKVf5IpUAs96vhoqlJp41&t=ffffffffec54f2d7" type="text/javascript"></script>
<div>

<script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ScriptManager1', 'form1', [], [], [], 90, '');
//]]>
</script>

<div class="ajax__tab_xp" id="TabContainer1" style="visibility:hidden;">
<div id="TabContainer1_header">
<span id="TabContainer1_TabPanel1_tab"><span class="ajax__tab_outer"><span class="ajax__tab_inner"><span class="ajax__tab_tab" id="__tab_TabContainer1_TabPanel1">Details</span></span></span></span><span id="TabContainer1_TabPanel2_tab"><span class="ajax__tab_outer"><span class="ajax__tab_inner"><span class="ajax__tab_tab" id="__tab_TabContainer1_TabPanel2">Scope</span></span></span></span><span id="TabContainer1_TabPanel3_tab"><span class="ajax__tab_outer"><span class="ajax__tab_inner"><span class="ajax__tab_tab" id="__tab_TabContainer1_TabPanel3">Approval</span></span></span></span>
</div><div id="TabContainer1_body">
<div id="TabContainer1_TabPanel1" class="ajax__tab_panel">

<table>
<tr>
<td>
Test details
</td>
</tr>

</table>

</div><div id="TabContainer1_TabPanel2" class="ajax__tab_panel" style="display:none;visibility:hidden;">

</div><div id="TabContainer1_TabPanel3" class="ajax__tab_panel" style="display:none;visibility:hidden;">

</div>
</div>
</div>
<table>
<tr>
<td>
Test table under tab control
</td>
</tr>

</table>
</div>

<div class="aspNetHidden">

<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="C687F31A" />
</div>

<script type="text/javascript">
//<![CDATA[
Sys.Application.add_init(function() {
__$create(Sys.Extended.UI.TabPanel, {"headerTab":$get("__tab_TabContainer1_TabPanel1"),"ownerID":"TabContainer1"}, null, {"owner":"TabContainer1"}, $get("TabContainer1_TabPanel1"));__
__});
Sys.Application.add_init(function() {
$create(Sys.Extended.UI.TabPanel, {"headerTab":$get("__tab_TabContainer1_TabPanel2"),"ownerID":"TabContainer1"}, null, {"owner":"TabContainer1"}, $get("TabContainer1_TabPanel2"));
});
Sys.Application.add_init(function() {
$create(Sys.Extended.UI.TabPanel, {"headerTab":$get("__tab_TabContainer1_TabPanel3"),"ownerID":"TabContainer1"}, null, {"owner":"TabContainer1"}, $get("TabContainer1_TabPanel3"));
});
Sys.Application.add_init(function() {
$create(Sys.Extended.UI.TabContainer, {"activeTabIndex":0,"clientStateField":$get("TabContainer1_ClientState")}, null, null, $get("TabContainer1"));
});
//]]>
</script>
</form>

<!-- Visual Studio Browser Link -->
<script type="application/json" id="__browserLink_initializationData">
{"appName":"Internet Explorer","requestId":"147e791d45f246ad897d1236173b0408"}
</script>
<script type="text/javascript" src="http://localhost:52291/c7d32499a33a4d86925a3ae4ef0492d6/browserLink" async="async"></script>
<!-- End Browser Link -->

</body>
</html>

Uninstall and reinstall doesn't help. I can create a new application and add a new tab container and the tab panels display with no problem. However in the existing application the tab panels wont' show and when I run it in debug mode I see this output from the JavaScript Language Service along with the error described above.

03:26:24.6578: Referenced file '~/Scripts/_references.js' not found.
03:32:02.0931: Referenced file '~/Scripts/_references.js' not found.
03:32:02.1281: Referenced file '../ExtenderBase/BaseScripts.js' not found.
03:32:02.1281: Referenced file '../Common/Common.js' not found.
03:32:02.1281: Referenced file '../DynamicPopulate/DynamicPopulateBehavior.js' not found.

Viewing all 4356 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>