ajaxcontroltoolkit

Ajaxcontroltoolkit watermark extender timer blink

随声附和 提交于 2019-12-11 05:54:01
问题 I've an ASP.NET page on which I've 1 Timer (Tick event is trigger for update panel) 1 Update Panel 1 Label (in Update Panel) 1 TextBox 1 WaterMark extender (for TextBox) The textbox and watermarkextander are out of the updatepanel, there are some other object in page but I am not listing them, the timer don't affect them. When I write something in textbox there is no problem but when the textbox is empty and the watermarkextender is active on timer tick the watermark text is blinking. What

Unknown Control Error with CollapsiblePanelExtender in a gridview

限于喜欢 提交于 2019-12-11 05:46:57
问题 I'm in the process of troubleshooting a coding challenge in a gridview where I'm attempting to insert a CollapsiblePanelExtender from the Ajax Control Toolkit (in Visual Studio 2012) into a section of checkboxes. What I'm hoping to do is to make the entire section of checkboxes collapse and expand at the users request. The challenge I'm facing (the asp code is below - no cs code) is that in the " < asp:Panel ID="pnlClick"..." portion of the code there is a green squiggly line below 'Panel'

getting asynfileupload controls file name on button click

大憨熊 提交于 2019-12-11 04:38:37
问题 I am using ajaxfileupload control on my asp.net page. After image is uploaded, I call uploadcomplete method to save the image on disk and show in image control using following javascript: string fileName = Guid.NewGuid() + Path.GetExtension(PhotoAFU.FileName.Trim()); // encrypt filename string filePath = Path.Combine(storagePath, fileName); string fileVirtPath = GetImageUrl(fileName); int rnd = new Random((int)DateTime.Now.Ticks).Next(1, 1000); ScriptManager.RegisterClientScriptBlock(PhotoAFU

AjaxUploadControl does not fire onuploadcomplete method

随声附和 提交于 2019-12-11 04:17:50
问题 I am trying to implement the AjaxUploadControl functionality on my site but it does not fire the OnUploadComplete method. Instead, it simply says file uploaded 100%, but the file is not in the specified folders. I have set breakpoints in the OnUploadComplete method and have been able to determine that this method is never being reached. It almost seems to be jumping into an infinite loop as the Cancel button displays, but none of the buttons on the screen are clickable once an attempt has

tab container - event is not firing

若如初见. 提交于 2019-12-11 03:28:57
问题 i am creating a tab container at runtime and make 1 of the column member as the tab header once user click on the tab i want to fire the event ActiveTabChanged.. if autopostback=true the entire tab container will gone but it got commend inside the event. if autopostback=false it can't go in the event and nothing happen at the layout.. hence i change the concept of my code..what i want is when user click on tab.. event are fire > everything remain same > next asp.net function will be call from

asyncfileupload in jquery modal popup

杀马特。学长 韩版系。学妹 提交于 2019-12-11 03:15:55
问题 I have placed an AsyncFileUpload control on a jquery modal popup and I can't the "AsyncFileUpload1_UploadedComplete" to fire when ok to upload. It does work when placed directly on the page. (This is all on a masterpage by the way) Relevent code is <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %> <script type="text/javascript" language="javascript"> function uploadError(sender, args) { alert(args.get_errorMessage()); document.getElementById('<%

ASP.NET Ajax Toolkit Slider handle displays broken image

依然范特西╮ 提交于 2019-12-11 03:04:17
问题 Using ASP.NET 4.5 Web Forms project that has been running for years and a new problem arose: the ASP.NET Ajax Control Toolkit Slider stop rendering an image (its a broken image symbol where the "handle" usually renders). This only happens in IE11. Its working OK in Chrome nor Firefox (below): Currently reviewing recent changes to code made (we've been doing an annual security review on OWASP Top 10) to see what may have broken it, but any advice appreciated. Edit: recently we have been adding

AJAX Html Editor Extender upload image appearing blank

天大地大妈咪最大 提交于 2019-12-11 03:01:36
问题 Using AJAX 4 (latest version) I have been working with the html editor extender trying to upload images with text, I have got the Image to upload however it appears blank and when looking at the source, the source of the image is also blank (image below) how do I resolve this upload my selected image? 回答1: Include in HtmlEditorExtender an event handler for the ImageUploadComplete event. <ajaxToolkit:HtmlEditorExtender OnImageUploadComplete="MyHtmlEditorExtender_ImageUploadComplete" ... Within

AutoSuggest in a asp.net using Ajax controls

允我心安 提交于 2019-12-11 02:59:43
问题 I am trying to do auto suggest in a TextBox and I used Ajax controls to do so. I am giving movies array some values. I want to give that value from the database by filtering the user table with the email Id that the User used to Login to the website. I am not able to call the Label value into the method below. I have stored the email id of user in label during page load. help me to do that. [System.Web.Services.WebMethodAttribute(),System.Web.UI.WebControls, System.Web.Script.Services

AutoCompleteExtender positioning menu incorrectly when scrolled

只愿长相守 提交于 2019-12-11 02:09:13
问题 We have an AutoCompleteExtender linked to a TextBox. Both controls are placed inside an UpdatePanel, and the UpdatePanel is displayed as a pop-up dialog using a Javascript library (Ext.BasicDialog). The pop-up is a div on the page, not a separate window. The problem is that when the user scrolls inside the pop-up, the AutoCompleteExtender shows its menu in the wrong place. It looks like it is taking the visible distance from the top of the popup and positioning the menu from the top of the