asp.net-ajax

Model Pop Up Problem asp.net

Hi Everybody, I have an gridview and asp.net calender inside it. On clicking a button i open it in a model pop up. But my problem is that when i change month it gets closed. I tried to put the whole gridview, only calender control in update panel , but my problem is not solved. Please Help Me, any help will be appreciated. Thanks ...

Check email availability with asp.net ajax and make page invalid if exists

I'm trying to performa an ajax validation for e-mail address. I need to know if user is already registered so I need to check it in my database. There is similar example: http://www.highoncoding.com/Articles/439_Performing_Instant_UserName_Availability_Check_Using_JQuery_Ajax_API.aspx My current code is: function validateEMail(email) ...

link images in ajax slide show

I had ajax slide show and I tried to make images as href to other link I didnot . <web service> public AjaxControlToolkit.Slide[] GetSlides() { return new AjaxControlToolkit.Slide[] { new AjaxControlToolkit.Slide("<a href='NewsEvents.aspx'>images/aboutus_Iso_2.png</a>", "QUALITY ASSURANCE CERTIFICATE ISO", "EL- ARABY group re...

How to always trigger an Asynchronous PostBack for an UpdatePanel from a Button in a DataList?

I have a DataList that has a collection of People bound to it, with each Person having a Button that when clicked needs to cause an asynchronous postback so the OnClick event handler can change the details shown in an UpdatePanel [the DataList is outside of the UpdatePanel]. I have made two attempts to set the Button to change the Upda...

MultiView issue with validation in form

Hi all, Currently I am working on a user control which has the following "layout": the user control elements are placed inside an Update Panel inside the Update Panel I have a MultiView control with 4 views: first view 2 buttons to select the type of the user to create (clicking one button changes the active view to the second view, c...

ScriptResource.axd 404 not found

I have this WebApp in .NET 3.5, using MS Ajax and jQuery UI. It works fine locally but when I publish it on the statging server it gives a 'Sys' undefined javaScript error. Furhter investigation, I found that the .axd files are not loaded and it is a 404. I checked the web.confing and I have the necessary entries under the . I googled an...

Value cannot be null. Parameter name URL on ASP.net form submit

Hello, I have a ASP.net webform with few controls and when I hit the submit button I am getting the following error sys.webforms.pagerequestmanagerservererrorexception: Value cannot be null. Parameter name:url On submit of the button I am just inserting values into the database. How do I fix this issue? When I try to put a breakpoin...

Javascript timer

I have a set of objects and each those object keep track of some strings. Those objects are created at page load and stored in an object array. I have four user controls in ascx file that displays those strings of a particular object at a time. And also I have a play button in the same ascx file which is default set to play. When I load...

Can a MSChart series become a ModalPopupExtender's TargetControlID?

Hi, I'm asking for advice about MSChart. I need to breakdown my chart into more detail charts. It is when the user click a series. I want to display the detailed version of the chart in a modalpopupextender. Can a serie in a chart become a targetcontrolid in a modalpopuextender? Or do you have another advice to breakdown my chart? Than...

Pass asp.net session variable to a web method called via jquery

function getMainContent(ID, num, lang){ $.ajax({ type: "POST", url: "WebMethods.aspx/showMain", data: '{AID: "' + articleID+ '", ANum: "' +num + '"}', contentType: "application/json; charset=utf-8", dataType: "json", success: showSuccess, failure: function(response) { alert(response); } }); lang...

Scriptmanager history in user controls

i am using some filters in my list page for filtering the data all these filters are actually a user control and ajaxified i want to use scriptmanager history feature for solving the back button issue how can i use that in this usercontrol ...

ASP.NET UpdatePanelAnimationExtender print problem

I'm having problems printing in ASP.NET when using an UpdatePanel and UpdatePanelAnimationExtender. I am filtering content in a Repeater which is inside an UpdatePanel with an UpdatePanelAnimationExtender attached to add a fade in effect. When the page first loads the content of the Repeater can be printed. After the UpdatePanel is refre...

Get ASP.NET control which fired a postback within a AJAX UpdatePanel

Related to this question: On postback, how can I check which control cause postback in Page_Init event If the control is wrapped in an ASP.NET AJAX UpdatePanel, the variable "control" is empty because it has a different ID after the AJAX PostBack. Is there a solution to get the control which fired a postback within an ASP.NET Ajax Updat...

XMLHttpRequest different in IE8 vs. FireFox/Chrome

I'm having a problem similar to http://stackoverflow.com/questions/2721970/jquery-ajax-not-working-in-ie8-but-it-works-on-firefox-chrome, but with a different use case. I'm using the jQuery Form plug-in to handle a file upload to an ASP.NET MVC controller, which sends the file off for parsing and processing. If an Exception is thrown, ...

ASP.NET MVC 2 Confused about Javascript

Hi I'm building my first MVC 2 app and I'm really confused by all the examples I'm reading. I am also using the Telerik MVC kit for their Grid, and other such controls. I've read many tutorials and watched videos but I can't quite grasp the pattern of where to place javascript and how to wrap blocks of code in the appropriate tags. For ...

A call error on a web method using ajax platform... Unable to connect to the remote server ?

the methods below used to work but now I get this error: Error: Sys.Net.WebServiceFailedException: The server method ' failed with the following error: System.Net.WebException-- Unable to connect to the remote server how can I fix it? function CallMe() { // call server side method PageMethods.GetData(function (result) { ...

Ajax History problem

i am having an ajax enabled list page in which there are 5 filters i am using script managers history feature for storing the history it is working fine if i stay in that page the problem is that suppose i apply all the five filters then move to new page and the press backbutton it is reloading that page with last filter only not with al...

Can CallbackEventHandler send multiple responses to the client?

I've implemented ICallbackEventHandler to handle data sent from the browser's javascript. (The user clicks something, causing eventArgument to be sent to the server. The server invokes a service to obtain regarding that value.) Everything works great so far, but I actually need to invoke three different services with the same eventArgume...

Delay in production environment to show ajax progress ?

Is it OK to use threading.sleep in an intranet web application to display AJAX loading (in production environment)? Off course, the application works fine without it but all works too quick for the end user or even a developer to notice any difference. What is the recommended approach ? ...

Massive ScriptResource.axd - is this caused by ASP.NET AJAX?

I'm running fiddler against my live website which uses a bit of ASP.NET AJAX and a bit of query. I'm noticing a MASSIVE ScriptResource.axd file of 300KB Starts off like this // Name: MicrosoftAjax.debug.js // Assembly: System.Web.Extensions // Version: 3.5.0.0 // FileVersion: 3.5.30729.196 //------------------------------...