ajaxcontroltoolkit

How to determine the collapsed state of the AjaxControlToolkit CollapsiblePanelExtender in code-behind?

cpe.Collapsed seems to be always set to the initial state and not reflect the current state. Is there a direct way to determine on the server if the panel is collapsed? ...

Is a Dictionary<K,V> thread safe for simulataneous reading and additions?

There question relates to a very specific and common scenario in which a dictionary is being used for on-demand caching of items in a multi-threaded environment. To avoid thread locking it's preferable to test for an existing cache item outside of a sync lock, but if we subsequently have to add an item then that counts as a write to the ...

AjaxControlToolkit DropDownExtender inside a table always displays associated panel

I have a textarea that has the ajaxcontroltoolkit dropdownextender associated with it, and a panel that contains a gridview with the options for the user to select from. Here is the code for these items: <asp:UpdatePanel ID="updPnlView" UpdateMode="Conditional" runat="server"> <ContentTemplate> <asp:TextBox ID="txtSiteName" run...

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

ModalPopupExtender strange behavior

Hello. I'm developing an ASP.NET application with C# and Visual Studio 2008 SP1. I'm using WebForms. I have an ASPX page with two UpdatePanels, one on the left that holds a TreeView and other on the right where I load dynamically user controls. On the left panel I also have buttons to load user controls on the right. I have a ModalPop...

Ajax control toolkit auto complete dropdown vertically misaligned

Ajax control toolkit auto complete dropdown displaying in random vertical positions. Below is the css which I use currently .completionList { background-color: #fff; border: solid 1px #444444; margin: 0px; padding: 2px; height: 100px; overflow: auto; } .listItem { ...

DynamicPopulate with multiple triggers

I want to dynamically populate a form field from multiple other fields in the form. If input A or input B is changed, input C should be updated based on the values in input A and input B. The DynamicPopulateExtender in Ajax control toolkit has almost this. With it I can populate a target based on a trigger. ...

ajax code for enabling and disabling dropdown box

How to write an ajax function to disable a dropdown, until its parent dropdown is selected? ...

Asp.Net Ajax Toolkit AsyncFileUpload - "The file is attached is invalid" error

I'm trying to use the AsyncFileUpload control from the Asp.net Ajax Control Toolkit (Sept 30, 2009 stable build: 30930) . I've created a demo application and the control works fine. Files upload and all is well. When I try to use the control in my real application, I'm always receiving an error stating "The file attached is invalid". T...

Using AJAX Control Toolkits NumericUpDown Control with Comma as Decimal Separator

We are trying to use the NumericUpDown Control from the AJAX Control Toolkit, but can find no way to make it use a comma as a decimal separator instead of a point. Other controls such as the Calendar will automatically use the Page Culture and adapt their content according to it. Do anyone know a way to change the Decimal Separator? ...

Ajax Auto Complete in ASP.Net MVC project - How to display a an object's name but actually save it's ID?

I have implemented the Ajax Autocomplete feature in my application using a web service file that querys my database and it works great. One problem I am having is allowing the user to see the item's name, as that's what they are typing in the textbox, but when they select it, it saves the item's ID number instead of the actual name. I ...

Ajax Accordion problem with css display:list-item;

Hi there, I have an accordion control extender in my page which is works fine, I added a css file to show the as a list, it is working perfectly in all the borwsers, but in IE compatibility view the list-style-type:square; is displaced and also there is one additional square added to top. is it a bug? Is there any other way I can sho...

About modal pop control to the ajax control tool kit

First of all hi too member now my 1st talk i had one ajax control tool kit tht doesnt work on the vs 2008 so please help me for tht and other problem I had make one modal pop code for the site but it nt working properly mean when I click on the button it will only display Loader image but it did nt display tht page or div tag which c...

Browser progress bar shown when returning from modalpopup

hi I have a repeater control which has a link for adding comment, onclicking the link it brings up the AJAX modal popup now after entering the comments in the popup , when i close the popup and return to my main screen, Progress bar shows up and progress get hung half way at status bar of the browser. But i can do the all other operatio...

ajaxcontrol toolkit rating control with a value of 4.5

Hi all, Quick question here : How do I get ajax control toolkit rating control to show rating which aren't integers (say 4.5)? Thank you! ...

AjaxControlToolkit: HtmlEditor Textarea not showing in Chrome/Safari

Hi, I am using the HtmlEditor Control included in the AjaxControlToolkit (patched version v62210 because I needed some of the included fixes). Unfortunately the textarea in the Html Editor control is never displayed in Chrome and Safari (both latest version). It doesn't matter if there is text in it or not. It does work on the AjaxC...

Throw an error if a dependent control is not present on the page

Ok, I'm making a couple of JQuery versions of the AJAXToolkit controls (we were having issues with the toolkit), and want to have a common version of the scripts they require on the page. To do this, I was intending to have a JQueryControlManager control, and use it to insert scripts dynamically, preferably only scripts that are needed ...

UpdatePanel and ModalPopup Extender

I have my form designed as <asp:Panel runat="server" Id="xyz"> <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"> <ContentTemplate> 'Gridview with edit/delete - opens detailsview(edit template) with data for editing </ContentTemplate> </asp:UpdatePanel...

asp.net ajax control toolkit combobox displays incorectly when in fieldset with style of position:relative

I currently have an Instance of the ASP.net ajax control toolkit combo box residing in a field set with a style of position:releative applied. The control also sits in a very plain table (please no comments about using tables for lay-out, I know it is evil and try to avoid it). There are two problems with the display of the list: The...

asp.net ModalPopupExtender : need to show scroll bar when overflow

I display a gridview in a ModalPopupExtender. When the screen resolution is to small, the pop-up is to big to all be displayed on the page. I just want to add scroll bar to the pop-up when this happen. I know it's probably some CSS, but all I tried did not work. here some base css .modalTextBoxBackground { background-color:Gray; ...