ajaxcontroltoolkit

AjaxControlToolkit, ComboBox style

余生长醉 提交于 2019-12-21 23:40:43
问题 I am with a little problem with the arrow image of a ComboBox control (AjaxControlToolkit). I define this style: .WindowsStyle .ajax__combobox_inputcontainer .ajax__combobox_buttoncontainer button { margin: 0; padding: 0; background-image: url(../icons/windows-arrow.gif); background-position: top left; border: 0px none; height: 21px; width: 21px; } I set this style on combobox, but the control are showing the border of the textbox before the arrow: Look here, the border aren't showing! How

AJAX ModalPopup Pops Behind (Under) Page Content (Negative z-index)

家住魔仙堡 提交于 2019-12-20 03:07:11
问题 I am having an issue with the AJAX ModalPopupExtender in version 40412 of the AJAX Control Toolkit (http://ajaxcontroltoolkit.codeplex.com/releases/view/43475). The first time the ModalPopup is made visible it works correctly. The z-index is set to 6001 (and the background Div's z-index is set to 6000) and the Popup appears above everything else. If the cancel button within the ModalPopup is clicked, it also has the correct functionality, the display is set to "none" and the ModalPopup is no

Loading AjaxControlToolkit Scripts from Microsoft's CDN using ScriptManager/ToolkitManager

岁酱吖の 提交于 2019-12-19 21:44:20
问题 I know there is another question asking the same thing, but it hasn't gotten any attention for months now: https://stackoverflow.com/questions/3786088/how-to-force-ajax-control-toolkit-scripts-loading-from-cdn I've upgraded my website to .NET4, and I'm now using the scriptManager's EnableCDN="true" tag. My Ajax scripts are being referenced from the Microsoft CDN just how I expected, but I can't seem to get my AjaxControlToolkit scripts to load from the CDN. Instead they all load locally

ASP.Net button click event not firing

自闭症网瘾萝莉.ら 提交于 2019-12-19 03:52:54
问题 This is perhaps related to this question, but I have slightly more information. I recently updated an ASP.Net application to .NET 3.5 after coding a few new pieces with Linq. Now my pages intermittently stop firing event handlers. I have it narrowed down to pages with Ajax on them, and I assume it's either the ScriptManager or the AjaxControlToolkit registration that is precipitating the problem. The really screwy part is that pages seem to work fine about 2/3s of the time, and the controls

Could not load file or assembly 'AjaxControlToolkit' after upgrade to .net 4.0

*爱你&永不变心* 提交于 2019-12-18 18:54:11
问题 I have a web application that I am attempting to upgrade to .net 4.0. I took the application and opened it via Visual Studio 2010 Beta 2 and selected the upgrade path for that application. The application uses the AjaxControlToolkit. Now that the upgrade is complete when I attempt to access a page I get the error message: "Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Access is denied." I've tried: Restarting my machine Clean Solution Removing all files in

how to disable previous dates in CalendarExtender control through its render event?

别等时光非礼了梦想. 提交于 2019-12-18 05:15:17
问题 Basically, I just want allow select dates greater than today. I'd prefer this way to avoid show alert messages. 回答1: I don't think that it is supported in the current version of the Toolkit to restrict selectable dates. This is a simple workaround handling the ClientDateSelectedChanged -Event and validate the selected date: How to make sure user does not select a date earlier than today or greater than today There could be instances where you do not want the user to select a day earlier than

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

帅比萌擦擦* 提交于 2019-12-18 04:17:22
问题 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; filter:alpha(opacity=70); opacity:0.7; } .modalTextBox { border: 1px solid #FFFFFF; background-color: #0066CC; color: #00FFFF; } here some code from the aspx <asp

Drop Down List (in Update Panel) causing FULL PostBack!

喜你入骨 提交于 2019-12-17 19:21:16
问题 I have a problem with my AJAX and ASP.NET 3.5 :( Problem is really weird, as I'm using the same thing on different page and it works fine in there, but on this specific page, this is not working. Here's what I have: <asp:UpdatePanel ID="upMain" runat="server" UpdateMode="Conditional" Visible="true" RenderMode="Inline"> <ContentTemplate> <asp:DropDownList ID="ddlNewService_PortTelco" runat="server" Width="250" CssClass="dropdown" AutoPostBack="true" OnSelectedIndexChanged="Provision

How to set HTMLEditorExtender HTML from client side

我是研究僧i 提交于 2019-12-14 03:49:01
问题 I cannot get this to work, here is code that I found in another thread but it is not working for me, I'm getting "set_content is not a function" : $find("<%=Hee.ClientID%>").set_content("whatever"); Is this still valid? I also tried to set value of the textbox it extends, tried setting InnerHtml of both,none worked. 回答1: $find("<%= Hee.ClientID %>")._editableDiv.innerHTML = "whatever"; 回答2: I was going nuts for hours looking for a way to change the content and here's what I've come up with

Error while running the website using AjaxControlToolkit

一笑奈何 提交于 2019-12-14 03:00:17
问题 I am using AjaxControlTookit in my website. The website was running fine until I added the HTMLEditorExtender. Then the exception which came was The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>) I resolved it using a suggestion on one of the questions on stackoverflow.com only. Solution was to delete the ajax control kit tab from the toolbox and then again add the tab and the items and update the dll file. I updated the DLL file and performed