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

Commented Unassigned: Updatepanel does not work on Chrome 31 using v7.1005 [27575]

$
0
0
ajax update panel does not work on chrome 31, the page flicks using current version toolkit library. but works well using verson 4.1.7.429
Comments: as well as safari

Commented Unassigned: HtmlEditorExtender Causing Javascript Error on IE 11 [27547]

$
0
0
This happens on IE 11 only so far (OS=windows 8.1). When you make the textbox visible to false, it causes javascript error. Please fix this bug. (sample attached).
Comments: Thanks Kiwiant, I've the same problem and your workaround works.

Commented Unassigned: ValidatorCalloutExtender [27564]

$
0
0
I previously had multiple ValidatorCalloutExtenders targeting several RequiredFileValidators working correctly within my application.

I re-installed the latest version of the AjaxControlToolkit and now none of them are firing properly.

I have several other toolkit controls that work perfectly fine, but it appears the ValidatorCalloutExtendor is the only one not being displayed. I can also see the required field validator is working properly because the for will not submit as would be expected when the field is empty.

Here is a sample of one of the controls in question:

```
<asp:RequiredFieldValidator ID="RequiredLogin" runat="server" ErrorMessage="***Please enter a Login" ControlToValidate="txtUserLogin" ValidationGroup="UserLogin" CssClass="validationControl" Display="None"></asp:RequiredFieldValidator>
<ajax:ValidatorCalloutExtender ID="RequiredLogin_ValidatorCalloutExtender" runat="server" Enabled="True" TargetControlID="RequiredLogin" >
</ajax:ValidatorCalloutExtender>
```

I have looked across the internet and am at a loss as to why this is happening. Any help you can provide would be greatly appreciated.

Thanks!

Sean

Comments: Same problem here. I think it has something to do with the new __unobtrusive validation__ in ASP.NET 4.5. When turned off, the callout extender works as expected. When turned on, the validator still works, but the callout extender does not show.

Created Unassigned: Reorder list not working with long lists with 3.5 [27576]

$
0
0
The fix which was done a few years ago appears to have been applied in .Net4 but not 3.5. Please can the 3.5 version be updated so that reorder works with long lists?

You have to change a line in Reorderlist\DropWatcherBehavior.js

line 137:

Old: if (oldOffset.x !== newOffset.x || oldOffset.y !== newOffset.y) {

New: if (oldOffset.x < newOffset.x || oldOffset.y < newOffset.y) {

Created Unassigned: 'WebForm_DoPostBackWithOptions' is undefined error in IE11 [27577]

$
0
0
Dear all,

I deployed a web application which has Ajax toolkit like tabs, update panel etc. It works fine in IE 10 ,Google chrome etc. but its not working in IE11. Tabs , Calendar click and all Ajax features is not completely working in IE11. I have .NET framework 4.5. When i run it in local host it works but whereas after I deploy to the server it's not working. For some users it shows as 'WebForm_DoPostBackWithOptions' is undefined error. Please let me know the solution for the same.

Thanks

Created Unassigned: "Value cannot be null. Parameter name: value" when using CombineScriptsHandler.axd [27578]

$
0
0
Hi,

I've enabled CombineScriptsHandler.axd as mentioned in the link below.

http://www.asp.net/AjaxLibrary/AjaxControlToolkitSampleSite/ToolkitScriptManager/ToolkitScriptManager.aspx

The handler is working as expected but sometimes it throws the following exception...

Message: "Value cannot be null. Parameter name: value"
Source: mscorlib
TargetSite: Boolean Parse(System.String) Stack Trace: at System.Boolean.Parse(String value) at AjaxControlToolkit.ToolkitScriptManagerCombiner.OutputCombinedScriptFile(HttpContextBase context) at AjaxControlToolkit.CombineScriptsHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Any suggestions?

Thanks

Commented Issue: HTMLEditorExtender CSS Issues [27009]

$
0
0
Hello,

Issue #1 Display None
Note - This only occurs in Internet Explorer 8 to my knowledge. This does NOT occur in Internet Explorer 9 utilizing compatibility mode to view the page in Internet Explorer 8.

I believe I've recently found an issue with using the HTMLEditorExtender control. It would seem as the display none css attribute, displayed below, causes a javascript error to occur.

display:none;

When this is used on a container around the control and a partial postback occurs, this javascript error is thrown: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.

I know that this is a problem if this control is used in a jQueryUI modal, but I also believe that this is an issue with a CollapsiblePanelExtender when it is collapsed.

Issue #2 Width
The second issue seems to come when the HTMLEditorExtender is placed in a jQueryUI modal, and I've seen another help issue found here showing that it also occurs on the ModalPopupExtender:
http://ajaxcontroltoolkit.codeplex.com/workitem/26995

What happens is the HTMLEditorExtender sets a page-level style attribute to its container with these attributes:
width: 0;
height: 0;

This, to my knowledge is what is causing the control to be extremely narrow inside the modal. Using the CSS provided below fixes the issue, but it is very messy and involves the use of the !important keyword that I try to avoid in my stylesheets. I had to first wrap the textbox and HTMLEditorExtender in a div, and apply a class to it. For the intents of this, I'll just call that class "fix".

.fix > div
{
height:inherit !important;
width:inherit !important;
}

.fix > div > .ajax__html_editor_extender_texteditor
{
height:200px!important;
}

Thank you,
-Anthony
Comments: Hi All, I tried this script in my page, <script type="text/javascript"> Sys.Extended.UI.HtmlEditorExtenderBehavior.prototype._editableDiv_submit = function() { //html encode var char = 3; var sel = null; try { this._editableDiv.focus(); } catch(e) { } if (Sys.Browser.agent != Sys.Browser.Firefox) { if (document.selection) { sel = document.selection.createRange(); sel.moveStart('character', char); sel.select(); } else { sel = window.getSelection(); sel.collapse(this._editableDiv.firstChild, char); } } //Encode html tags this._textbox._element.value = this._encodeHtml(); }; </script> but i'm getting error in sel.collapse(this._editableDiv.firstChild, char); as 0x80070057 - JavaScript runtime error: Invalid argument. Please suggest me.....

Commented Unassigned: HtmlEditorExtender Causing Javascript Error on IE 11 [27547]

$
0
0
This happens on IE 11 only so far (OS=windows 8.1). When you make the textbox visible to false, it causes javascript error. Please fix this bug. (sample attached).
Comments: Hi kiwiant , I tried this <meta http-equiv="X-UA-Compatible" content="IE=10,chrome=1" /> method, but i am still getting the same..!!

Commented Unassigned: ValidatorCalloutExtender [27564]

$
0
0
I previously had multiple ValidatorCalloutExtenders targeting several RequiredFileValidators working correctly within my application.

I re-installed the latest version of the AjaxControlToolkit and now none of them are firing properly.

I have several other toolkit controls that work perfectly fine, but it appears the ValidatorCalloutExtendor is the only one not being displayed. I can also see the required field validator is working properly because the for will not submit as would be expected when the field is empty.

Here is a sample of one of the controls in question:

```
<asp:RequiredFieldValidator ID="RequiredLogin" runat="server" ErrorMessage="***Please enter a Login" ControlToValidate="txtUserLogin" ValidationGroup="UserLogin" CssClass="validationControl" Display="None"></asp:RequiredFieldValidator>
<ajax:ValidatorCalloutExtender ID="RequiredLogin_ValidatorCalloutExtender" runat="server" Enabled="True" TargetControlID="RequiredLogin" >
</ajax:ValidatorCalloutExtender>
```

I have looked across the internet and am at a loss as to why this is happening. Any help you can provide would be greatly appreciated.

Thanks!

Sean

Comments: I turned off Unobtrusive Behavior in web.config (and then again on the page just to be sure) and still it was not working. But it's happening on a new site under 4.5 framework

Commented Unassigned: Toolkit with AjaxMin 5.2 breaks VS2012 Data Sources [27567]

$
0
0
When the Sep 2013 toolkit is installed using NuGet, it also installs AjaxMin v4.97. Everything in my project works normally. In particular, the VS2012 report designer (for RDLC files) lets me add a new DataSet to any report, and displays all of my business object data sources as expected.

Next, if I rerun NuGet, it wants to upgrade AjaxMin to v5.2. If I do, then my project is broken in a very odd way: In the report designer, adding a DataSet doesn’t show any of my business object data sources. Instead, the Data Source Configuration Wizard pops up to help me create a data source from scratch.

This is a mature project and has been working for a long time. I spent a couple of days trying to isolate the problem and reduce the test procedure as much as possible. My conclusion is that AjaxMin v5.2 causes this problem. This is true if I install v5.2 via NuGet or if I download and install it manually.

Is there any known incompatibility between the toolkit and the newer version of AjaxMin?

Comments: I had the same issue with VS2010. If I use version 4.97 of the AjaxMin my project builds and runs fine. However updating AjaxMin to the latest version (5.2) causes the application to fail when ran. However it will build and publish with no errors. The error I recieve when trying to run the application with the latest version of the Ajax Minifier is: "Could not load file or assembly 'AjaxMin, Version=4.97.4951.28478..." It appears that the 4.1.7.1005 version of the Ajax Control Toolkit while it says it requires version >= 4.97.4951.28483 it really means ==.

Created Unassigned: error locating ToolkitScriptManager [27579]

$
0
0
I am using c# 4.0 and I have a page with ModalPopUpExtender and HTMLEditorExtender
when the execution reaches the end of the Page_Load of the master page I get this error:

Locating source for 'f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs'. Checksum: MD5 {da 88 3a 9f 11 fc 1f 88 7f 32 d6 44 ff a 4f b7}
The file 'f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs' does not exist.
Looking in script documents for 'f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs'...
Looking in the projects for 'f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs'.
The file was not found in a project.
Looking in directory 'C:\Program Files\Microsoft Visual Studio 10.0\VC\crt\src\'...
Looking in directory 'C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\src\mfc\'...
Looking in directory 'C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\src\atl\'...
Looking in directory 'C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\include\'...
The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs.
The debugger could not locate the source file 'f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs'.

Created 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

Created Unassigned: AutoExtender in July/Sept 2013 Toolkit not working [27581]

$
0
0
The AutoCompleteExtender in the July and September 2013 toolkits always throw this error when the page first opens:

Microsoft JScript runtime error: 'Sys.Extended.UI' is null or not an object

I don't think it's my code because that works fine with older toolkits.

Thanks in advance for any insight or fix.

Commented Unassigned: 'WebForm_DoPostBackWithOptions' is undefined error in IE11 [27577]

$
0
0
Dear all,

I deployed a web application which has Ajax toolkit like tabs, update panel etc. It works fine in IE 10 ,Google chrome etc. but its not working in IE11. Tabs , Calendar click and all Ajax features is not completely working in IE11. I have .NET framework 4.5. When i run it in local host it works but whereas after I deploy to the server it's not working. For some users it shows as 'WebForm_DoPostBackWithOptions' is undefined error. Please let me know the solution for the same.

Thanks

Comments: Same problem for me in Internet Explorer 11. The modalpopup isn't working. I already installed .net Framework 4.5.1. But this didn't fix my problem. Everything is working fine in Internet Explorer 10.

Created Unassigned: MaskedEditExtender Automcomplete Problem [27582]

$
0
0
i have a MaskedEditExtender assigned to a text box to control the input of date/times..

i have it set to autocomplete but when i enter the following dates (below) the "time" element isnt being set to the clock anymore it is putting in a time based on the date i have entered, eg:

01/11/2011 and then tab out of the edit i then get 01/11/2011 01:11:20
04/052011 and then tab out of the edit i then get 04/05/2011 04:05:00

anyone any ideas...?

Thanks
Dave

Commented Unassigned: HtmlEditorExtender Causing Javascript Error on IE 11 [27547]

$
0
0
This happens on IE 11 only so far (OS=windows 8.1). When you make the textbox visible to false, it causes javascript error. Please fix this bug. (sample attached).
Comments: Hello, I have the same problem with the HTMLExtender. De debugger goes to this line. b.collapse(this._editableDiv.firstChild,c) Other linkbuttons on this page won't work. The HtmlExtender is within a UpdatePanel. I tried the <meta http-equiv="X-UA-Compatible" content="IE=10,chrome=1" /> method, but this didn't work. If I set the HtmlExtender DisplaySourceTab="true" everything is working. But I don't want to allow my clients to use the html-source. Any suggestions?

Commented Unassigned: 'WebForm_DoPostBackWithOptions' is undefined error in IE11 [27577]

$
0
0
Dear all,

I deployed a web application which has Ajax toolkit like tabs, update panel etc. It works fine in IE 10 ,Google chrome etc. but its not working in IE11. Tabs , Calendar click and all Ajax features is not completely working in IE11. I have .NET framework 4.5. When i run it in local host it works but whereas after I deploy to the server it's not working. For some users it shows as 'WebForm_DoPostBackWithOptions' is undefined error. Please let me know the solution for the same.

Thanks

Comments: My mistake. My problem wasn't caused by the modalpopup, but by the HtmlExtender. [See this thread](https://ajaxcontroltoolkit.codeplex.com/workitem/27547)

Commented Unassigned: HtmlEditorExtender Causing Javascript Error on IE 11 [27547]

$
0
0
This happens on IE 11 only so far (OS=windows 8.1). When you make the textbox visible to false, it causes javascript error. Please fix this bug. (sample attached).
Comments: <meta http-equiv="X-UA-Compatible" content="IE=10,chrome=1" /> is working for me. I guess through caching it wasn't working earlier. The DisplaySourceTab setting has no influence.... Thx for the workaround.

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: Big issue

Created Unassigned: cannot do postback with HtmlEditorExtender ith 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
Viewing all 4356 articles
Browse latest View live


Latest Images

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