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

Commented Unassigned: Sys.WebForms.PageRequestManagerServerErrorException [27554]

$
0
0
I get the error belowe when ScriptMode is set to Release.

> Error: Sys.WebForms.PageRequestManagerServerErrorException: Script entries not loaded yet.

This error occurs on version 7.1002.0 and greater. In a page I am adding AccordionPanes programmatically, but it always shows that error.
Comments: ```ScriptMode="Release"``` did not enough, you should disable ___script combining feature___ by setting ToolkitScriptManager's ```CombineScripts="False"```.

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: To temporarily solve this issue, set ToolkitScriptManager's ```ScriptMode="Release"``` and ```CombineScripts="False"```.

Created Unassigned: error -: Could not find a part of the path 'C:\Users\pranaydutta89\AppData\Local\Temp\_AjaxFileUpload\517A44FD-349A-C31C-9E9A-63E833C3015A'. [27591]

$
0
0
Following error got on using ajax file upload ,i tried all the mentioned rectification ,like including handlers in web.config ,but still the issue persist

Commented Unassigned: Sys.WebForms.PageRequestManagerServerErrorException [27554]

$
0
0
I get the error belowe when ScriptMode is set to Release.

> Error: Sys.WebForms.PageRequestManagerServerErrorException: Script entries not loaded yet.

This error occurs on version 7.1002.0 and greater. In a page I am adding AccordionPanes programmatically, but it always shows that error.
Comments: Nice, so in other words - fix broken feature -> disable it? :-)

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: Please fix this issue, more sites don't work because of this !

Commented Issue: AsyncFileUpload is not working with coockiless session [27328]

$
0
0
AsyncFileUpload is not working with coockiless session as PostbackURL is going without appending session in URL. So, session_start event is getting execute when user trying to upload any document. Getting "server error" in response.

For now I have solved this problem by creating a dynamic postback url (protected variable in class file) and setting this dynamic URL for the control before starting the Upload but this should be handled in control itself.
Comments: I believe I am seeing this same problem with the latest version of this control (Oct 2013). The session is getting reset on file upload with cookieless sessions. Can you provide a code example of your workaround by chance? Thanks.

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 can confirm that applying the mentioned css is solving the issue: .imageUploaderField input{width:100%!important;} But nevertheless the issue needs to be fixed. Most developers will just not know what's going on....

Created Unassigned: ToolkitScriptManager/CombineScriptsHandler requires registration system.web/httpHandlers [27592]

$
0
0
According to documentation (http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ToolkitScriptManager/ToolkitScriptManager.aspx) I must register CombineScriptHandler using following code
```
<system.web>
<httpHandlers>
<!-- Using CombineCriptsHandler.axd as path of handler -->
<add verb="*" path="CombineScriptsHandler.axd"
type="AjaxControlToolkit.CombineScriptsHandler,
AjaxControlToolkit" />
</httpHandlers>
</system.web>

<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<!-- Using CombineCriptsHandler as name of handler -->
<add name="CombineScriptsHandler" verb="*"
path="CombineScriptsHandler.axd"
type="AjaxControlToolkit.CombineScriptsHandler,
AjaxControlToolkit" />
</handlers>
</system.webServer>
```
Specifically, the handler must be registered twice - in system.web/httpHandlers and in system.webServer/handlers. Using system.web/httpHandlers requires system.webServer/validation/@validateIntegratedModeConfiguration to be set to false.
This is really bad practice becase AjaxContrlToolkit requires me to use IIS6-style handler registration which is now obsolete and no longer supported, I I must tell IIS7 to ignore that obsolete way of registration (instead of throwing an exception).

I found workaround: Instead of polluting my we.config with obsotele IIS6-style handler registration I can set CombineScriptsHandlerUrl (in OnInit of my ToolkitScriptManager-derived class). But the property is obsolete and generates warning in C# compilation, which is also not good.

It would be good to either un-obsolete the CombineScriptsHandlerUrl property or remove the requirement to register the handler in IIS6's system.web/httpHandlers.

Edited Unassigned: ToolkitScriptManager/CombineScriptsHandler requires registration system.web/httpHandlers [27592]

$
0
0
According to documentation (http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ToolkitScriptManager/ToolkitScriptManager.aspx) I must register CombineScriptHandler using following code
```
<system.web>
<httpHandlers>
<!-- Using CombineCriptsHandler.axd as path of handler -->
<add verb="*" path="CombineScriptsHandler.axd"
type="AjaxControlToolkit.CombineScriptsHandler,
AjaxControlToolkit" />
</httpHandlers>
</system.web>

<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<!-- Using CombineCriptsHandler as name of handler -->
<add name="CombineScriptsHandler" verb="*"
path="CombineScriptsHandler.axd"
type="AjaxControlToolkit.CombineScriptsHandler,
AjaxControlToolkit" />
</handlers>
</system.webServer>
```
Specifically, the handler must be registered twice - in system.web/httpHandlers and in system.webServer/handlers. Using system.web/httpHandlers requires system.webServer/validation/@validateIntegratedModeConfiguration to be set to false.
This is really bad practice becase AjaxContrlToolkit requires me to use IIS6-style handler registration which is now obsolete and no longer supported, I I must tell IIS7 to ignore that obsolete way of registration (instead of throwing an exception).

I found workaround: Instead of polluting my web.config with obsotele IIS6-style handler registration I can set CombineScriptsHandlerUrl (in OnInit of my ToolkitScriptManager-derived class). But the property is obsolete and generates warning in C# compilation, which is also not good.

It would be good to either un-obsolete the CombineScriptsHandlerUrl property or remove the requirement to register the handler in IIS6's system.web/httpHandlers.

Commented Unassigned: error -: Could not find a part of the path 'C:\Users\pranaydutta89\AppData\Local\Temp\_AjaxFileUpload\517A44FD-349A-C31C-9E9A-63E833C3015A'. [27591]

$
0
0
Following error got on using ajax file upload ,i tried all the mentioned rectification ,like including handlers in web.config ,but still the issue persist
Comments: I also got this error with AJAX Control Toolkit .NET 3.5 but its not with AJAX Control Toolkit .NET 4.0 Try to use it

Commented Unassigned: AjaxFileUpload and IIS 8/Server 2012 R2 [27571]

$
0
0
I have been using AjaxFileUpload for several years. We just installed a new web server that has Server 2012. The AjaxFileUpload throws an unhandled exception when I make the call to SaveAs in the UploadComplete event. It works fine on my development box, but when I publish to the new server, it throws the error every time. Is anyone else having this issue? Anyone know of a resolution?
Comments: It may be because of Read Write Permission On server..Please Check and give sufficient permission Their

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: hi You may use Script manager try To use Toolkit Script Manager instead of it for UpdatePanel..........

Commented Unassigned: ajaxFileUpload hangs ie8 upon upload for every other (every odd) upload [27568]

$
0
0
AjaxControlToolkit FileVersion: 4.1.7.1005

I am not seeing why the ajaxFileUpload is hanging ie8 every odd numbered upload. Does anyone know what's going on?



I am using the Septembe 2013 release.

My web.config handlers:

<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
<add name="AjaxFileUploadHandler" verb="*"
path="AjaxFileUploadHandler.axd"
type="AjaxControlToolkit.AjaxFileUploadHandler,
AjaxControlToolkit"/>
</handlers>

and

<httpHandlers>
<add verb="*" path="AjaxFileUploadHandler.axd" type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit"/>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
</httpHandlers>



My page:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ajaxFileUploadPOC.aspx.cs" Inherits="ajaxFileUploadPOC" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<AjaxControlToolkit:ToolkitScriptManager ID="Manager1" runat="server" />
<AjaxControlToolkit:AjaxFileUpload ID="AjaxUpload" runat="server" OnUploadComplete="AjaxUpload_UploadComplete" />
</div>
</form>
</body>
</html>
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AjaxControlToolkit;

public partial class ajaxFileUploadPOC : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
}
}
protected void AjaxUpload_UploadComplete(object sender, AjaxControlToolkit.AjaxFileUploadEventArgs e)
{
string fileName = Path.GetFileName(e.FileName);
AjaxUpload.SaveAs(@"f:\Temp\" + fileName);
}
}

Steps to reproduce:

1) run in debug mode from Vstudio 2012

2) click the "Select" button and upload a jpg

3) click the button "Upload" button once the jpg is uploaded

4) the postback will happen, and the progress bar at the bottom of ie8 will crawl and not complete.



additional steps:

5) click "Select" again, and upload another jpg

6) click the Upload button and the jpg will be uploaded

7) the postback will happen and the progress bar at the bottom of ie8 will complete

8) repeat steps 5-6, where every odd iteration will have the ie8 progress bar crawl and not complete.



Thanks,

-Pete
Comments: specify MaximumNumberOfFiles="No Of Files as you wish" like MaximumNumberOfFiles=10 try it

Commented Unassigned: AjaxFileUpload error [27561]

$
0
0
I'm having issues with the file upload & Image upload (In the htmlEditorExtender). I'm using .Net 4.5 and the latest AjaxControlTools (7.1005 - Sept 2013.) - IIS 6

Apparently I need to a add the following to the web.config file:
<httpHandlers>
<add verb="*" path="AjaxFileUploadHandler.axd" type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit"/>
</httpHandlers>

But when I do, the entire site breaks and I get the following error:
500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.

I appreciate any help.


Comments: I think II6 does not support .Net 4.5 http://stackoverflow.com/questions/11935534/iis6-and-net-4-5

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: i'have same problem

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: Yes, I used Toolkit Script Manager not Script manager

Commented 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
Comments: I have also have this problem.

Commented Unassigned: Multiple image upload using html editor extender control [27566]

$
0
0
Hi,

I am using insert image option of html editor extender. It is working perfectly when i upload single image at a time. But when i select multiple images(More than one) for uploading and click on upload, it doesn't allow to upload last image. It shows status as pending for last image however all other images get uploaded successfully.

Has any one faced this issue and is there any workaround for this issue.

Regards,
Sunil

Comments: I have also experienced this issue.

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: The unobtrusive validation setting fix within the Web.Config worked for me with this issue. Thanks so much for the assistance!

Commented Unassigned: 4.1.7.1002 always loads jQuery 1.9.1 [27539]

$
0
0
I downloaded September 2013 AjaxControlToolkit 4.1.7.1002 with NuGet today, upgrading from the September 2013 release in an existing project. Immediately, calls to the jQuery UI methods stopped working. For example, “Object doesn't support property or method 'accordion'.”

I upgraded to jQuery 1.10.2 and jQuery UI 1.10.3 and the problem persisted.

After constructing a simple test project for an example (attached), I found that an older version of jQuery is being loaded (1.9.1) and the jQuery UI appears to have been unloaded or inaccessible. It’s really unclear where jQuery 1.9.1 is coming from, since I don’t have a copy of that version in my test project at all, and a search doesn’t turn up any references to it.

Here are two specific anomalies in the test project:

1. When jQuery 1.10.2 is loaded by the ToolkitScriptManager <Script> section, a test in the code shows that 1.9.1 is the actual version loaded. (I examine “version=jQuery().jquery” to find the version.)

2. If I remove the ToolkitScriptManager reference to loading jQuery 1.10.2, 1.9.1 _still_ gets loaded by magic.

It looks like AjaxControlToolkit is loading jQuery 1.9.1 regardless of what I intended to load. Whatever is doing this may also be conflicting with the jQuery UI code that should have been loaded.

Testing is on Windows 7 Pro, Visual Studio 2012, IE 10 and Firefox 24.0.

Comments: I don't think it's fixed. I've downloaded and built lates version of ajaxControlToolkit and quick test in Chrome console shows $ === jQuery returns false
Viewing all 4356 articles
Browse latest View live


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