ajaxtoolkit

ASP.NET Ajax Toolkit Watermark control issue & Javascript date question

Hi, I have a web page that uses three controls to allow a user to specify a date: 2 drop down controls for month and day (where Jan = 1, perhaps a bad choice :-)) and the days of the month (1-31). A text box is used for the year. In the Year text box, I use an AJAX Toolkit Watermark extender found [here][1] to write the literal word "Ye...

AutoComplete Stopping When User Presses "Enter"

Hello. I am using the AutoCompleteExtender on a commercial site. My problem is the users are quickly typing in part of a word and immediately pressing "Enter" which causes the AutoComplete control to NOT come back with a list of suggestions. For example, if my database has the phrase "Texas, United States" in it but the users just type "...

Bug in HTML Editor in ASP.net Ajax toolkit

I'm trying to validate the content of the HTML Editor using an ASP.net custom validator control. The idea is to check that some content has been input - the same way a required field validator works. In the ClientValidationFunction="SomeFunction" I reference this function: function SomeFunction(source, args) { var editor ...

Can ComboBox in AjaxToolkit use lazy loading

Can I make ComboBox from AjaxToolkit make call to server every time new letter is entered and update ComboBox items? ...

corrupt MicrosoftAjax.js? unexpected token? what is this?

I have an asp.net form that contains some html, 2 controls a calendar from the AjaxControlToolkit and a custom SandTrap.WebControls textbox which works fine on several other servers we have this form running on. However on one server It breaks and when I debug the javascript It seems I have a corrupt MicrosoftAjax.js being downloaded - i...

Converting Page to HTML fails with AjaxToolkit Controls - Extender controls must be registered using RegisterExtenderControl

So, I'm trying to get the HTML of a Page using the following code: var stringWriter = new StringWriter(); var htmlTextWriter = new HtmlTextWriter(stringWriter); Page.RenderControl(htmlTextWriter); htmlTextWriter.Flush(); var html = stringWriter.ToString(); This fails with the message Script control 'ace' is not a registered script con...

Set ActiveTabIndex on Ajax TabContainer inside CompositeControl

I am creating a CompositeControl in VB ASP.NET. My control has an Ajax TabContainer with several TabPanels. I need to code it so a value on the querystring can set the container's ActiveTab. Regardless of the querystring piece of this issue, in my CreateChildControl code, I am setting the ActiveTabIndex to a valid index position, but ...

Only one instance of a ScriptManager can be added to the page.

I had an ASP UpdatePanel to update a gridview which worked fine, now I wanted to also use AjaxControlToolkit for some of the controls in there, but after wiring up everything when I run I get an error "Only one instance of a ScriptManager can be added to the page." inspite of the fact that I commented off the ASP ScriptManager and a...

AJAX toolkit and web config security

Hey everyone, I'm using ASP.NET and the AJAX toolkit and was wondering if there are any security aspects I should be concerned about. I've never used the AJAX toolkit before, and usually from standard controls, there are postbacks which I use to validate input. I assume this is the same with the AJAX controls, but are there any extra ...

AjaxToolkit ModalPopupExtender: How do I set focus to a control in the popup Panel?

When the user pushes the Button, I'd like to display a modal dialog box to capture a couple of values from text boxes and submit these values to the server. When the modal box is shown, I'd like the cursor to be placed in the txtFirst textbox. How do I do this? I've had trouble with registerscript commands before, so if one is needed...

AjaxModalPopupExtender: How do you display the dialog box upon selecting an item fromn a dropdownlist?

The following example displays a modal dialog box when the user clicks the button. What changes do I have to make to get it to display the dialog when a selection is made from the dropdownlist? Note that if I set the TargetControlID property from "Button1" to "DropDownList1", teh dialog box is displayed when the dropdown is DROPPED ra...

Drawbacks of KSS

Has anyone here used KSS? KSS is an AJAX framework. KSS has both a client-side Javascript library and server-side support. The client-side Javascript library needs to be included in your page. It fetches Kinetic style sheets from the server, parses them and binds a set of action to browser events and/or page elements. It is...

ModalPopupExtender: Dragging dialog box results in 'scrollleft is null or not an object' error

I am using the ModalPopupExtender control to display a modal popup dialog when a button is click. The problem is that dragging the dialog results in an 'scrollleft is null or not an object' error. Here's a video demo ..and here is ALL the code: If possible, I'd like to resolve this problem w/o resorting to modifying the AjaxToolkit s...

How To Change Ajax Control Toolkit Controls Button Text

Ajax Control Toolkit provides too many useful control and I've use them in a multi language application, nothings bad and everything's fine. the question is that , How can I change the Ajax Control Toolkit Buttons Text, for example in Confirm Button Extender and vice versa . any help appreciated ...

AjaxToolkit: Can't drag and drop a ajax toolkit control to a webform.

I set a reference to AjaxControlToolkit.dll and this added all of the toolkit's controls to my toolbar. I then tried to drag and drop one of the controls to my webform and nothing happened-no error message, no control added to the form. Double clicking the control also did nothing. The web site compiles with no errors, I also tried to ...

Nested akaxtoolkit's reoderlist does not work properly. In-place edit does not work.

When I use one-level reoderlist, everything is fine. In-place is working perfectly as well as everything else. Once I started to use nested(reoderlist inside of ItemTemplate of parent reoderlist). To illustrate it better here is the diagram: Parent --Child --Child --Child Parent --Child --Child --Child Parent --Child --Child -...

AJAX PagingBulletedListExtender - View All

I'm using the PagingBulletedListExtender with an IndexSize="1". This displays alphanumerics relevant to the list items. Is there a way of having all items in the collection be displayed? ...

AJAX .NET CollapsiblePanel inside a gridview is causing memory leaks?

One of our ASP.NET pages has a significant memory leak. After a process of manual enable/disabling, I narrowed down the issue to a set of collapsible panels which are dynamically built on the code page and placed into an UpdatePanel which is already on the page. Using sIEve, I was able to see that this control apparently is creating a ...

AJAX Toolkit - AsyncFileUpload Control Return Data

I am using the AsyncFileUpload control provided by the Ajax Toolkit. I am needing to store the file uploaded in a temporary directory and then return the temporary file name back to the client (or set viewstate) so that on the next post back it can be committed to a database. Does anyone have any ideas as the best approach to do this, i...

Forcing controls to contain only certain elements, such as ContentTemplate

Ok, my team has been having issues with the ajaxToolkit Tabs control, it doesn't play nice with parts of our site (mainly jquery issues, some other javascript, too many things to change) So, I plan to write a different control that uses jQuery to achieve the tabbing functionality: I've done this before, and the jQuery is almost trivial....