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

Closed Issue: Server Error in '/' Application [27759]

$
0
0
Receiving the below error for my application. Can somebody help me resolve this? __My application was running fine and all of a sudden__ (without any code change from our side) the error is popping up.

__Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Unknown server tag 'asp:ScriptManager'.

Source Error:


Line 96:
Line 97: <div id="Container"><!-- container -->
Line 98: <asp:ScriptManager runat=server ID="Script1"></asp:ScriptManager>
Line 99: <!--Header-->
Line 100: <uc1:Header ID="Header1" runat="server" />

Source File: /Home.aspx Line: 98

Version Information: Microsoft .NET Framework Version:2.0.50727.4253; ASP.NET Version:2.0.50727.4252__

Closed Issue: File upload [27498]

$
0
0
It looks like the new version of the Ajax file upload control doesn't render correctly when running
its just shows a black square, i have experimented with different styles, it renders in the designer ok

I have tried older versions on my PC and it works fine

Commented Unassigned: PageRequestManager$_doPostBack does not evaluate the postBackElement correctly [27515]

$
0
0
After upgrading from .NET 3.5 to 4.5 there is a problem that the 'postBackSettings' are not correctly evaluated in the 'PageRequestManager$_doPostBack' method (MicrosoftAjaxWebForms.debug.js and MicrosoftAjaxWebForms.js)

The reason for this problem is that the script uses the 'clientID' of the appropriate control instead of the 'eventTarget' to check if it contains the 'masterPageUniqueID':
```
if (!postBackElement && mpUniqueID) {
if (clientID.indexOf(mpUniqueID + "$") === 0) {
postBackElement = document.getElementById(clientID.substr(mpUniqueID.length + 1));
}
}
```
AjaxControlToolkit version: 4.5.7.725

The script appears to have been copied from a .NET 4.0 release of ASP.NET in 2010 and is now no longer up-to-date. This could also be related to this issue here:
[https://connect.microsoft.com/VisualStudio/feedback/details/596088/](https://connect.microsoft.com/VisualStudio/feedback/details/596088/)

Maybe it is possible to simply switch back to using the official Script provided by ASP.NET instead of overriding it in the ControlToolKit?
Comments: Would you provide a sample project that illustrates the described problem?

Commented Issue: HtmlEditor Bugs [27897]

$
0
0
I recently upgraded from version 7 to version 15.1.2 (NuGet) of the AjaxControlToolkit. I've noted several issues with the HtmlEditor: (all issues tested on the latest stable Chrome release.)

1) Required CSS references aren't present when inheriting the control into a custom class, e.g., public class MyEditor : AjaxControlToolkit.HtmlEditor.Editor { ... } is missing most styling when used on a page. Changing the class to inherit Control and adding an Editor to this.Controls programatically works as expected.

2) The "Insert Link" popup is missing all text, and doesn't actually insert a link into the content window after use.

3) The paste button throws a JavaScript error: "Uncaught Sys.ArgumentUndefinedException: Sys.ArgumentUndefinedException: Value cannot be undefined.
Parameter name: format" (paste from Word might have a similar issue, I'm not entirely sure.)

All other default toolbar buttons seem to work correctly.
Comments: Some code for #2 (though it's probably not going to help you, since there's literally nothing fancy going on) Default.aspx: ``` <%@ Page Language="C#" CodeFile="Editor.aspx.cs" Inherits="_Default" %> <%@ Register TagPrefix="ajaxToolkit" Namespace="AjaxControlToolkit.HtmlEditor" Assembly="AjaxControlToolkit, Version=15.1.2.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <asp:ScriptManager runat="server" ID="scriptManager"></asp:ScriptManager> <ajaxToolkit:Editor runat="server" ID="editor" Width="960px" Height="360px"></ajaxToolkit:Editor> </form> </body> </html> ``` Default.aspx.cs ``` using System.Web.UI; public partial class _Default : Page { } ``` Result: ![Image](http://i60.tinypic.com/2ah63qp.png) Project is a blank Web Site (not a Web Application) with AjaxControlToolkit added via NuGet.

Commented Unassigned: PageRequestManager$_doPostBack does not evaluate the postBackElement correctly [27515]

$
0
0
After upgrading from .NET 3.5 to 4.5 there is a problem that the 'postBackSettings' are not correctly evaluated in the 'PageRequestManager$_doPostBack' method (MicrosoftAjaxWebForms.debug.js and MicrosoftAjaxWebForms.js)

The reason for this problem is that the script uses the 'clientID' of the appropriate control instead of the 'eventTarget' to check if it contains the 'masterPageUniqueID':
```
if (!postBackElement && mpUniqueID) {
if (clientID.indexOf(mpUniqueID + "$") === 0) {
postBackElement = document.getElementById(clientID.substr(mpUniqueID.length + 1));
}
}
```
AjaxControlToolkit version: 4.5.7.725

The script appears to have been copied from a .NET 4.0 release of ASP.NET in 2010 and is now no longer up-to-date. This could also be related to this issue here:
[https://connect.microsoft.com/VisualStudio/feedback/details/596088/](https://connect.microsoft.com/VisualStudio/feedback/details/596088/)

Maybe it is possible to simply switch back to using the official Script provided by ASP.NET instead of overriding it in the ControlToolKit?
Comments: Sorry, that's too long since it got reported and we've stopped using the ControlToolKit since then so a repro is not feasible.

Commented Unassigned: The Controls collection cannot be modified because the control contains code blocks (i.e. ). WITH A TWIST [27709]

$
0
0
ok so I get the
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). error when trying to use the calendar extender. see below. Now on the page I have inherited some client side java where it accesses the Session.Timeout env var

so how do I get rid of the var sessionTimeout = "<%= Session.Timeout %>";

and still have it work??? right now I just have var sessionTimeout = 60;

<script language="javascript" type="text/javascript">
var sessionTimeout = "<%= Session.Timeout %>";
var sessionTimeoutWarning = parseInt(sessionTimeout) - 5;

var sTimeoutWarning = parseInt(sessionTimeoutWarning) * 60 * 1000;
var sTimeout = parseInt(sessionTimeout) * 60 * 1000;
setTimeout('SessionWarning()', sTimeoutWarning);
setTimeout('SessionTimeout()', sTimeout);

function SessionWarning() {
var current_time = new Date();
var message = "Your session will expire in another " +
(parseInt(sessionTimeout) - sessionTimeoutWarning) +
" mins! Please Save the data before the session expires. " + current_time.toTimeString();
alert(message);
}

function SessionTimeout() {
var message = "Your session has expired! Logon again!";
window.location = "../../../Eureka/Login.aspx";
alert(message);
}
</script>



<cc1:ExtendedTextBox CssClass="thinBorder" TabIndex="41" UseClientRegex="true"
MatchRegEx="^(((((0?[1-9]{1})|([1][012]))/(([012]?[1-9]{1})|([3][01])|[12][0]|[9]{2})|([9]{2}/[9]{2}))/((([1]{1}[089]{1})|([2]{1}[0-9]{1}))[0-9]{1}[0-9]{1}))|([9]{2}/[9]{2}/[9]{4})|([0]{2}/[0]{2}/[0]{4})){1}$"
RegexDescription="Date Required: mm/dd/yyyy" ID="txtDateOfAdmission" runat="server"
MaxLength="10" Width="153px" />


<cc2:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtDateOfAdmission">
</cc2:CalendarExtender>
Comments: sorry that was 2 jobs ago I no longer have access to the project. what is boils down too is "<%= Session.Timeout %>"; <% classic asp style is not usable try <#

Edited Issue: Ajax Control Toolkit slows down page display [8815]

$
0
0
I've noticed that using extenders from the AjaxToolkit alters the way pages are displayed. The display of pages that contain an extender results seems to be slower than other pages, or at least this is the impression it leaves in terms of user experience.

Here is a small test you can do to see what I mean:

1. Go to the AjaxToolkit home page
2. Click on items in the list of samples on the left
3. Pay attention to the way the page is displayed. Depending on how fast your system and internet connection are, you may see the page flash during the navigation or the background displayed for a while before the content arrives.
4. Now, click on the links in the Walkthroughs menu
5. The behavior is not the same. There is no delay or flash. The pages are displayed immediately.

Make the test with Firefox or Internet Explorer if you don't see the problem. The behavior may vary.

Does someone know if there is a way to avoid this problem? This behavior results in a negative user experience, which is something I don't wish for my sites...

Edited Issue: OnPreRender Problem with ModalPopupExtender [17122]

$
0
0
I have had a problem with the ModalPopupExtender that I couldn't work out. The error I was getting was very vague:

Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500

But I found that a load of people were getting this especially with the UpdatePanel. I'm not sure how many are related to this problem but when I went digging around in the JavaScript error trace I found the real source of the error:

[InvalidOperationException: Extender controls may not be registered before PreRender.]
System.Web.UI.ScriptControlManager.RegisterExtenderControl(TExtenderControl extenderControl, Control targetControl) +369
System.Web.UI.ScriptManager.RegisterExtenderControl(TExtenderControl extenderControl, Control targetControl) +104
System.Web.UI.ExtenderControl.RegisterWithScriptManager() +177
System.Web.UI.ExtenderControl.OnPreRender(EventArgs e) +17
AjaxControlToolkit.ExtenderControlBase.OnPreRender(EventArgs e) +44
AjaxControlToolkit.ModalPopupExtender.OnPreRender(EventArgs e) +71
System.Web.UI.Control.PreRenderRecursiveInternal() +86
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041

So, I compiled the AjaxControlToolKit in debug and what do you know? It breaks on the OnPreRender event. I think it's because the ChangeVisibility method registers a script before the OnPreRender base method is called.

To give you some background about how this error comes up:

I have an ObjectDataSource which calls a WCF method. I have a FormView control which has a custom control which has a ModalPopupExtender and the FormView points to said ObjectDataSource. When I call DataBind() on the FormView, I get the error mentioned.

Christian

Edited Issue: Rounded Corners & Set Focus [15180]

$
0
0
Pretty simple to recreate. Drop a panel, rounded corners extender and a text box on a form. Set the required properties to apply the rounded corners extender to the panel. In your code behind, lets say the page load event handler, throw in a this.SetFocus(this.TextBox1);.

When the page loads you see the text box has focus until the rounded corners get applied to the panel at which point in time the text box loses focus.

This previously fixed issue (Item # 9690) does not work now in version 11119.

Edited Issue: MultiHandleSlider doesn't work with Master Pages [20070]

$
0
0
I have a simple multi-handle slider that works fine on a web form page. If I try and use the same on a bare-bones Master Page, it only displays one handle, which isn't draggable, and the whole rail has the default blue background colour. Has anyone else experienced this issue?

Created Unassigned: Calendar Change Next Year [27900]

$
0
0
The year does not change when you click on the calendar header /months/years and select the __next__ year.
Example: in 2015 clicking on 2016 returns 2015.
Note: Issue Occus in ASP.NET AJAX Control Toolkit Demos v15.1.2

Created Unassigned: open vs2010 project to upgrade to vs2013 not toolkit not showing in toolbox [27901]

$
0
0
After I install toolkit.
If I create a new project in VS2013 then toolkit showing in tool box. But in the upgraded project from vs2010 the toolbox does not show toolkit.

Closed Issue: Tabcontainer ActiveTabChanged / Ajax Control Toolkit [27103]

$
0
0
With the latest AJAX Control toolkit and there seems to be an issue with Tabcontainers where the ActiveTabChanged event is firing everytime the page loads / inits.


The issue that I'm having with this is that I have a tabcontrol inside of an Accordion panel and when the page inits/loads the page throughs a javascript error
The exact error

htmlfile: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.that is being thrown in the _setFocus: function(obj) event from javascript.


Besides the error being thrown the rest of the page does not init properly.


I see over on the codeplex site a few posts about this event as well.

Is there any corrections that can be made to code that prevents this event from firing on each load or a way to modify the code so it realizes the tab panel is hidden at the time?

I will add that this page was originally developed and tested using a much older version of the ajax control (3.5.40412.0) which does not have this issue

Comments: Merged with [27813](https://ajaxcontroltoolkit.codeplex.com/workitem/27813)

Closed Issue: CollapsiblePanelExtender issue with MasterPage's ScriptManager in VS2012 [27344]

$
0
0
The new VS2012's default MasterPage design comes with a ScriptManager. I am unable to add a CollapsiblePanelExtender on to a web form because the CPE requires ToolkitScriptManager.
So then I thought, replace the ScriptManager in the MasterPage with ScriptManager, then this error came up:
_"Could not load file or assembly 'System.Web' or one of its dependencies. The system cannot find the file specified."_

When I try to use only one ScriptManager, excluding TSM(toolkit), then this error shows up: _"0x800a139e - Microsoft JScript 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."_

Then I tried with ScriptManagerProxy, and I get the same error as above. I'm find it a really hard time to try to add in CPE to my webpage. Does anyone here know what is going on? Is it a VS2012 compatability issue?

Here is the code of the ScriptManager on MasterPage:
```
<asp:ScriptManager runat="server">
<Scripts>
<%--Framework Scripts--%>
<asp:ScriptReference Name="MsAjaxBundle" />
<asp:ScriptReference Name="jquery" />
<asp:ScriptReference Name="jquery.ui.combined" />
<asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" />
<asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" />
<asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" />
<asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" />
<asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" />
<asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" />
<asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" />
<asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" />
<asp:ScriptReference Name="WebFormsBundle" />
<%--Site Scripts--%>

</Scripts>
</asp:ScriptManager>
```

Here is my code for the PanelExtender
```
<asp:ToolkitScriptManager ID="ToolkitScriptManager2" runat="server"></asp:ToolkitScriptManager>
<h3>We suggest the following:</h3>
<ol class="round">
<li class="one">
<asp:Panel ID="pnlRec" runat="server"><h5>Getting Started with Recreation</h5><br />
<asp:Label ID="lblMsg" runat="server" Text="Label"></asp:Label></asp:Panel>
<asp:Panel ID="cpnlRec" runat="server"><table><tr>
<td>Stuff</td><td>Stuff</td><td>Stuff</td>
</tr></table></asp:Panel>
<asp:CollapsiblePanelExtender ID="cpeRec" runat="server" CollapseControlID="cpnlRec" Collapsed="True"
ExpandControlID="cpnlRec" CollapsedText="Show" ExpandedText="Hide" TextLabelID="lblMsg" TargetControlID="cpnlRec">

</asp:CollapsiblePanelExtender>
```
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 Unassigned: 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'registerComponent' [27899]

$
0
0
Hi,
I have also upgraded to 15.1. And now I receive the following error: _“Unable to get property 'click' of undefined or null reference”_. Actually I can go further, but the CSS of my custom ajax extender doesn’t work. And I get the next error: _"0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'registerComponent_'". This referring to a line in my js-file of custom extender: “window.Sys.registerComponent(XXX.ContentCounterBehavior);”.

Please help, somebody! Thanks a lot.

Comments: Thanks for your comment MikhailTymchukDX! I don’t know if I can reproduce this error through a sample site. But I try to picture it: Before the upgrading to 15.1, I had the version 4.1 of ajax toolkit. Everything worked great. There are several custom made ajax-extenders which my site uses via a separate project. I used NuGet. I've got references: AjaxConrolToolkit, AjaxConrolToolkitHtmlEditorSanitizer and ajaxConrolToolkitStaticResources. But now all of my extenders gives the same errors. Below are a part of my files of Extender-Project: The CS file: using System.Web.UI; using System.Web.UI.WebControls; using AjaxControlToolkit; [assembly: WebResource("ContentCounter.ContentCounterBehavior.js","text/javascript")] [assembly: WebResource("ContentCounter.ContentCounterBehavior.debug.js","text/javascript")] [assembly: WebResource("ContentCounter.ContentCounterBehavior.css","text/css", PerformSubstitution = true)] namespace IPPControlExtenders { [RequiredScript(typeof(CommonToolkitScripts), 0)] [RequiredScript(typeof(PopupExtender), 1)] [ClientCssResource("ContentCounter.ContentCounterBehavior.css")] [ClientScriptResource("IPPControlExtenders.ContentCounterBehavior", "ContentCounter.ContentCounterBehavior")] [TargetControlType(typeof(TextBox))] public class ContentCounterExtender : AjaxControlToolkit.ExtenderControlBase { [ExtenderControlProperty] [RequiredProperty] public string CountOnly { get { return GetPropertyValue("CountOnly", "false"); } set { SetPropertyValue("CountOnly", value); } } [ExtenderControlProperty] [RequiredProperty] public string SuppressMaximum { get { return GetPropertyValue("SuppressMaximum", "false"); } set { SetPropertyValue("SuppressMaximum", value); } } } } The JS-file: (function () { var scriptName = "ContentCounterBehavior"; function execute() { window.Type.registerNamespace("IPPControlExtenders"); IPPControlExtenders.ContentCounterBehavior = function (element) { IPPControlExtenders.ContentCounterBehavior.initializeBase(this, [element]); this._textbox = window.Sys.Extended.UI.TextBoxWrapper.get_Wrapper(element); this._contentCounterBehavior = null; this._contentCounterPosition = window.Sys.Extended.UI.PositioningMode.BottomLeft; this._contentCounterDiv = null; this._countOnly = false; this._suppressMaximum = false; this._element$delegates = { focus: Function.createDelegate(this, this._element_onfocus), blur: Function.createDelegate(this, this._element_onblur), keyup: Function.createDelegate(this, this._element_onkeyup) }; }; IPPControlExtenders.ContentCounterBehavior.prototype = { initialize: function () { IPPControlExtenders.ContentCounterBehavior.callBaseMethod(this, 'initialize'); var element = this.get_element(); window.$addHandlers(element, this._element$delegates); }, _ensurePopup: function () { if (!this._contentCounterDiv) { var element = this.get_element(); var id = this.get_id(); this._contentCounterDiv = window.$common.createElementFromTemplate({ nodeName: "div", properties: { id: id + "_contentCounterDiv" }, cssClasses: ["ipp__contentCounter"] }, element.parentNode); this._contentCounterBehavior = new window.$create(window.Sys.Extended.UI.PopupBehavior, { parentElement: element }, {}, {}, this._contentCounterDiv); this._contentCounterBehavior.set_positioningMode(this._contentCounterPosition); } }, _displayCounter: function () { var elem = this.get_element(); if (elem.maxLength === 0x7FFFFFFF || elem.maxLength === 0x80000 || elem.maxLength === -1) { this._contentCounterDiv.innerHTML = elem.value.length; } else { if (this._countOnly === true) { if (this._suppressMaximum) this._contentCounterDiv.innerHTML = elem.value.length; else this._contentCounterDiv.innerHTML = elem.value.length + "/" + elem.maxLength; } else { if (this._suppressMaximum) this._contentCounterDiv.innerHTML = elem.maxLength - elem.value.length; else this._contentCounterDiv.innerHTML = elem.maxLength - elem.value.length + "/" + elem.maxLength; } } this.raisePropertyChanged("Text"); }, _element_onkeyup: function () { this._ensurePopup(); this._displayCounter(); }, _element_onfocus: function () { this._ensurePopup(); this.show(); this._displayCounter(); }, _element_onblur: function () { this.hide(); }, show: function () { if (this._contentCounterBehavior) { this._contentCounterBehavior.show(); } }, hide: function () { if (this._contentCounterBehavior) { this._contentCounterBehavior.hide(); } }, get_CountOnly: function () { return this._countOnly; }, set_CountOnly: function (value) { this._countOnly = value.toLowerCase() === 'true'; }, get_SuppressMaximum: function () { return this._suppressMaximum; }, set_SuppressMaximum: function (value) { this._suppressMaximum = value.toLowerCase() === 'true'; }, dispose: function () { var element = this.get_element(); window.$clearHandlers(element); if (this._contentCounterBehavior) { this._contentCounterBehavior.dispose(); this._contentCounterBehavior = null; } } }; IPPControlExtenders.ContentCounterBehavior.registerClass('IPPControlExtenders.ContentCounterBehavior', window.Sys.Extended.UI.BehaviorBase); window.Sys.registerComponent(IPPControlExtenders.ContentCounterBehavior); } if (window.Sys && window.Sys.loader) { window.Sys.loader.registerScript(scriptName, ["ExtendedBase", "ExtendedCommon"], execute); } else { execute(); } })(); The CSS file: .ipp__contentCounter { color: mediumblue; background-color: #d7e4f2; border: solid 1px mediumblue; padding: 2px 6px; font-family: Tahoma; font-size: 8pt; margin-top: 4px ; } And a part of the master page of my main project: <%@ Master Language="C#" AutoEventWireup="true" Inherits="MasterPage" CodeBehind="MasterPage.master.cs" %> <!DOCTYPE HTML> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title></title> <link rel="Stylesheet" href="~/App_Themes/Skins/ParkBase.css" type="text/css" /> <link rel="shortcut icon" href="favicon.ico" /> </head> <body id="masterBody" runat="server" style="background-color: black !important;"> <form id="formMain" name="formMain" runat="server" style="width: 1024px;"> <div class="divHiddenSection"> <asp:ScriptManager ID="scriptManager" runat="server" EnableScriptGlobalization="True" EnableHistory="true" EnablePartialRendering="true" EnablePageMethods="True" ScriptMode="Release" AsyncPostBackTimeout="300" > <Scripts> <asp:ScriptReference Path="~/Scripts/Master.js" /> <asp:ScriptReference Path="~/Scripts/MaskedEditFix.js" /> <asp:ScriptReference Path="~/Scripts/jquery-1.11.0.js" /> <asp:ScriptReference Path="~/Scripts/jquery-1.11.0.min.js" /> </Scripts> </asp:ScriptManager> </div> <table class="master-Table" > .... Thanks for your reply.

Commented Unassigned: Calendar Change Next Year [27900]

$
0
0
The year does not change when you click on the calendar header /months/years and select the __next__ year.
Example: in 2015 clicking on 2016 returns 2015.
Note: Issue Occus in ASP.NET AJAX Control Toolkit Demos v15.1.2

Comments: This is designed behavior. When a user selects any date in the calendar, an input field will not change a value until the date is fully defined. This means that a user needs to select a day in a particular month of a particular year to complete the process of selection and trigger value changing.

Closed Unassigned: Calendar Change Next Year [27900]

$
0
0
The year does not change when you click on the calendar header /months/years and select the __next__ year.
Example: in 2015 clicking on 2016 returns 2015.
Note: Issue Occus in ASP.NET AJAX Control Toolkit Demos v15.1.2

Created Unassigned: ModalPopupExtender gets hidden from any button [27902]

$
0
0
Any button inside a ModalPopupExtender hides the modal. It doesn't matter if the button is set as CancelControlID or OkControlID.

In the following example, both btnFoo and btnBar closes the modal.

```
<asp:UpdatePanel runat="server">
<ContentTemplate>
<asp:Button ID="btnOpen" runat="server" Text="Open" />
<cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server"
CancelControlID="btnModalCancel" OkControlID="btnModalOkay" TargetControlID="btnOpen"
PopupControlID="Panel1">
</cc1:ModalPopupExtender>

<asp:Panel ID="Panel1" Style="display: none" runat="server">
<asp:Button ID="btnModalCancel" runat="server" Text="Cancel" />
<asp:Button ID="btnModalOkayl" runat="server" Text="OK" />
<asp:Button ID="btnFoo" runat="server" Text="Foo" />
<asp:Button ID="btnBar" runat="server" Text="Bar" />
</asp:Panel>
</ContentTemplate>
</asp:UpdatePanel>



```

Commented Unassigned: 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'registerComponent' [27899]

$
0
0
Hi,
I have also upgraded to 15.1. And now I receive the following error: _“Unable to get property 'click' of undefined or null reference”_. Actually I can go further, but the CSS of my custom ajax extender doesn’t work. And I get the next error: _"0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'registerComponent_'". This referring to a line in my js-file of custom extender: “window.Sys.registerComponent(XXX.ContentCounterBehavior);”.

Please help, somebody! Thanks a lot.

Comments: This error occurs because your code refers to the old ASP.NET AJAX Control Toolkit code that was removed in v.15.1. You can remove the line: _window.Sys.registerComponent(IPPControlExtenders.ContentCounterBehavior);_ from your code. Thank you for your comments. We will update our migration guide accordingly.

Closed Unassigned: 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'registerComponent' [27899]

$
0
0
Hi,
I have also upgraded to 15.1. And now I receive the following error: _“Unable to get property 'click' of undefined or null reference”_. Actually I can go further, but the CSS of my custom ajax extender doesn’t work. And I get the next error: _"0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'registerComponent_'". This referring to a line in my js-file of custom extender: “window.Sys.registerComponent(XXX.ContentCounterBehavior);”.

Please help, somebody! Thanks a lot.

Viewing all 4356 articles
Browse latest View live


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