ajaxcontroltoolkit

Unit testing the MS AJAX Toolkit HTML editor

Is it possible to unit test the MS AJAX Control Toolkit's HTML Editor? I've tried Watin, WebAii and Selenium without any success... Watin I can find the textbox related to the control but I get an exception trying to access it: using (Browser ie = new IE()) { ie.GoTo(testUri); Assert.IsTrue(ie.ContainsText("Expected text")); ...

ASP.NET AJAX modal popup framework

I'm using ASP.NET 3.5 + Ajax Control Toolkit + jQuery (NO MVC yet) I'm looking for a standard solution for showing a user control (.ascx) as a modal popup (like the Ajax Control Toolkit ModalPopupExtender implementation), where I can pass parameters to it before it opens. Then get some values on closing, and potentially handle events on...

JavaScript: “Access Denied” and “Object doesn't support this property or method” errors

I’m working on an application that uses the ajax control toolkit 1.0.20229.0, jquery 1.3.2 and thickbox 3. We are in the process of removing the ajax control toolkit, but since it’s a large app it will take several versions before we can completely remove it. When I click a link that pops up a thickbox modal containing iframe it works,...

How to set the position of the Ajax modalpopupextender

Can the position of the Ajax modalpopupextender be set either to an absolute or relative position on the page? The default puts it at page center and I haven't found a way to override this. I would like to position the popup close to the control that triggers it. ...

Setting Selected Style in AJAX Control Toolkit - TabContainer

I am using a tabContainer in my page, and I have set the HeaderTemplete - e.g: <cc1:TabContainer ID="TabContainer1" runat="server" CssClass="tab"> <cc1:TabPanel ID="ListView" runat="server" HeaderText="List View"> <HeaderTemplate> <asp:Label style="padding:2px;" Width="100px" ID="ListHeader" runat="server" ...

MaskedEdit Extender lost data on postback

I am currently developping an web site that require DateTime entry and I am using MaskEdit extender on the TextBox used to enter the date and time. These DateTime are used as input to compute the total hours and other stuff that need to be displayed back on the same page (for previewing) However, after the postback using MS AJAX, my com...

SliderExtender Reset

I would think this would be simple... or that atleast someone else would desire the same thing, but I am unable to find any documentation anywhere... I have a form with 7 text boxes and 5 sliderextenders on 5 of them... im using jquery, and a client side input button to reset the form on the client side... i can reset the values of the ...

Ajax:ModalPopup js exception, BackgroundCssClass is null

Hi I use a modal popup extender, i followed all the instructions on the toolkit sample page, except that i didn't set the property BackgroundCssClass. this is what happens: Is there a way I can get rude of it without setting the cssclass prop? I don't need any styles. If the answer is NO then please show me an example how to set it ...

Removing underline from MaskedEditValidator for a phone field?

Is it possible to display the mask for a MaskedEditExtender in a TextBox as (without the underlines) ( ) - instead of ( )___-____ ...

can't make Click Event to work properly inside modalPopupExtender

I have a page which loads children pages by using jQuery's .load function... My children pages have buttons to perform some data exchange with the database server and most of them are doing ok. the problem is that some buttons are inside ModalPopupExtenders (ajaxtoolkit). When I run the children page alone (outside the parent) the moda...

AjaxControlToolkit Resource Files Not Copied To Output in MSBuild Script

I'm new to MSBuild, but I managed to setup the following simple script: <Project ToolsVersion="3.5" DefaultTargets="Compile" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt; <PropertyGroup> <Configuration Condition="'$(Configuration)' == ''">Debug</Configuration> </PropertyGroup> <ItemGroup> <S...

Refactor to replace AjaxControlToolkit or RadAjaxManager

I have inherited a DotNetNuke codebase and have come across areas that have included both the AjaxControlToolkit and the Telerik RadAjaxManager. There are plenty of instances where one is preferred to the other but with only a slight bias towards Telerik in the code base as a whole. I am familiar with the MS Ajax Exentsions but haven't...

CollapsiblePanelExtender: Can I initiate collapse/expand from client-side javascript? (AJAX Control Toolkit)

The CollapsiblePanelExtender seems primarily designed to collapse/expand things in response to user mouse events. Is there also a good way to get the extender to collapse/expand things in response to client-side javascript? In my particular case, I have a number of CollapsiblePanelExtenders (and their corresponding Panels) on a page, an...

Why do i get "uselpffregexps is undefined"-error in FireBug, while debugging AJAX Control Toolki enabled website

Hello, i'm getting the error stated in question title, when i'm debugging a site where i use MS AJAX Control Toolkit aspx-controls? Anyone have any idea that where is this error coming from? Google didn't find a single hit, so i don't have a starting point for fixing this problem. Here is the output from FireBug: uselpffregexps is un...

Ajax with in Ajax. Is this possible

I have a php page. This has multiple images which looks like tabs. With in this php page i have a div which will load different PHP pages on click of different images i mentioned before. This is done using Ajax. This much of it works fine with no page reload. This is done to simulate the tab operation without page reload. This much of it...

Implementing modalpopups as default alert in entire project

Hi, right now I have a huge Solution in which we use javascript alerts via RegisterStartupScript for all messages and errors.. We were willing to modify all this to making something similar to the modalPopupExtender, or the extender itself in a way that doesn't require too much effort... I mean, to show a modalpopup on a single page I ne...

collapsible panel not loading correctly

I'm having an intermittent problem with the CollapsiblePanelExtender. The way we are using them is to wrap it around a gridview, so that only the header-row is displayed(which contains a checkbox for select all) while collapsed. The page always load as collapsed. about 95% of the time, this will work perfectly fine, however, once in a...

ModalPopupExtender OnShow event?

Using the asp.net AjaxControlToolkit ModalPopupExtender is there a way listen to an event when the TargetControlID is clicked and the Modal becomes visible? something like an OnShow or an OnClose method which can be run on the server Thanks ...

Hot to: user AutoCompleteExtender in a UserControl (ascx) and place the ServiceMethod on its code-behind.

Hi! I created a AutoCompleteExtender on a TextBox that resides on a UserControl (Control.ascx file). I don't want to create a separate class for the web method, i rather placing it in the code file (Control.ascx.cs) itself. Is there a way? I have successfully tried once ago placing the method on the same page but it was a page, and i...

Coordinating multiple ConfirmButtonExtenders on the same page

I would like to display a series of ConfirmButtonExtenders in succession on a page after a user clicks a target control. I want don't want to display the subsequent dialog until the previous one is dismissed. When all the dialogs have been dismissed, I want to continue the execution of the target control. Please bear in mind that the d...