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

Edited Unassigned: cannot do postback with HtmlEditorExtender and ie11 [27583]

$
0
0
Found a postback problem because of the JavaScript runtime error: Invalid argument in the _editableDiv_submit of the htmleditor when using internet explorer 11.

The page didn't postback with ie11 and the htmleditor together because it found a problem in sel.collapse(this._editableDiv.firstChild, char) of the _editableDiv_submit

because didn't have much time I decided to temporary fix the function with the below:

if (!!navigator.userAgent.match(/Trident\/7\./) && Sys.Extended && Sys.Extended.UI && Sys.Extended.UI.HtmlEditorExtenderBehavior &&
Sys.Extended.UI.HtmlEditorExtenderBehavior.prototype && Sys.Extended.UI.HtmlEditorExtenderBehavior.prototype._editableDiv_submit) {
Sys.Extended.UI.HtmlEditorExtenderBehavior.prototype._editableDiv_submit = function () {
var char = 3;
var sel = null;
setTimeout(function () {
if (this._editableDiv != null)
this._editableDiv.focus();
}, 0);
this._textbox._element.value = this._encodeHtml();
};
}

Regards,
WinSaaS

Created Unassigned: Need source code of the Ajaxtoolkit version 3.5.60501.0 [27584]

$
0
0
Hi,

We are facing a vulnerability (Missing XML Validation) in Ajaxtoolkit form (Animation.cs) that the input is not been validated properly,which was identified by HPFortify tool.

So we need to look on the code. So
can we get source code for the Ajaxtoolkit version 3.5.60501.0 ?

Thanks in advance.

Thanks,
Jeyachandran S

Created Unassigned: ClientScriptResource not loading scripts. [27585]

$
0
0
Hi,

I have created some custom controls using ExtenderBase. Everything seems to be working fine with the old library (4.1.60501). Recently i have updated the ajaxcaontroltoolkit (4.1.7005) using Nuget. All my custom controls seems to be failing. I am trying to resolve from 3-4 days, had no success. Is there anyone who is facing the same problem. I would like to know if you have found any solutions for the issue.

Thank you,



Created Unassigned: Ajax Control Toolkit issue with .NET 4.5 installed [27586]

$
0
0
I have an old .NET 40 VS 2010 project that uses the Ajax Control Toolkit. I have .NET 4.5 installed on my pc. I want to leave this old project targeting .NET 40, but it won't compile because I have .NET 4.5 installed on my pc. Do I have to uninstall .NET 4.5, or is there a work around to avoid this error?

Error
The type or namespace name 'AjaxControlToolkit' could not be found in the global namespace (are you missing an assembly reference?)

Also there is a warning:
Warning
The primary reference "AjaxControlToolkit, Version=4.1.60919.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0".

Created Unassigned: AjaxFileUpload black box [27587]

$
0
0
Hi there,
im using DotNetNuke: 07.01.02 (356)
I want to implement AjaxFileUpload control so in my ascx file i add lines:
```
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxToolKit" %>

<ajaxToolkit:AjaxFileUpload ID="AjaxFileUpload1" AllowedFileTypes="jpg,jpeg" MaximumNumberOfFiles=1 runat="server"/>
```

and ofcourse i added ajaxcontroltoolkit.dll to resources in my project. In my web.config added this line (working on IIS7.5):

<system.webServer>
....
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="AjaxFileUploadHandler" verb="*"
path="AjaxFileUploadHandler.axd"
type="AjaxControlToolkit.AjaxFileUploadHandler,
AjaxControlToolkit"/>
</handlers>
</system.webServer>

But everything i see is only black button inside border, nothing else :/ maybe im doing something wrong ? pls help me, im frustrated :D

Edited Unassigned: AjaxFileUpload - only black button [27587]

$
0
0
Hi there,
im using DotNetNuke: 07.01.02 (356) and newest AjaxControlToolKit: September 2013 Release
I want to implement AjaxFileUpload control so in my ascx file i add lines:
```
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxToolKit" %>

<ajaxToolkit:AjaxFileUpload ID="AjaxFileUpload1" AllowedFileTypes="jpg,jpeg" MaximumNumberOfFiles=1 runat="server"/>
```

and ofcourse i added ajaxcontroltoolkit.dll to resources in my project. In my web.config added this line (working on IIS7.5):

<system.webServer>
....
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="AjaxFileUploadHandler" verb="*"
path="AjaxFileUploadHandler.axd"
type="AjaxControlToolkit.AjaxFileUploadHandler,
AjaxControlToolkit"/>
</handlers>
</system.webServer>

But everything i see is only black button inside border, nothing else :/ maybe im doing something wrong ? pls help me, im frustrated :D

Commented Unassigned: Exception type: OperationCanceledException Exception message: Script entries not loaded yet. [27572]

$
0
0
Exception is thrown in latest release 4.5.7.1005 when __doPostBack is called from javascript in Release mode. But if you set your site to Debug mode, no issues

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 11/17/2013 4:56:12 PM
Event time (UTC): 11/18/2013 12:56:12 AM
Event ID: 4fb8094368dc4f35a02efb1410433093
Event sequence: 11
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/5/ROOT-13-130292091614732049
Trust level: Full
Application Virtual Path: /
Application Path: X:\Apps\Viaway\111613\Portal2\
Machine name: VS01_VIAWAY2012

Process information:
Process ID: 9476
Process name: w3wp.exe
Account name: IIS APPPOOL\Site

Exception information:
Exception type: OperationCanceledException
Exception message: Script entries not loaded yet.
at AjaxControlToolkit.ToolkitScriptManagerCombiner.IsScriptRegistered(ScriptReference scriptReference)
at AjaxControlToolkit.ToolkitScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs e)
at System.Web.UI.ScriptManager.RegisterScripts()
at System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)



Thread information:
Thread ID: 71
Thread account name: IIS APPPOOL\Site
Is impersonating: False
Stack trace: at AjaxControlToolkit.ToolkitScriptManagerCombiner.IsScriptRegistered(ScriptReference scriptReference)
at AjaxControlToolkit.ToolkitScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs e)
at System.Web.UI.ScriptManager.RegisterScripts()
at System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details:

Comments: I am running the september build of AjaxControlToolkit, .NET 4.5, IIS 7.5 developing using VS 2012 Ultimate. And I am having the same issues, thankfully it is not an important application this time. And hopefully this bug will be resolved prior to me having to publish one. Basically deploying it in debug mode for now to bypass the problem. Hopefully this issue will be resolved in a fairly reasonable timeframe!

Created Unassigned: Backspace & Delete no longer work in Masked Edit Extender with FF 25.0.1 [27588]

$
0
0
Using a pre version 25 of FireFox the Masked Edit Extender would allow backspaces and deletes. In the specified version of FireFox this no longer works.

This can be reproduced by simply adding a textbox and a Masked Edit Extender to a page. After typing valid characters, attempt to backspace or delete them. Nothing happens.

In firebug no errors are thrown within FireFox. IE8 and Chrome still work correctly.

Since this has surfaced after updating FireFox it obviously has been caused by a change there, however this could signify that how invalid keys are being trapped does not meet standards moving forward.

Thanks


Commented Unassigned: backspace with maskededitbehavior [27580]

$
0
0
Hi,
We are using maskededitbehavior control for required field validation for Textbox and text area.

It works perfectly for atextbox. However, in case of a text area, the backspace button does not delete any blank line. Even a delete does not delete a line.



Please help me.

Thanks
-Sonia
Comments: Possibly related to: https://ajaxcontroltoolkit.codeplex.com/workitem/27588

Commented Unassigned: Backspace & Delete no longer work in Masked Edit Extender with FF 25.0.1 [27588]

$
0
0
Using a pre version 25 of FireFox the Masked Edit Extender would allow backspaces and deletes. In the specified version of FireFox this no longer works.

This can be reproduced by simply adding a textbox and a Masked Edit Extender to a page. After typing valid characters, attempt to backspace or delete them. Nothing happens.

In firebug no errors are thrown within FireFox. IE8 and Chrome still work correctly.

Since this has surfaced after updating FireFox it obviously has been caused by a change there, however this could signify that how invalid keys are being trapped does not meet standards moving forward.

Thanks

Comments: Possibly related to: https://ajaxcontroltoolkit.codeplex.com/workitem/27580

Commented Issue: AsyncFileUpload control - script not responding in FireFox when width property set [26687]

$
0
0
(originally reported by alansingfield)

If you have an AsyncFileUpload control within a <DIV> that constrains its width, and set the Width attribute of the control to wider than its container, the script never completes in Firefox.

<div style="width:100px">
<asp:AsyncFileUpload runat="server" Width="1000px"/>
</div>

The problem is caused by this part of the script:

_app_onload: function(sender, e) {
...
if (Sys.Browser.agent == Sys.Browser.Firefox) {
this._inputFile.size = 0;
var width = this._inputFile.offsetWidth;
this._inputFile.style.width = "";
while (this._inputFile.offsetWidth < width) {
this._inputFile.size++;

The final while() loop never terminates.

I suggest that a sanity check is put in there - if the offsetWidth does not change value after incrementing size, the loop should terminate.

Alan Singfield.
Comments: I have the same problem.... when i have a page with an AsyncFileUpload i obtain script error and infinite loop in firefox... It happen (in my observation) from version 25, before of this i never seen this error... It not happen with Chrome.... I use .NET Framework 4.0 Someone have a solution for this problem ?? Please, i have to solve because of insoddisfaction request from who use my works.... ...if someone have a solution could write me please ?

Commented Unassigned: AsyncFileUpload with Firefox 22.0b1 script busy [27429]

$
0
0
I always test my sites with beta versions of firefox, this week Firefox 22.0b1 was released and the AsyncFileUpload started to generate a "script busy" message and it is not working anymore:


> Script: http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/CombineScriptsHandler.ashx?_TSM_HiddenField_=ctl00_SampleContent_ScriptManager1_HiddenField&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.7.123%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen%3a608fa982-dded-4326-bfe7-b13cdd701e9a%3ade1feab2%3af9cec9bc%3ae4bd8421%3af2c8e708%3a720a52bf%3a4a2c8239:12

Actually you can go the AjaxControlToolkit example to see the error (of course, if you have installed Firefox 22.0b1)
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AsyncFileUpload/AsyncFileUpload.aspx

I removed the width and set the type to Traditional according to some solutions, but it did not work... and I installed the last version of the toolkit (April 2013).

With previous Firefox versions, the control works fine.

Any help is appreciated.
Thanks
Comments: I have the same problem with firefox version 25.0.1 .... Someone have a final solution please ??

Commented Unassigned: Sys.WebForms.PageRequestManagerServerErrorException: Script entries not loaded yet [27517]

$
0
0
I'm working on a .NET 4 Web site running on IIS 5.1 and use Ajax Control Toolkit 4.1.7.725 (July 2013).

A Sys.WebForms.PageRequestManagerServerErrorException exception is thrown after a period of inactivity (or a forced iisreset) and clicking a server Button in a custom control. The Button is inside an UpdatePanel and the latter is inside a TabContainer.

POST response:
> 30|error|500|Script entries not loaded yet.|

` `
Exception message:
> Script entries not loaded yet.

` `
The exception is not thrown if I use Ajax Control Toolkit 4.1.7.607 (June 2013).
Comments: This bug dont have yet any solution? Its true that happen when the site is on Release mode and Combine scripts

Commented Issue: AsyncFileUpload control - script not responding in FireFox when width property set [26687]

$
0
0
(originally reported by alansingfield)

If you have an AsyncFileUpload control within a <DIV> that constrains its width, and set the Width attribute of the control to wider than its container, the script never completes in Firefox.

<div style="width:100px">
<asp:AsyncFileUpload runat="server" Width="1000px"/>
</div>

The problem is caused by this part of the script:

_app_onload: function(sender, e) {
...
if (Sys.Browser.agent == Sys.Browser.Firefox) {
this._inputFile.size = 0;
var width = this._inputFile.offsetWidth;
this._inputFile.style.width = "";
while (this._inputFile.offsetWidth < width) {
this._inputFile.size++;

The final while() loop never terminates.

I suggest that a sanity check is put in there - if the offsetWidth does not change value after incrementing size, the loop should terminate.

Alan Singfield.
Comments: We're investigating it now...

Created Unassigned: Visual Studio 2013 MaskedEditValidator not validating dates properly [27589]

$
0
0
When validating, 01/05/2013 is a valid date where 01/13/2013 is not a valid date.
Code:
<asp:Label runat="server" AssociatedControlID="ShowEndDate" CssClass="col-md-6 control-label">Show end date</asp:Label>
<div class="col-md-6">
<asp:TextBox runat="server" ID="ShowEndDate" CssClass="form-control"/><ajaxtoolkit:calendarextender
TargetControlID="ShowEndDate"
runat="server" />
<ajaxtoolkit:maskededitextender ID="MaskedEditExtender3" runat="server"
TargetControlID="ShowEndDate"
Mask="99/99/9999"
MessageValidatorTip="true"
OnFocusCssClass="MaskedEditFocus"
OnInvalidCssClass="MaskedEditError"
MaskType="Date"
PromptCharacter="_"
CultureName = "en-GB"
ErrorTooltipEnabled="True" UserDateFormat="DayMonthYear" />
&nbsp;&nbsp;

Commented Unassigned: Backspace & Delete no longer work in Masked Edit Extender with FF 25.0.1 [27588]

$
0
0
Using a pre version 25 of FireFox the Masked Edit Extender would allow backspaces and deletes. In the specified version of FireFox this no longer works.

This can be reproduced by simply adding a textbox and a Masked Edit Extender to a page. After typing valid characters, attempt to backspace or delete them. Nothing happens.

In firebug no errors are thrown within FireFox. IE8 and Chrome still work correctly.

Since this has surfaced after updating FireFox it obviously has been caused by a change there, however this could signify that how invalid keys are being trapped does not meet standards moving forward.

Thanks

Comments: Hi Dilbert, I doubt if they are related. In my case, the backspace and delete work except for one scenario. When the bacspace or delete has to remove a new line character.

Commented Unassigned: backspace with maskededitbehavior [27580]

$
0
0
Hi,
We are using maskededitbehavior control for required field validation for Textbox and text area.

It works perfectly for atextbox. However, in case of a text area, the backspace button does not delete any blank line. Even a delete does not delete a line.



Please help me.

Thanks
-Sonia
Comments: Hi Dilbert, I doubt if they are related. In my case, the backspace and delete work except for one scenario. When the bacspace or delete has to remove a new line character

Commented Issue: JS error with MaskedEditValidator's ClientValidationFunction property [26740]

$
0
0
I am getting the following error if I set the ClientValidationFunction property for the MaskedEditValidator.

Microsoft JScript runtime error: 'value' is undefined

The work around is to turn off the minified script by using the following
<ajaxToolkit:ToolkitScriptManager runat="server" ID="ScriptManager1" CombineScripts="false" />
Comments: This still hasn't been fixed in 3.5.7.1005. Come on, people.

Created Unassigned: 'actJQuery' is not defined [27590]

$
0
0
Hi,

I just upgraded my Ajax control tool kit to the latest versión (September 2013 Release) and started having this JavaScript runtime errors.

__'actJQuery' is not defined__

And:

__couldn't obtain property 'mozilla'__

Any ideas on whats causing this? Thank you

im using VS 2010 and framework 4.0

Commented Unassigned: AsyncFileUpload with Firefox 22.0b1 script busy [27429]

$
0
0
I always test my sites with beta versions of firefox, this week Firefox 22.0b1 was released and the AsyncFileUpload started to generate a "script busy" message and it is not working anymore:


> Script: http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/CombineScriptsHandler.ashx?_TSM_HiddenField_=ctl00_SampleContent_ScriptManager1_HiddenField&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.7.123%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen%3a608fa982-dded-4326-bfe7-b13cdd701e9a%3ade1feab2%3af9cec9bc%3ae4bd8421%3af2c8e708%3a720a52bf%3a4a2c8239:12

Actually you can go the AjaxControlToolkit example to see the error (of course, if you have installed Firefox 22.0b1)
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AsyncFileUpload/AsyncFileUpload.aspx

I removed the width and set the type to Traditional according to some solutions, but it did not work... and I installed the last version of the toolkit (April 2013).

With previous Firefox versions, the control works fine.

Any help is appreciated.
Thanks
Comments: I do not understand why this issue is not getting fixed! This does not seem very hard to fix... But perhaps I'm missing something.
Viewing all 4356 articles
Browse latest View live


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