Questions tagged [ajaxcontroltoolkit]

The ASP.NET AJAX Control Toolkit is an open-source project built on top of the Microsoft ASP.NET AJAX framework.

The ASP.NET AJAX Control Toolkit is a classic set of ASP.NET WebForms extensions. It has been used in a huge number of existing projects and remains popular till now. The Toolkit contains more than 40 controls, including the HtmlEditor, Accordion, AutoComplete, Calendar and ColorPicker controls integrated with the Visual Studio design time.

The project started as a joint effort between Microsoft and the ASP.NET AJAX community, but from September 2014 the project has a new owner, which is DevExpress.

2320 questions
6
votes
6 answers

The Controls collection cannot be modified because the control contains code blocks(i.e.<% ...%>) ajax toolkit html editor

<%@ Page Language="C#" MasterPageFile="~/master/111.master" AutoEventWireup="true" CodeFile="Template.aspx.cs" Inherits="_Template" Title="Untitled Page" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"…
Bip
  • 697
  • 2
  • 10
  • 29
6
votes
2 answers

How to localizing Today text in ajaxToolkit:CalendarExtender?

Is there any way to localize the Today text in ajaxToolkit:CalendarExtender? This control localizes the day and month texts according to the culture but shows, the current date with the text Today like Today:noienbrie 20, 2009, here the month is…
Embedd_0913
  • 16,125
  • 37
  • 97
  • 135
6
votes
1 answer

How to add AjaxControlToolkit's Gravatar Control before or after checkbox in checkboxlist control

I have a CheckBoxList control that contains dynamically generated checkbox items. This checkboxlist will contain usernames. I am using Gravatar control from AjaxControlToolkit to allow users to have their own profile pictures. What I want is that…
Shiva Pareek
  • 1,719
  • 5
  • 21
  • 42
6
votes
2 answers

Ajax autocomplete extender and get ID of selected item?

I am using the autocomplete extender to suggest names when a user types. How to get the select value after the user selects an item? I guess I can use onclientitemselected but I am not familiar on how to write this? I need to populate a textbox…
user1342164
  • 1,434
  • 13
  • 44
  • 83
6
votes
3 answers

AjaxFileUpload automatically upload file once selected

I have a standard AjaxFileUpload control And instead of them having to press Upload, I just want the file to upload automatically…
Adam
  • 16,089
  • 6
  • 66
  • 109
6
votes
2 answers

TextBox using HTMLEditorExtender does not insert new line when pressing Enter

I am using AjaxToolKit's HTMLEditorExtender control in my website. The markup is as follows:
Shiva Pareek
  • 1,719
  • 5
  • 21
  • 42
6
votes
1 answer

AjaxFileUpload doesn't fire OnUploadComplete Event

i am trying to get that AjaxFileUpload-Control(used in ContentPage) working. But it does not fire OnUploadComplete Event at server side I am using version 4.1.60919.0 of the ControlToolkit. I have tried everything i found on the internet. Here just…
Roland
  • 133
  • 2
  • 12
6
votes
5 answers

ModalPopupExtender won't render in front of everything in IE7/IE8 Compatibility mode

I have a ModalPopupExtender from the AjaxControlToolkit that is working properly in Firefox, Chrome and IE8, but when I run it in IE8 Compatibility mode, it pops up behind the content of my page, rather than on top. The popup is in a user control…
6
votes
4 answers

(ModalPopupExtender) two components with the same id can't be added to the application

I have a user control which I add on a page whenever user click on button. Following is the code to add control. protected void Page_Init(object sender, EventArgs e) { if (Session["ControlCount"] != null) { for (int i = 1; i <=…
Kashif
  • 14,071
  • 18
  • 66
  • 98
6
votes
2 answers

How to avoid page refresh after selectedindexchanged of dropdown list?

I am using update panel and ASP drop down. When I select any value from a drop down list I load some data from a database that depends on this selected value. However, whenever this selection changes the page will be refreshed. How can I avoid this…
Aqeel
  • 689
  • 5
  • 20
  • 42
6
votes
5 answers

AjaxToolkit: the last TabContainer on the page is focused on page load

I'm using more than one TabContainer on a page in an ASP.NET project and I noticed a really strange behavior: when the page is loaded the focus jumps to the last TabContainer on the page, causing it to scroll down. I don't explicitly focus on any…
Ioana Marcu
  • 551
  • 8
  • 25
5
votes
1 answer

AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced

Recently I started working on VS2010 and I am referencing AjaxControlToolkit 4.1.51116.0. I am getting below runtime error - Microsoft JScript runtime error: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the…
nitendra jain
  • 433
  • 4
  • 8
  • 16
5
votes
1 answer

AutoCompleteExtender has wrong position, for webkit browsers, after scrolling down the page

I have an AutoCompleteExtender on my page which works fine but when I scroll down the page and use it, suggestions show up at wrong (vertical) position. It happens with Safari & Chrome but not with IE &FF and so I thought it could be webkit's…
Null Head
  • 2,877
  • 13
  • 61
  • 83
5
votes
4 answers

How to change the background color of AjaxControlToolkit HtmlEditorExtender control?

I'm using the HtmlEditorExtender control of the AJAX Control Toolkit and I want to change the editor's background color to another color. How can I do that?
Maninder
  • 1,261
  • 5
  • 20
  • 34
5
votes
3 answers

Setting active tab in ASP.NET Ajax TabContainer causes entire container to disappear

I have an ASP.NET page that uses the ASP.NET Ajax Control Toolkit TabContainer. In the Page_Load event, I am hiding some of the tabs based on the data given to the page. I then want to make one of the tabs active based on the value of an (optional)…
Matt Peterson
  • 5,169
  • 4
  • 32
  • 34