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

Closed Unassigned: Ajaxfileupload_uploadcomplete not firing [27701]

$
0
0
Hello,

I am having problem with ajaxfileupload control not triggering the uploadcomplete event. I am handling the upload button through an on click of another button.

AddButton.Attributes.Add("onClick", "$('.ajax__fileupload_uploadbutton').trigger('click');")

This fires the upload button but it doesn't fire the uploadcomplete event. My web.config has been set correctly. See attached file.

I am hosting this through godaddy and have see full access to the httpdocs folder. This is working locally but not on godaddy.

Please need your expert advise on this. Thanks!

Sincerely,
Derrick

Closed 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>

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: Would you please provide a sample site that produces that error?

Commented Unassigned: .NET 4.0 Managed Browser TabContainer Not Firing End Requests OnClientActiveTabChanged [27898]

$
0
0
I'm running a web forms application with .NET 4.0 that renders in the .NET Browser Control. The page uses a Tab Control and for some reason the On Active Tab Change Event is not triggering an End Request. I've put alerts in the javascript code and am not seeing it occur. I also am not getting any errors in the OnAsyncPostBackError. It runs the Begin Request Event and the Postback but no End Request.






Here is my setup

.NET 4.0 Browser Control
IE 11 on a virtual machine running Windows 7
Ajax Control Toolkit version 15.1.2.0
IE 11 Compatibility Mode
Web Forms Application

Comments: Unfortunately, I cannot understand the structure of your application. Would please provide a sample project?

Commented Issue: AJAX Toolkit / NuGet Package / Toolbox Items not created [27333]

$
0
0
I have five different ASP.NET Web Applications. I started one project, downloaded the AJAX Toolkit using Nuget, which installs packages per project. The controls tab was not added to the toolbox. So I added them manually. No problem.

For each subsequent project I've created, I've installed a Nuget package for the ASP.NET Web application.

But I have to re-set the toolbox for each project, because each project has a different package in a different location.

There seem to be no clear instructions. Where's the ease of using NuGet if I have to reset the toolbox for every solution I work on?

If I set the toolbox for Project A, based on the NuGet package for Project A.

Then when I save, and close Project A, and open up Project B, the AJAX Toolkit items in the toolbox, refer to the package for Project A. Instead of referencing the package for Project B.

I could include a screenshot, but this can be easily demonstrated in the following steps.

Pre-Req (Do not have AJAX Toolkit installed, only using NuGet to manage packages)
1. Create Web Application (VS 2012)
2. Install NuGet package for AJAX Toolkit (3.5)
3. Manually set the toolbox by browsing to the AJAX Toolkit DLL that was installed in step 2.
4. Add AJAX control to page on project (including toolkitscriptmanager)
5. Save and close
6. Create new Web Application (VS 2012)
7. Use NuGet package installer for AJAX Toolkit (3.5)
8. Existing Toolkit tab should still exist.
9. Right-click tab, Choose Toolbox Items
10. Find an existing toolbox item, such as Accordian.
11. Expand "Directory" column, Path to AJAXToolkit.dll is the location of the NuGet package from first project created in Step 1.
12. Re-setting the toolbox clear that out
13. Manually adding the toolbox for the most recent Project
14. Develop, Test, Close, Save.
15. Go back to first project
16. No errors if you are using the same version of the package.
17. Lots of errors if the package version is different.

* The difference in packages was because I created one web application during 2011, the second package was created in late 2012.

Everytime I switch back and forth between the two applications, do I have to reset the toolbox?
Everytime I start a new project, do I have to update all the other projects, so I have only one version of the AJAX toolkit?

** Some clarification is needed to understand how to EFFECTIVELY use NuGet packages to manage the use of the AJAX Toolkit in solutions.


** Why has no one even looked at this issue? If there is some magic way of handling this issue, then can someone take the time to at least post how they get around this problem?
Comments: This is by design. NuGet packages operate only at the project or solution level. They cannot affect Visual Studio's toolbox since it is a part of the Visual Studio environment shared across multiple projects/solutions. With the latest v15.1 version of ASP.NET AJAX Control Toolkit, it is possible to use the installer, which will automatically populate a Visual Studio toolbox and place appropriate .dll to the shared location.

Closed Issue: AJAX Toolkit / NuGet Package / Toolbox Items not created [27333]

$
0
0
I have five different ASP.NET Web Applications. I started one project, downloaded the AJAX Toolkit using Nuget, which installs packages per project. The controls tab was not added to the toolbox. So I added them manually. No problem.

For each subsequent project I've created, I've installed a Nuget package for the ASP.NET Web application.

But I have to re-set the toolbox for each project, because each project has a different package in a different location.

There seem to be no clear instructions. Where's the ease of using NuGet if I have to reset the toolbox for every solution I work on?

If I set the toolbox for Project A, based on the NuGet package for Project A.

Then when I save, and close Project A, and open up Project B, the AJAX Toolkit items in the toolbox, refer to the package for Project A. Instead of referencing the package for Project B.

I could include a screenshot, but this can be easily demonstrated in the following steps.

Pre-Req (Do not have AJAX Toolkit installed, only using NuGet to manage packages)
1. Create Web Application (VS 2012)
2. Install NuGet package for AJAX Toolkit (3.5)
3. Manually set the toolbox by browsing to the AJAX Toolkit DLL that was installed in step 2.
4. Add AJAX control to page on project (including toolkitscriptmanager)
5. Save and close
6. Create new Web Application (VS 2012)
7. Use NuGet package installer for AJAX Toolkit (3.5)
8. Existing Toolkit tab should still exist.
9. Right-click tab, Choose Toolbox Items
10. Find an existing toolbox item, such as Accordian.
11. Expand "Directory" column, Path to AJAXToolkit.dll is the location of the NuGet package from first project created in Step 1.
12. Re-setting the toolbox clear that out
13. Manually adding the toolbox for the most recent Project
14. Develop, Test, Close, Save.
15. Go back to first project
16. No errors if you are using the same version of the package.
17. Lots of errors if the package version is different.

* The difference in packages was because I created one web application during 2011, the second package was created in late 2012.

Everytime I switch back and forth between the two applications, do I have to reset the toolbox?
Everytime I start a new project, do I have to update all the other projects, so I have only one version of the AJAX toolkit?

** Some clarification is needed to understand how to EFFECTIVELY use NuGet packages to manage the use of the AJAX Toolkit in solutions.


** Why has no one even looked at this issue? If there is some magic way of handling this issue, then can someone take the time to at least post how they get around this problem?

Edited Unassigned: .NET 4.0 Managed Browser TabContainer Not Firing End Requests OnClientActiveTabChanged [27898]

$
0
0
I'm running a web forms application with .NET 4.0 that renders in the .NET Browser Control. The page uses a Tab Control and for some reason the On Active Tab Change Event is not triggering an End Request. I've put alerts in the javascript code and am not seeing it occur. I also am not getting any errors in the OnAsyncPostBackError. It runs the Begin Request Event and the Postback but no End Request.






Here is my setup

.NET 4.0 Browser Control
IE 11 on a virtual machine running Windows 7
Ajax Control Toolkit version 15.1.2.0
IE 11 Compatibility Mode
Web Forms Application

Edited 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.


Commented Unassigned: polish localization [27532]

$
0
0
there is no polish localization in binaries download (folder lib\..\pl),
but
it is in source code Client\MicrosoftAjax.Extended\ScriptResources\ScriptResources.pl.resx
Unfortunatelly, in Server\AjaxControlToolkit\AjaxControlToolkit.csproj there is no such code:

```
<EmbeddedResource Include="..\..\Client\MicrosoftAjax.Extended\ExtenderBase\BaseScriptsResources.pl.resx">
<Link>ScriptResources\BaseScriptsResources.pl.resx</Link>
<SubType>Designer</SubType>
</EmbeddedResource>

```

Can you add this code, to allow generating polish localization during compilation (and polish localization will exist in binaries download) ?
Comments: The Polish localization has been restored in the v.15.1 version of ASP.NET AJAX Control Toolkit.

Closed Unassigned: polish localization [27532]

$
0
0
there is no polish localization in binaries download (folder lib\..\pl),
but
it is in source code Client\MicrosoftAjax.Extended\ScriptResources\ScriptResources.pl.resx
Unfortunatelly, in Server\AjaxControlToolkit\AjaxControlToolkit.csproj there is no such code:

```
<EmbeddedResource Include="..\..\Client\MicrosoftAjax.Extended\ExtenderBase\BaseScriptsResources.pl.resx">
<Link>ScriptResources\BaseScriptsResources.pl.resx</Link>
<SubType>Designer</SubType>
</EmbeddedResource>

```

Can you add this code, to allow generating polish localization during compilation (and polish localization will exist in binaries download) ?

Commented Unassigned: MaskedEditValidator source code not found [27527]

$
0
0
I am attempting to use the MaskedEditValidator, when the page is rendered I get the following null reference exception.

Here is the call stack: AjaxControlToolkit.DLL!AjaxControlToolkit.MaskedEditValidator.OnPreRender(Sytem.EventArgs e = {System.EventArgs}) Line 360 + 0x29 bytes

I get a no source available screen with messages that indicates that it can't find the source code. I'm thinking that I must have installed something incorrectly.

I tried to install the Net40 binary for VS 2010.
Comments: Please upgrade to the latest version of AJAX Control Toolkit v15.1. If the problem remains, feel free to post a new issue.

Closed Unassigned: MaskedEditValidator source code not found [27527]

$
0
0
I am attempting to use the MaskedEditValidator, when the page is rendered I get the following null reference exception.

Here is the call stack: AjaxControlToolkit.DLL!AjaxControlToolkit.MaskedEditValidator.OnPreRender(Sytem.EventArgs e = {System.EventArgs}) Line 360 + 0x29 bytes

I get a no source available screen with messages that indicates that it can't find the source code. I'm thinking that I must have installed something incorrectly.

I tried to install the Net40 binary for VS 2010.

Commented Unassigned: System.Collections.Generic.KeyNotFoundException [27525]

$
0
0
This error come after using July 2013 release:

例外狀況資訊:
例外狀況型別: System.Collections.Generic.KeyNotFoundException
例外狀況訊息: The given key was not present in the dictionary.

執行緒資訊:
堆疊追蹤: 於 System.ThrowHelper.ThrowKeyNotFoundException()
於 System.Collections.Generic.Dictionary`2.get_Item(TKey key)
於 AjaxControlToolkit.TabContainer.LoadClientState(String clientState)
於 AjaxControlToolkit.ScriptControlBase.LoadPostData(String postDataKey, NameValueCollection postCollection)
於 AjaxControlToolkit.TabContainer.LoadPostData(String postDataKey, NameValueCollection postCollection)
於 AjaxControlToolkit.ScriptControlBase.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection)
於 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
於 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Comments: Would you please provide a sample project?

Edited 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.

Edited Unassigned: .NET 4.0 Managed Browser TabContainer Not Firing End Requests OnClientActiveTabChanged [27898]

$
0
0
I'm running a web forms application with .NET 4.0 that renders in the .NET Browser Control. The page uses a Tab Control and for some reason the On Active Tab Change Event is not triggering an End Request. I've put alerts in the javascript code and am not seeing it occur. I also am not getting any errors in the OnAsyncPostBackError. It runs the Begin Request Event and the Postback but no End Request.






Here is my setup

.NET 4.0 Browser Control
IE 11 on a virtual machine running Windows 7
Ajax Control Toolkit version 15.1.2.0
IE 11 Compatibility Mode
Web Forms Application


Edited Issue: UpdatePanelAnimationExtender OnUpdating runs on every postback [15788]

$
0
0
When you have multiple update panels on a page and you are using an UpdatePanelAnimationExtender for one of them, the OnUpdating animation runs for every postback regardless of which mode the UpdatePanel is in (UpdateMode=Always|Conditional).

This is problematic because:

1. The content inside the update panel isn't always changing when the animation runs, however the whole point of the animation is to draw attention to the update panel, showing that the content is changing/updating.
2. The OnUpdated animation only runs when the content in the update panel actually changes... so if a panel fades out OnUpdating and fades in OnUpdated, then your panel will fade out but never fade back in.
3. It seems to me that the current behavior destroys the intended functionality of the UpdatePanelAnimationExtender control all together once you have multiple panels on the page. If OnUpdating would execute only when the associated UpdatePanel actually updates, then people would actually use this control.

Closed Issue: tab default style not displaying correctly [20576]

$
0
0
I have a tabs control on my page and the tab headers and not diplaying correctly. I am using the default stylesheet (I'm not overwritting) and the tabs appear to have a strip taken out of the bottom of each tab like a white block overlays the bottom of the text part of the tab and the left edge image. The right image is complete on each tab.

Does anyone know what could be doing this and how I can correct it? I'd like to use the defaults if possible.

Closed Issue: PopupControl inside TabContainer/TabPanel: Issue in Firefox 3.0.3 [19196]

$
0
0
In Firefox, when using the PopupControl extender inside a TabPanel, the popup is displayed after initial page load/postback without activating the target control.
In IE7, it works like expected: the popup is not displayed after initial page load/postback.


Easy to reproduce with the PopupControl Demonstration from the Ajax Control Toolkit sample website: just move Textbox, Panel and PopupControl extender inside a tab panel:


<ajaxToolkit:TabContainer ID="TabContainer1" runat="server">
<ajaxToolkit:TabPanel runat="server" HeaderText="1">
<ContentTemplate>
Reminder message:
<asp:TextBox ID="MessageTextBox" runat="server" Width="200" autocomplete="off" /><br /><br />

<asp:Panel ID="Panel2" runat="server" CssClass="popupControl">
<div style="border: 1px outset white; width: 100px">
<asp:UpdatePanel runat="server" ID="up2">
<ContentTemplate>
<asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="true"
OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged">
<asp:ListItem Text="Walk dog" />
<asp:ListItem Text="Feed dog" />
<asp:ListItem Text="Feed cat" />
<asp:ListItem Text="Feed fish" />
<asp:ListItem Text="Cancel" Value="" />
</asp:RadioButtonList>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</asp:Panel>
<ajaxToolkit:PopupControlExtender ID="PopupControlExtender2" runat="server"
TargetControlID="MessageTextBox"
PopupControlID="Panel2"
CommitProperty="value"
Position="Bottom"
CommitScript="e.value += ' - do not forget!';" />

<asp:UpdatePanel ID="UpdatePanel3" runat="server">
<ContentTemplate>
<asp:Button ID="ReminderButton" runat="server" Text="Add reminder" OnClick="ReminderButton_Click" />
<br /><br />
<asp:Label ID="Label38" runat="server" Text="[No response provided yet]" />
</ContentTemplate>
</asp:UpdatePanel>
</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="TabPanel1" runat="server" HeaderText="2">
<ContentTemplate></ContentTemplate>
</ajaxToolkit:TabPanel>
</ajaxToolkit:TabContainer>

Closed Unassigned: System.ThrowHelper.ThrowArgumentNullException [27524]

$
0
0
This error come after using the July 2013 release, as same as my previous issues (#27523, #27519, #27518)

Exception information:
Exception type: System.ArgumentNullException
Exception message: Value cannot be null.
Parameter name: key

Thread information:
Thread ID: 5
Thread account name: IIS APPPOOL\cheungandliu.com
Is impersonating: False
Stack trace: at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
at AjaxControlToolkit.ToolkitScriptManagerCombiner.GetCombinedScriptContent(HttpContextBase context, String[] bundles, String hash)
at AjaxControlToolkit.ToolkitScriptManagerCombiner.OutputCombinedScriptFile(HttpContextBase context)
at AjaxControlToolkit.ToolkitScriptManager.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Comments: Merged with [27525](https://ajaxcontroltoolkit.codeplex.com/workitem/27525)

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: Hi, Thank you for sharing your experience! Let me address your inquiries sequentially: 1. Unfortunately, this problem still exists in the current version of AJAX Control Toolkit. We are working on it and will fix it in the nearest future. 2. We can't reproduce this issue. Would you please provide a sample project for investigation? 3. It seems that the "Paste" button doesn't throw the exception you are talking about. We tested its behavior in the latest stable Chrome release. Unfortunately, it doesn't work in many modern browsers for security reasons.   Best regards, Fadil
Viewing all 4356 articles
Browse latest View live