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

Closed Unassigned: AsyncFileUpload reports wrong ContentType in FireFox and Chrome [27634]

$
0
0
If I upload an excel file but name it "excel.jpg" for instance on upload complete the ContenType property will report 'image/jpeg' in Chrome and FireFox.

Internet Explorer reports 'application/x-zip-compressed'

Commented Unassigned: Upload button and dropzone fails to share space/stack order in IE11 (AjaxFileUpload) [27627]

$
0
0
AjaxFileUpload

I need to enable picture upload in two manners; either by clicking the picture frame, or by dropping an image on the same picture frame. While this works fine in Firefox and Chrome, it fails in IE11.

When the upload button and the dropzone shares the same area, IE11 only handles the button click event, and leaves the drop unhandled.

Please find DOM & css extract enclosed.
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: Upload button and dropzone fails to share space/stack order in IE11 (AjaxFileUpload) [27627]

$
0
0
AjaxFileUpload

I need to enable picture upload in two manners; either by clicking the picture frame, or by dropping an image on the same picture frame. While this works fine in Firefox and Chrome, it fails in IE11.

When the upload button and the dropzone shares the same area, IE11 only handles the button click event, and leaves the drop unhandled.

Please find DOM & css extract enclosed.

Commented Unassigned: Issues installing Ajax Control Toolkit 15.1.2 [27894]

$
0
0
Hi,

I'm just upgrading the Ajax Control Toolkit to the latest version by DevExpress and to do so I uninstalled the previous version and installed the 15.1.2.
Everything went well with the exception of not getting installed the localization subfolders within the Bin folder as in the past hence I have not other local (ex. ar folder that used to contain the AjaxControlToolkit.resources.dll file).

I'm not sure if there is a parameter excluding these files or there is something wrong with the install. I assumed it's the first one as otherwise there should have been more people looking for.

Tks

Comments: Hi, thanks for your follow up on this. I have a clear problem with MaskedEditValidator; if I state the culture directive for the page as es-AR and even setting the MaskedEditExtender to the same culture, it does not recognize the date as dd/MM/yyyy but MM/dd/yyyy. As it didn't happen in the past with the previous Ajax Control Toolkit, I assume the problem is due to the lack of localization. When and if you could help me to solve this, I really need to understand how I could apply the string localization via the javascript function calls that you mentioned or I'd appreciate if you could guide me to a document. Again, I need to solve the previous issue first. Tks

Edited Unassigned: updatepanel not supporting IE10 [27624]

$
0
0
we are using ajaxcontrol toolkit 4 , its updatepanel does not support in IE 10 browser.

Please advice us as soon as possible.


Thanks

Created Unassigned: is any video or resource with wxample to learn Ajax Control Toolkit 15.1 ? [27896]

$
0
0
Hi
i'm wana to learn ajax control toolkit v15.1 but i can'n find any video or resource with example about this version (15.1)
please help me .

Closed Issue: AsyncFileUpload - Styling Request & Issues [27192]

$
0
0
These are just a few ideas on options to expose:
- Choose position of throbber (e.g. appear next to the file being upload)
- Allow choosing a style for each button
- Give options where each button should appear

The following does not seem to work as expected in IE9 using XHTML 1.0 Transitional:
- e.Filename gives the entire filepath (easy enough work around)
- Throbber image does not appear inline with the upload button
- AllowFileTypes does not filter the pop-up file grabber

Thanks!
Comments: Thank you for your suggestion! We will keep it in mind during our future work.

Edited Unassigned: Multiple Modal Dialog Boxes on one Page [27895]

$
0
0
I have a requirement for a web page where I need to open one dialog box to capture information from the page, and depending on the user data requirements, I need to open a second dialog box from the first dialog box on the page to capture more detailed information.

I have create two sample projects, one with a single modal dialog box, and one project with two modal dialog boxes, the first one to be opened from the page, and the second one to be opened from the first dialog box.

The single dialog box project works as expected, almost. The text box has a calendar extender on it, and the calendar will only work if it is defined in the aspx file before the button with the modal dialog box on it. If the modal dialog box is first, then the calendar extender does not function.

The two dialog box project does not work as expected. First, when you click on the button to open the first dialog box, the screen flashes and does not open the dialog box. When you click on the button a second time, the first dialog box opens as expected. You can click on the OK button or the Close button and it works as expected. When you click on the button to open the detail dialog box, the panel is opened not as a dialog box but as part of the underlying page. All controls on the primary page are accessible. When you close the second dialog box, the first dialog box is not displayed. The page goes back to the underlying page only.

All binaries (including the AjaxToolkit package) have been stripped out of the attached zip to to allow the size of the file to be under the 4MB maximum.

Commented Unassigned: Multiple Modal Dialog Boxes on one Page [27895]

$
0
0
I have a requirement for a web page where I need to open one dialog box to capture information from the page, and depending on the user data requirements, I need to open a second dialog box from the first dialog box on the page to capture more detailed information.

I have create two sample projects, one with a single modal dialog box, and one project with two modal dialog boxes, the first one to be opened from the page, and the second one to be opened from the first dialog box.

The single dialog box project works as expected, almost. The text box has a calendar extender on it, and the calendar will only work if it is defined in the aspx file before the button with the modal dialog box on it. If the modal dialog box is first, then the calendar extender does not function.

The two dialog box project does not work as expected. First, when you click on the button to open the first dialog box, the screen flashes and does not open the dialog box. When you click on the button a second time, the first dialog box opens as expected. You can click on the OK button or the Close button and it works as expected. When you click on the button to open the detail dialog box, the panel is opened not as a dialog box but as part of the underlying page. All controls on the primary page are accessible. When you close the second dialog box, the first dialog box is not displayed. The page goes back to the underlying page only.

All binaries (including the AjaxToolkit package) have been stripped out of the attached zip to to allow the size of the file to be under the 4MB maximum.
Comments: I've created a sample project with two nested modal popups. Please check it to find the cause of the problem.

Closed Unassigned: Multiple Modal Dialog Boxes on one Page [27895]

$
0
0
I have a requirement for a web page where I need to open one dialog box to capture information from the page, and depending on the user data requirements, I need to open a second dialog box from the first dialog box on the page to capture more detailed information.

I have create two sample projects, one with a single modal dialog box, and one project with two modal dialog boxes, the first one to be opened from the page, and the second one to be opened from the first dialog box.

The single dialog box project works as expected, almost. The text box has a calendar extender on it, and the calendar will only work if it is defined in the aspx file before the button with the modal dialog box on it. If the modal dialog box is first, then the calendar extender does not function.

The two dialog box project does not work as expected. First, when you click on the button to open the first dialog box, the screen flashes and does not open the dialog box. When you click on the button a second time, the first dialog box opens as expected. You can click on the OK button or the Close button and it works as expected. When you click on the button to open the detail dialog box, the panel is opened not as a dialog box but as part of the underlying page. All controls on the primary page are accessible. When you close the second dialog box, the first dialog box is not displayed. The page goes back to the underlying page only.

All binaries (including the AjaxToolkit package) have been stripped out of the attached zip to to allow the size of the file to be under the 4MB maximum.

Commented Issue: AsyncFileUpload and UpdatePanels [25475]

$
0
0
2 problems here with UpdatePanels
first is that it's impossible to cause a postback from the UploadedComplete (whats up with that name?) handler. I've been able to hack the AsyncFileUpload to do an UpdatePanel postback by using a hidden button and triggering the click event to cause the postback. But when the UpdatePanel refreshes, the AsyncFileUpload control is broken (either invisible or something like "32442--------image/jpg")

second is that if you have an upload in progress, and someone clicks a button to cause a partial postback, the client is nice enough to wait for the upload to complete, but the AFU is replaced by the same string of meaningless text (as above). (replace the ScriptManager line below with a Timer.Sleep(2000) to see this behavior) If the user dosn't cause a postback durring upload, the UpdatePanel and AFU seem to refresh and continue to function as they should.

codebehind:
protected void AsyncFileUpload1_UploadedComplete(object sender, AsyncFileUploadEventArgs e) {
//For Auto-Postback
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "reply", "top.$get(\"" + btnUploadComplete.ClientID + "\").click();", true);
//here's an upload delay
System.Threading.Thread.Sleep(2000);
}

protected void btnUploadComplete_Click(object sender, EventArgs e) {
lbl.Text = "File Recieved: " + AsyncFileUpload1.FileName;
}

and the HTML
<asp:UpdatePanel runat="server" ID="updatePanel" UpdateMode="Conditional">
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnUploadComplete" EventName="Click" />
</Triggers>
<ContentTemplate>
<ajaxToolkit:AsyncFileUpload ID="AsyncFileUpload1" runat="server"
OnUploadedComplete="AsyncFileUpload1_UploadedComplete" ThrobberID="throbber"/>
<asp:Image runat="server" ID="throbber" ImageUrl="~/images/throbber.1.gif" />
<asp:Button runat="server" ID="btnUploadComplete" Text="Done Uploading" OnClick="btnUploadComplete_Click" />
<asp:Label runat="server" ID="lbl" />
</ContentTemplate>
</asp:UpdatePanel>
<ajaxToolkit:AsyncFileUpload ID="AsyncFileUpload2" runat="server" style="display:none;"/>
Comments: We were unable to reproduce this issue with the latest version of the AJAX Control Toolkit. Would you provide a sample project that uses AJAX Control Toolkit v15.1?

Edited Issue: AsyncFileUpload and UpdatePanels [25475]

$
0
0
2 problems here with UpdatePanels
first is that it's impossible to cause a postback from the UploadedComplete (whats up with that name?) handler. I've been able to hack the AsyncFileUpload to do an UpdatePanel postback by using a hidden button and triggering the click event to cause the postback. But when the UpdatePanel refreshes, the AsyncFileUpload control is broken (either invisible or something like "32442--------image/jpg")

second is that if you have an upload in progress, and someone clicks a button to cause a partial postback, the client is nice enough to wait for the upload to complete, but the AFU is replaced by the same string of meaningless text (as above). (replace the ScriptManager line below with a Timer.Sleep(2000) to see this behavior) If the user dosn't cause a postback durring upload, the UpdatePanel and AFU seem to refresh and continue to function as they should.

codebehind:
protected void AsyncFileUpload1_UploadedComplete(object sender, AsyncFileUploadEventArgs e) {
//For Auto-Postback
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "reply", "top.$get(\"" + btnUploadComplete.ClientID + "\").click();", true);
//here's an upload delay
System.Threading.Thread.Sleep(2000);
}

protected void btnUploadComplete_Click(object sender, EventArgs e) {
lbl.Text = "File Recieved: " + AsyncFileUpload1.FileName;
}

and the HTML
<asp:UpdatePanel runat="server" ID="updatePanel" UpdateMode="Conditional">
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnUploadComplete" EventName="Click" />
</Triggers>
<ContentTemplate>
<ajaxToolkit:AsyncFileUpload ID="AsyncFileUpload1" runat="server"
OnUploadedComplete="AsyncFileUpload1_UploadedComplete" ThrobberID="throbber"/>
<asp:Image runat="server" ID="throbber" ImageUrl="~/images/throbber.1.gif" />
<asp:Button runat="server" ID="btnUploadComplete" Text="Done Uploading" OnClick="btnUploadComplete_Click" />
<asp:Label runat="server" ID="lbl" />
</ContentTemplate>
</asp:UpdatePanel>
<ajaxToolkit:AsyncFileUpload ID="AsyncFileUpload2" runat="server" style="display:none;"/>

Commented Issue: How to upload AsyncFileUploadfile and bind gridview? [27250]

$
0
0
its not binding in gridview after uploading file..
Comments: Would you provide a complete sample project?

Edited Issue: How to upload AsyncFileUploadfile and bind gridview? [27250]

$
0
0
its not binding in gridview after uploading file..

Created Unassigned: 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.

Commented Unassigned: Scripts not being imported. Error on clauses [27885]

$
0
0
Hi everyone.
I have a Masterpage which includes ALL my scripts and styles.
Up to AjaxControlToolkit 4.5, the tag <script type="text/javascript" src='<%= ResolveUrl("~/Scripts/jquery-1.10.2.js")%>'></script> worked just fine. Really fine!
Then I installed the new release jut yesterday. What a headache!

i can't find where to insert this: "in the “ajaxControlToolkit” config section (Web.config), set the “renderStyleLinks” attribute to “true”, and the “useStaticResources” attribute to “false”

Any help?

Regards.
Comments: Thanks, but it didn't work. Error on Web.config file. Regards.

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.

Commented Unassigned: is any video or resource with wxample to learn Ajax Control Toolkit 15.1 ? [27896]

$
0
0
Hi
i'm wana to learn ajax control toolkit v15.1 but i can'n find any video or resource with example about this version (15.1)
please help me .
Comments: We have the [Getting started video for ASP.NET AJAX Control Toolkit v15.1](https://www.youtube.com/watch?v=24hIhS2itUU). Also, the AJAX Control Toolkit v15.1 installer places the Sample site into the "Documents\ASP.NET AJAX Control Toolkit\SampleSite" folder, so you can see a use-case scenario for every extender and control that exists in the toolkit.

Closed Unassigned: is any video or resource with wxample to learn Ajax Control Toolkit 15.1 ? [27896]

$
0
0
Hi
i'm wana to learn ajax control toolkit v15.1 but i can'n find any video or resource with example about this version (15.1)
please help me .

Closed Issue: HTMLEditorExtender -Clicking on Font size dropdown reset selected text font size [27686]

$
0
0
After changing the font size of selected text, if we reselect the text and click on font size dropdown it resets the font size of the selected sext.
For example, in the site http://www.asp.net/AjaxLibrary/AjaxControlToolkitSampleSite/HTMLEditorExtender/HTMLEditorExtender.aspx, select hello and change the font size to 7. Now clicking on the font size dropdown again will reset the selection.
Same thing happens anytime we select the text with a different font size from default and click on the font size dropdown it resets the size.

Please help me how to resolve this issue.

Thanks.
Viewing all 4356 articles
Browse latest View live


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