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

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. Parameter name: type__

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.


Created Unassigned: AjaxToolkit not work in IE8 [27910]

$
0
0
Hi, AjaxToolkit not work on IE8.

I have a page that have registered dll:
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

This page inherit from master page that have an ScriptManager in it:
<asp:ScriptManager ID="asmGeneral" runat="server" AsyncPostBackTimeout="600" EnableScriptGlobalization="True"
EnableScriptLocalization="True"
OnAsyncPostBackError="asmGeneral_AsyncPostBackError" EnablePartialRendering="true">
<CompositeScript>
<Scripts>
<asp:ScriptReference Path="~/inc/js/jquery/jquery-1.11.1.min.js" />
<asp:ScriptReference Path="~/inc/js/general.js" />
</Scripts>
</CompositeScript>
</asp:ScriptManager>


I have in a page child of master the next code just to test the Toolkit and is painting the textBox as is it:
<asp:TextBox ID="Slider1" runat="server"></asp:TextBox>
<cc1:SliderExtender ID="SliderExtender1" runat="server"
TargetControlID="Slider1"
Minimum="-100"
Maximum="100"
Steps="5" />

This work fine in all browsers above IE8, but in IE8 not . If can help, i have in master the next meta-tag:
<meta http-equiv="X-UA-Compatible" content="IE=7, IE=9" />

Edited Unassigned: AjaxToolkit not work in IE8 [27910]

$
0
0
Hi, AjaxToolkit not work on IE8.

I have a page that have registered dll:
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

This page inherit from master page that have an ScriptManager in it:
<asp:ScriptManager ID="asmGeneral" runat="server" AsyncPostBackTimeout="600" EnableScriptGlobalization="True"
EnableScriptLocalization="True"
OnAsyncPostBackError="asmGeneral_AsyncPostBackError" EnablePartialRendering="true">
<CompositeScript>
<Scripts>
<asp:ScriptReference Path="~/inc/js/jquery/jquery-1.11.1.min.js" />
<asp:ScriptReference Path="~/inc/js/general.js" />
</Scripts>
</CompositeScript>
</asp:ScriptManager>


I have in a page child of master the next code just to test the Toolkit and is painting the textBox as is it:
<asp:TextBox ID="Slider1" runat="server"></asp:TextBox>
<cc1:SliderExtender ID="SliderExtender1" runat="server"
TargetControlID="Slider1"
Minimum="-100"
Maximum="100"
Steps="5" />

This work fine in all browsers with version after IE8, but in IE8 not . If can help, i have in master the next meta-tag:
<meta http-equiv="X-UA-Compatible" content="IE=7, IE=9" />

i have updated to the last version of DevExpress but it remains without work...

Commented 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. Parameter name: type__

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.

Comments: I find a discussion in stackoverflow [Ajaxcontroltoolkit 15.1.2 Tabcontainer problems](http://stackoverflow.com/questions/31348100/ajaxcontroltoolkit-15-1-2-tabcontainer-problems) It solved the annoying js warning "Sys.ArgumentUndefinedException: Value cannot be undefined. Parameter name: type " Maybe you can visit the post and try if it can solve your problem!

Edited Issue: AjaxToolkit not work in IE8 [27910]

$
0
0
Hi, AjaxToolkit not work on IE8.

I have a page that have registered dll:
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

This page inherit from master page that have an ScriptManager in it:
<asp:ScriptManager ID="asmGeneral" runat="server" AsyncPostBackTimeout="600" EnableScriptGlobalization="True"
EnableScriptLocalization="True"
OnAsyncPostBackError="asmGeneral_AsyncPostBackError" EnablePartialRendering="true">
<CompositeScript>
<Scripts>
<asp:ScriptReference Path="~/inc/js/jquery/jquery-1.11.1.min.js" />
<asp:ScriptReference Path="~/inc/js/general.js" />
</Scripts>
</CompositeScript>
</asp:ScriptManager>


I have in a page child of master the next code just to test the Toolkit and is painting the textBox as is it:
<asp:TextBox ID="Slider1" runat="server"></asp:TextBox>
<cc1:SliderExtender ID="SliderExtender1" runat="server"
TargetControlID="Slider1"
Minimum="-100"
Maximum="100"
Steps="5" />

This work fine in all browsers with version after IE8, but in IE8 not . If can help, i have in master the next meta-tag:
<meta http-equiv="X-UA-Compatible" content="IE=7, IE=9" />

i have updated to the last version of DevExpress but it remains without work...

Commented Issue: AjaxToolkit not work in IE8 [27910]

$
0
0
Hi, AjaxToolkit not work on IE8.

I have a page that have registered dll:
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

This page inherit from master page that have an ScriptManager in it:
<asp:ScriptManager ID="asmGeneral" runat="server" AsyncPostBackTimeout="600" EnableScriptGlobalization="True"
EnableScriptLocalization="True"
OnAsyncPostBackError="asmGeneral_AsyncPostBackError" EnablePartialRendering="true">
<CompositeScript>
<Scripts>
<asp:ScriptReference Path="~/inc/js/jquery/jquery-1.11.1.min.js" />
<asp:ScriptReference Path="~/inc/js/general.js" />
</Scripts>
</CompositeScript>
</asp:ScriptManager>


I have in a page child of master the next code just to test the Toolkit and is painting the textBox as is it:
<asp:TextBox ID="Slider1" runat="server"></asp:TextBox>
<cc1:SliderExtender ID="SliderExtender1" runat="server"
TargetControlID="Slider1"
Minimum="-100"
Maximum="100"
Steps="5" />

This work fine in all browsers with version after IE8, but in IE8 not . If can help, i have in master the next meta-tag:
<meta http-equiv="X-UA-Compatible" content="IE=7, IE=9" />

i have updated to the last version of DevExpress but it remains without work...
Comments: Hi,   Would you describe in more detail what exactly doesn't work? Do you mean that SliderExtender is not shown? Or it just doesn't work and you get console error messages? We created a sample project based on your explanation, but all still works just fine. So, it would be extremely helpful if you attach a sample project for us to investigate it on our side. Best regards, Fadil

Commented Unassigned: VirusTotal Scan Shows Viruses on Installer [27915]

$
0
0
Here is a [link to a VirusTotal scan](https://www.virustotal.com/en/file/5f4dfeb47a28ef5dbaa5b681226b2fd93c6f167db3d858599039696da9664122/analysis/1440099314/) of AjaxControlToolkit.Installer.15.1.3.0.exe that I downloaded from codeplex.com

It shows the following results:

```
ALYac Gen:Variant.Strictor.90651
Ad-Aware Gen:Variant.Strictor.90651
Arcabit Trojan.Strictor.D1621B
BitDefender Gen:Variant.Strictor.90651
Emsisoft Gen:Variant.Strictor.90651 (B)
F-Secure Gen:Variant.Strictor.90651
GData Gen:Variant.Strictor.90651
MicroWorld-eScan Gen:Variant.Strictor.90651
```


Comments: Interestingly, all positives are from BitDefender-based anti-viruses. I submitted a false-positive ticket to BitDefender support. Detection should be removed in 72 business hours. Until the issue is resolved, I suggest that you use our NuGet package: https://www.nuget.org/packages/AjaxControlToolkit/15.1.3

Created Unassigned: Where is ScriptObjectBuilder? [27918]

$
0
0
Hello,

I am attempting to update AJAX Control Toolkit from v3 to v15. I have some legacy code that relies on ScriptObjectBuilder. More specifically, the code calls ScriptObjectBuilder.GetScriptReferences.

```
IEnumerable<ScriptReference> IScriptControl.GetScriptReferences()
{
foreach (ScriptReference modalReference in ScriptObjectBuilder.GetScriptReferences(typeof(ModalPopupExtender)))
yield return modalReference;

// Yields other script references
}
```

How should I update this code to work with v15?

Thank you

Created Unassigned: ScriptManager CDN fallback to dynamic .axd files [27919]

$
0
0
Hi,

With the ScriptManager configured with enableCDN="true", is there a way to have it fallback to dynamic .axd files when the CDN is not available?

If I'm not wrong, this is what the ScriptManager is doing with MicrosoftAjax.js and MicrosoftAjaxWebForms for example.

Thanks a lot.
Regards,

Commented Unassigned: Where is ScriptObjectBuilder? [27918]

$
0
0
Hello,

I am attempting to update AJAX Control Toolkit from v3 to v15. I have some legacy code that relies on ScriptObjectBuilder. More specifically, the code calls ScriptObjectBuilder.GetScriptReferences.

```
IEnumerable<ScriptReference> IScriptControl.GetScriptReferences()
{
foreach (ScriptReference modalReference in ScriptObjectBuilder.GetScriptReferences(typeof(ModalPopupExtender)))
yield return modalReference;

// Yields other script references
}
```

How should I update this code to work with v15?

Thank you
Comments: I just learned that there is a forum for AjaxControlToolkit. I've posted the exact same question at http://forums.asp.net/p/2064615/5955424.aspx?p=True&t=635758658664778529.

Edited Unassigned: Where is ScriptObjectBuilder? [27918]

$
0
0
Update: This issue can be closed since it's more of an upgrade question than an issue. I've posted the same question on the forum at http://forums.asp.net/t/2064615.aspx?Where+is+ScriptObjectBuilder+

Hello,

I am attempting to update AJAX Control Toolkit from v3 to v15. I have some legacy code that relies on ScriptObjectBuilder. More specifically, the code calls ScriptObjectBuilder.GetScriptReferences.

```
IEnumerable<ScriptReference> IScriptControl.GetScriptReferences()
{
foreach (ScriptReference modalReference in ScriptObjectBuilder.GetScriptReferences(typeof(ModalPopupExtender)))
yield return modalReference;

// Yields other script references
}
```

How should I update this code to work with v15?

Thank you

Commented Unassigned: Where is ScriptObjectBuilder? [27918]

$
0
0
Update: This issue can be closed since it's more of an upgrade question than an issue. I've posted the same question on the forum at http://forums.asp.net/t/2064615.aspx?Where+is+ScriptObjectBuilder+

Hello,

I am attempting to update AJAX Control Toolkit from v3 to v15. I have some legacy code that relies on ScriptObjectBuilder. More specifically, the code calls ScriptObjectBuilder.GetScriptReferences.

```
IEnumerable<ScriptReference> IScriptControl.GetScriptReferences()
{
foreach (ScriptReference modalReference in ScriptObjectBuilder.GetScriptReferences(typeof(ModalPopupExtender)))
yield return modalReference;

// Yields other script references
}
```

How should I update this code to work with v15?

Thank you
Comments: ScriptObjectBuilder was removed in v15.1. Unfortunately, there is no public API that can be used to get script references at the moment.   We are considering implementing this API with a future release. You can try the following workaround for now:   1) Add the __AjaxControlToolkit.config__ file to your project root folder. 2) Write these lines to __AjaxControlToolkit.config__: <?xml version="1.0" encoding="utf-8" ?> <ajaxControlToolkit>   <controlBundles>     <controlBundle name="_CalendarScripts_">       <control name="CalendarExtender"></control>     </controlBundle>   </controlBundles> </ajaxControlToolkit> 3) Install the AjaxControlToolkit.StaticResources NuGet package: https://www.nuget.org/packages/AjaxControlToolkit.StaticResources/ 4) You can obtain the scripts required for CalendarExtender this way: ToolkitResourceManager.GetScriptPaths("_CalendarScripts_"); Note that "CalendarScripts" is the name of the bundle described in AjaxControlToolkit.config. If you need scripts for other controls, simply add corresponding <control name="..." /> lines.

Closed Unassigned: Where is ScriptObjectBuilder? [27918]

$
0
0
Update: This issue can be closed since it's more of an upgrade question than an issue. I've posted the same question on the forum at http://forums.asp.net/t/2064615.aspx?Where+is+ScriptObjectBuilder+

Hello,

I am attempting to update AJAX Control Toolkit from v3 to v15. I have some legacy code that relies on ScriptObjectBuilder. More specifically, the code calls ScriptObjectBuilder.GetScriptReferences.

```
IEnumerable<ScriptReference> IScriptControl.GetScriptReferences()
{
foreach (ScriptReference modalReference in ScriptObjectBuilder.GetScriptReferences(typeof(ModalPopupExtender)))
yield return modalReference;

// Yields other script references
}
```

How should I update this code to work with v15?

Thank you

Commented Unassigned: ScriptObjectBuilder.GetCssReferences [27810]

$
0
0
I am using AjaxControlToolkit3.5, in this version, i can use ScriptObjectBuilder.GetCssReferences to get cssReference of an extender.
Now, i update to use version 15.1, and i can't find ScriptObjectBuilder.
What can i do to GetCssReferences. Thanks
Comments: ScriptObjectBuilder was removed in v15.1. Unfortunately, there is no public API that can be used to get css references at the moment. We are considering implementing this API with a future release.

Closed Unassigned: ScriptObjectBuilder.GetCssReferences [27810]

$
0
0
I am using AjaxControlToolkit3.5, in this version, i can use ScriptObjectBuilder.GetCssReferences to get cssReference of an extender.
Now, i update to use version 15.1, and i can't find ScriptObjectBuilder.
What can i do to GetCssReferences. Thanks

Created Unassigned: MaskedEditExtender loses value! [27920]

$
0
0
MaskedEditExtender works fine when user enters a value then exits the textbox.
However, I have a situation where a textbox is filled by code:
PhoneTextbox.Text = "6105551234" (value found in database)

When the textbox is displayed it is blank!

Here is the Textbox definition:
<asp:TextBox ID="PhoneTextBox" runat="server" MaxLength="10" Columns="13" Visible="False"> </asp:TextBox>
<cc1:MaskedEditExtender ID="PhoneMaskedEdit" runat="server" Enabled="True" Mask="(999) 999-9999"
MaskType="Number" TargetControlID="PhoneTextBox" CultureAMPMPlaceholder=""
CultureCurrencySymbolPlaceholder="" CultureDateFormat="" CultureDatePlaceholder=""
CultureDecimalPlaceholder="" CultureThousandsPlaceholder="" CultureTimePlaceholder=""
ClearTextOnInvalid="false" >

Please help.

Thank you.

Edited Unassigned: MaskedEditExtender loses value! [27920]

$
0
0
MaskedEditExtender works fine when user enters a value then exits the textbox.
However, I have a situation where a textbox is filled by code:
PhoneTextbox.Text = "6105551234" (value found in database, but is user editable)

When the textbox is displayed it is blank!

Here is the Textbox definition:
<asp:TextBox ID="PhoneTextBox" runat="server" MaxLength="10" Columns="13" Visible="False"> </asp:TextBox>
<cc1:MaskedEditExtender ID="PhoneMaskedEdit" runat="server" Enabled="True" Mask="(999) 999-9999"
MaskType="Number" TargetControlID="PhoneTextBox" CultureAMPMPlaceholder=""
CultureCurrencySymbolPlaceholder="" CultureDateFormat="" CultureDatePlaceholder=""
CultureDecimalPlaceholder="" CultureThousandsPlaceholder="" CultureTimePlaceholder=""
ClearTextOnInvalid="false" >

Please help.

Thank you.

Edited Unassigned: MaskedEditExtender loses value! [27920]

$
0
0
MaskedEditExtender works fine when user enters a value then exits the textbox.
However, I have a situation where a textbox is filled by code:
PhoneTextbox.Text = "6105551234" (value found in database, but is user editable)

When the textbox is displayed it is blank! Am I missing something?

Here is the Textbox definition:
<asp:TextBox ID="PhoneTextBox" runat="server" MaxLength="10" Columns="13" Visible="False"> </asp:TextBox>
<cc1:MaskedEditExtender ID="PhoneMaskedEdit" runat="server" Enabled="True" Mask="(999) 999-9999"
MaskType="Number" TargetControlID="PhoneTextBox" CultureAMPMPlaceholder=""
CultureCurrencySymbolPlaceholder="" CultureDateFormat="" CultureDatePlaceholder=""
CultureDecimalPlaceholder="" CultureThousandsPlaceholder="" CultureTimePlaceholder=""
ClearTextOnInvalid="false" >

Please help.

Thank you.

Edited Issue: MaskedEditExtender loses value! [27920]

$
0
0
MaskedEditExtender works fine when user enters a value then exits the textbox.
However, I have a situation where a textbox is filled by code:
PhoneTextbox.Text = "6105551234" (value found in database, but is user editable)

When the textbox is displayed it is blank! Am I missing something?

Here is the Textbox definition:
<asp:TextBox ID="PhoneTextBox" runat="server" MaxLength="10" Columns="13" Visible="False"> </asp:TextBox>
<cc1:MaskedEditExtender ID="PhoneMaskedEdit" runat="server" Enabled="True" Mask="(999) 999-9999"
MaskType="Number" TargetControlID="PhoneTextBox" CultureAMPMPlaceholder=""
CultureCurrencySymbolPlaceholder="" CultureDateFormat="" CultureDatePlaceholder=""
CultureDecimalPlaceholder="" CultureThousandsPlaceholder="" CultureTimePlaceholder=""
ClearTextOnInvalid="false" >

Please help.

Thank you.

Created Unassigned: Access of undefined array in MaskedEditBehavior [27921]

$
0
0
There is a bug in Sys.Extended.UI.MaskedEditBehavior.prototype.ConvFmtTime, where an undefined Array is accessed. It can easily be seen, when looking at the source:

```
ConvFmtDate: function(input, loadFirst) {
var m_arrDateLD,
m_arrDate;

m_arrDate = input.split(this.get_CultureDatePlaceholder()).filter(function(element) {
return element != "";
});
m_arrDate = m_arrDate.map(function(element) {
return element.replace(/[^\/\d]/g, '')
});

if(loadFirst) {
if(this.get_UserDateFormat() != Sys.Extended.UI.MaskedEditUserDateFormat.None) {
[...]

m_arrDate[this.get_CultureDateFormat().indexOf("D")] = m_arrDateLD[this._CultureDateFormat.indexOf("D")];
m_arrDate[this.get_CultureDateFormat().indexOf("M")] = m_arrDateLD[this._CultureDateFormat.indexOf("M")];
m_arrDate[this.get_CultureDateFormat().indexOf("Y")] = m_arrDateLD[this._CultureDateFormat.indexOf("Y")];
}
}
[...]
```
the Array "m_arrDateLD" is never defined, but when "loadFirst" is true, its values are read.
This JS-error only happens when the page is loaded (loadFirst) but it causes all following scripts to fail, which makes this component of the Toolkit de facto unusable
Viewing all 4356 articles
Browse latest View live


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