asp.net-ajax

how is pageLoad() getting called?

I simply chose an asp.net ajax web form, and I was presented with a page similar to the below mentioned one: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="AppReport.aspx.vb" Inherits="ism2_AppReport" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt...

how do I let a user upload .zip files in telerik radeditor

Hi, I'm not sure how to allow my RadEditor to accept .zip files it has all of the default content managers (image, flash, template, media, document) and none of these will allow my users to upload a .zip file and I cannot find where I can change this manually. I am using Visual Studio 2010 with Telerik and the RadEditor control. Thank...

How to make accordion get value from data base

I had Accordion (Ajax Control) and I did it to get value from data base I did my code but it didnot get any value please any one help me ' Width="178" Height="115" Style="float: left; padding: 10px 10px 0 10px" />'> ...

Sys.Extender.UI comes NULL after Facebook API connects user to account.

I have a asp.net page that is using microsoft ajax. I am using the MaskedEditTextBox control. The thing is that it works perfectly fine if the user does not connect to his facebook account using Open Graph API. As soon as he does that, i get these two javascript errors and my MaskedEditTextBox stops working completely. Has anybody gone...

ASP.NET Register Script After Partial Page Postback (UpdatePanel)

Hi Guys, I have a simple form (textbox, submit button) which is wrapped in an update panel. <asp:UpdatePanel ID="ReplyUpdatePanel" UpdateMode="Conditional" runat="server"> <ContentTemplate> <asp:Textbox id="ReplyTextBox" runat="server"/> <asp:Button id="SubmitButton" OnClick="SubmitButton_Click" runat="server"/> <...

.net accordion control not working after jquery modal popup

Hi. I have a strange problem on a web page. On this page, there were (.net ajax) accordion control and modal popup extender. For some reason modal popup installer would not work properly so I have replaced with jQuery modal. (using jQuery-ui). The problem is that after the jquery modal is open( or closed) Accordion control will not f...

DropDownList AutoPostback fires when Asynchronous Postback occurrs

Well I have a strange problem. I have a page with 2 DropDownLists on it and a custom web-user-control. The custom web user control has an UpdatePanel within it, and an Ajax Timer control within the UpdatePanel to periodically update a listing of stuff. When I "drop-down" one of the DropDownLists and hover over (not click on) an option ...

jQuery with ASP.Net UpdatePanel

What is the best way to ensure that events are rebound after an UpdatePanel callback? Suggestions I've seen: function pageLoad(sender, args){ //bind events here. } or use the .live(eventType, handler) method to initially bind the events or var prm = Sys.WebForms.PageRequestManager.getInstance(); prm.add_endRequest(function() ...

AsyncFileUpload isn't work inside the tabcontainer

hi folks I have this page and it gives me script error "getbyelement..." <script type="text/javascript" language="javascript"> function uploadError(sender, args) { document.getElementById('lblStatus').innerText = args.get_fileName(), "<span style='color:red;'>" + args.get_errorMessage() + "</span>"; } function StartUpload(sender, ...

How to update target with Ajax.Actionlink

I am trying to learn how Ajax is working. I want to update a using a Ajax.ActionLink, but I dont manage it to work, please help... Everything else works in this code(I Delete the comment...). Here is the code: <div id="test"> <% foreach (var comment in Model.Comments) { %> <p> <b> ...

javascript Error: 'return' statement outside of function when trying to disable a button on submit

Am trying to re-use a function i got from one of the threads on this site. I want to disable an asp.net button when clicked such that a user does not click it several times. The button is inside an Ajax Updatepanel and also has a ConfirmButtonExtender, but when i click it, it get this javascript error in internet explorer. ** Erro...

Does AutoCompletionExtender Method of AJAX Control Toolkit has to be static?

Hi! I have web page which is using AjaxControlToolkit:AutoCompleteExtener on some TextBox. This extender requires service method, from which it will get data to display: [System.Web.Services.WebMethodAttribute(), System.Web.Script.Services.ScriptMethodAttribute()] public static string[] GetCompletionList2(string prefixText, in...

ASP.NET MVC Displaying and automatically refreshing a progress bar for donations

Hello there, I am building a simple ASP.NET MVC site to record and track donations. We have a set goal of $2,500,000 and will be entering donations into a database as they come in. We need to have a meter or progress bar on the homepage to show how close they are to the goal. Right now I have a partialView that has the donationGoal and t...

Asychnronous Message Send Asp.net

I'm trying to learn about how AJAX stuff works under the hood. Say I have an asp.net form with a button on it. I then have a database with a single column DateTime. When I click the button on the asp.net form I want to insert a column in the database with the current time. I'll have a C# event handler: protected void btnButton_OnCli...

ASP.NET AJAX 4.0 client side databinding

I read some articles in MSDN magazine about new features in ASP.NET AJAX 4.0 - primarily client side data binding. I feel MSDN magazine sometimes contains a lot of "marketing" so I'm interested in opinions of real developers. Does it worth it? Do you plan to use it? Edit: Here are links for articles if anybody is interested. But at th...

Should I learn ASP.NET AJAX, jQuery or both?

I'm .NET developer. Most of my career I worked on web based intranet applications (ASP.NET WebForms) but always as a server side developer. Client side development was done by my colleagues more skilled in JavaScript and different JS frameworks. At the moment I have some JavaScript skills and very elementary understanding of both ASP.NET...

Updating JQuery UI Progressbar inside Updatepanel

How can I use JQuery UI Progressbar inside Updatepanel? When I try to do the following, progresbar is not being updated when it's inside updatepanel. <script type="text/javascript"> $(document).ready(function() { $("#progressbar").progressbar({ value: 0 }); $("#progressbar").css({ 'background': 'LightYellow' }); $("#progre...

AsyncFileUpload file size limit

When I was using AsyncFileUpload to upload 100KB image, I got no error message, but image not uploaded. I can upload 75KB image succssfully. I am using IIS 6.0. <cc1:AsyncFileUpload ID="afuImg" Width="400px" runat="server" UploaderStyle="Traditional" ThrobberID="Throbber2" OnClientUploadError="uploadErrorImg" OnClientUpl...

Best way to display & fade out a status message in asp.net ?

Hello fellows, I am using VSS 2005 & webforms with AJAX Control Toolkit. I am using Update panels for saving different parts of my form. Problem being I update the user with the status setting either a label or literal value. This value is visible on the form untill the page is refreshed. Is there any way to display a message and fade i...

Disable asp.net button on when clicked.

I have the javascript code below which disables an asp.net button during page postback. I also have a dropdownlist whose Autopostback property is set to true. Unfortunately, when i change the selectedItem in the dropdownlist, the button is disabled. I want the Button disabled only when the page postback is caused by that same button, b...