ajaxcontroltoolkit

Select2 JQuery issue with ASP.NET UpdatePanel

♀尐吖头ヾ 提交于 2019-12-08 04:03:53
问题 Have a existing solution I have been asked to enhance with Select2 JQuery library. Have an updatepanel with a save button. On that updatepanel is a ASP.NET DropDownList . on document ready I issue $('.dropdownspecificclass').select2(); When page first renders it looks as expected the DropDownList has that tags view that Select2 provides. Click the save button and the save process is done async without a page refresh, but the Select2 dropdown list loses it Select2 styling and now just looks

Why do I sometimes get “Could not load file or assembly AjaxControlToolkit version 3.0”?

南笙酒味 提交于 2019-12-08 03:52:41
问题 We recently published a new version of an asp.net website where we changed from AjaxControlToolkit version 3.0 to 3.5. I checked the web site and found that it was running alright. The following day I recieved the following two similar exception reports, that seems to relate to the change in version: Could not load file or assembly 'AjaxControlToolkit, Version=3.0.20229.20843, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies. The located assembly's manifest

Hide Textbox Targeted by the ColorPickerExtender

血红的双手。 提交于 2019-12-08 02:36:26
Is there a way to hide the textbox that is targeted by the colorpickerextender in the newest release of the ajax control toolkit? If you add style="display:none" to the textbox, then the color picker shows up in the top left corner of the browser window. I want it to show up near the button that is referenced in the extenders popupbuttonid. I want to hide the textbox because I don't want the user to see the color code. While I didn't hide it, I did find another way to get what I wanted. When the color is selected I call a javascript function that gets the color code from the textbox and stores

ASP.NET How to show AjaxControlToolkit Modal Popup from CheckBox

回眸只為那壹抹淺笑 提交于 2019-12-08 02:23:26
问题 I need to show an AjaxControlToolkit ModalPopupExtender control , when user checks/unchecks a CheckBox control that is inside a GridView as a TemplateField. -- Updated on 24/05/2013 See final solution here... We finally solved the problem. So I decided to post here the complete solution and the final code. The GridView <asp:GridView ID="gvDocs" runat="server" CssClass="grid" AutoGenerateColumns="false" AllowPaging="true" AllowSorting="true" OnPageIndexChanging="gvDocs_PageIndexChanging"

IIS 7.5 throws sc-win32-status: 995 after 60 seconds on web service (ASMX) request

∥☆過路亽.° 提交于 2019-12-07 18:48:02
问题 I have a Web Application in .NET 4.0 Integrated mode calling a web service (ASMX) in .NET 2.0 Integrated mode on the same server via localhost. 9 out of 10 times all works fine, but occasionally the Web Application get's a "Request timed out" and "Thread was being aborted" error during the call. It gives the error on the last line of this code example: Dim Service As New localhost.Service Dim Input As New localhost.InputProduct Dim Ret As New localhost.OutputProduct Try Ret = Service

AjaxControlToolkit fails to run on Mono [closed]

笑着哭i 提交于 2019-12-07 11:36:11
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . Running ASP.NET 3.5 on Mono 2.6.7 (Debian), AjaxControlToolkit throws the following exception on startup: "Cannot cast from source type to destination type." (see stack trace below) This is a simple website

AjaxControlToolkit MaskedEditExtender - custom mask appearance

对着背影说爱祢 提交于 2019-12-07 09:58:34
问题 I'm using a MaskedEditExtender to show users what format they should use to enter a date into a textbox. How do I change the mask to be dd/MM/yyyy instead of __/__/____ ? 回答1: I looked over the source code for the MaskedEditExtender, and it doesn't look it it supports what you want out of the box. You can replace the '_' with some other character with the PromptCharacter property, but to do what you want, you'd need to edit MaskedEditBehavior.js in the control's source code. Search for

Detect AutoCompleteExtender select event

瘦欲@ 提交于 2019-12-07 06:28:44
问题 What is the best approach to capture AutoCompleteExtender select event, since control does not have this event? Here is sample I am talking about. I have two texboxes (Location1TextBox,Location2TextBox) with linked AutoCompleteExtender controls. This part works well. Now the problem is when user makes selection form any AutoCompleteExtender I need to catch this event and try to calculate distance between location1 and location2. Result should be populated to DistanceTextBox automaticly. Any

Creating a DataTable object with dummy data

时光怂恿深爱的人放手 提交于 2019-12-06 20:04:09
问题 I am trying to databind a DataTable to an accordion and I have found that If I retrieve the DataTable from a database using a table adapter it binds to the accordion perfectly however what I want to do is create a dummy table (for testing purposes if I don't have access to my database) the code to create the dummy table is below: DataTable table2 = new DataTable("articletable"); table2.Columns.Add("articleID"); table2.Columns.Add("title"); table2.Columns.Add("content"); DataRow row = table2

Animated gif freezes in UpdateProgress in IE8

与世无争的帅哥 提交于 2019-12-06 10:11:43
问题 I am using update progess to show the animated gif saying "Loading..". I am testing in IE 8 and the animation freezes. I have come to know that IE 6 & 8 have a bug to handle this and have found certain supportive links such as here and here as well, but i'm not sure how to apply in update progress to resolve my issue? Please help! Thanks! 回答1: When this happened to me, the browser's processor was actually pegging out due to KB 2000262, there is a fix, if this is your problem: UpdatePanel