asp.net-ajax

Prevent CascadingDropDown from making initial AJAX call

I'm going to pre-populate my drop down lists on the server side. I only want the cascading drop-down to fire if the parent control changes. ...

ajax post url issue using jquery

i request a ajax call using jquery $.ajax{} on url parameter i hardcoded the path as "/Home/Ajaxpost" its working fine with default, but i hosted in IIS so the project name included in path like "/Project/Home/Index" so now if the request goes lik "Home/Ajaxpost" fails Action not found. How can i dynamically set the path for ajax...

Webcam integration in asp.net with the help free apis

i'm currrently looking for a solution which is integrate webcam (at client side) with my web application that programmed . i need to detect client webcam and then stream the capturing video from the webcam to my web application and then allow them to capture image by clicking button on my web application. Plz help your prevoius topics a...

ASP.NET: JavaScript object Component for Composite Control

Hi! I have two doubts: 1. I would like to add some client side support for my server composite control but I can't find the correct way to add JavaScript to him. 2. Another feature I would like to have for the client-side support is to have my JavaScript component object returned through $find(id, parent) (shortcut to findComponent me...

ASP.NET Ajax - Using jQuery BlockUI in two places; can I unblock a specific div?

I'm using the jQuery BlockUI Plugin (v2) because it rocks the casbah. For every ASP.NET AJAX request made on the page, I use the InitializeRequest and EndRequest client-side events to block and unblock the UI, respectively -- this allows me to easily throw up a "Please wait..." dialog. Code is as follows: var prm = Sys.WebForms.PageReq...

Bind handler to Ajax Sys.Component.propertyChanged event

"When you create a client component class, you define the properties that you expect page developers to access. You can also raise Sys.Component.propertyChanged notification events in the set accessors for properties of your component. Page developers who use the component can bind the property notification event to their own handler to ...

ASP.Net AJAX ValidatorCalloutExtender issue

I am building a User Control (requirement – has to be User Control). This user control is inside an AJAX Update Panel on the parent page. The user control has two Infragistics Web Date Chooser controls on it. Both dates are required. I have placed asp.net RequiredFieldValicators on both controls. I have placed ValidatorCalloutExtend...

Resources for What and how NOT to use ASP.NET AJAX?

It's very easy to put an UpdatePanel and have AJAX working. I am looking for resources on how to best use ASP.NET AJAX for maximum performance and security. Resources for best practices, guidance, design patterns, gotachas, pitfalls when using ASP.NET AJAX. I am not looking for books on ASP.NET AJAX. Amazon lists those. ...

ajax animation Control

I have a popup login in my webform .I tried to use the ajax animation control for the panel ,means popup.when i click a hyperlink i want to fadein popup.how can i use the animation control correctly? Anybody knowsw please help me.. thank you.. ...

ASP.NET MVC AjaxHelpers recommended usage

It seems all the examples I come across specifiy an UpdateTargetId to render out the HTML content of the Ajax response. This is quite a bit different than how it's done in the Rails world, where the response content contains JavaScript code which manipulates the page. The Rails convention seems more powerful. What's the recommended usag...

Nested UpdatePanel Triggers

My child UpdatePanel updates both its contents and those of its parent UpdatePanel. <asp:UpdatePanel ID="UpdatePanel1" runat="server"> ... <asp:UpdatePanel ID="UpdatePanel2" runat="server"> ... </asp:UpdatePanel> ... </asp:UpdatePanel> I don't want my parent UpdatePanel t...

Deploying ASP.NET MVC 2 Preview 2 with Areas

We migrated from MVC 2 Preview 1 to MVC 2 Preview 2 to using multi-project areas. Everything works perfectly on local dev machine (Visual Studio 2008 SP1/IIS 7), however, it's does not work after I publish it to the server (Windows Server 2003/IIS 6). The deployment is done through the Build->Publish option in the VS2008 menu. I had als...

HTML Editor problem in Ajaxcontroltoolkit in ASPNET

I'm using Html Editor from Ajaxcontroltoolkit(Latest Release)in ASPNET Page. The text area of HTML Editor is shrinked when it is opened in Google Chrome. Plz,somebody help me ...

AJAX change in .NET 4: Sys.Services.AuthenticationService

I'm testing my existing apps in VS 2010, and ran into my first break. ASP.NET AJAX authentication support has changed. Sys.Services.AuthenticationService.set_defaultLogoutCompletedCallback(OnLogoutCompleted); This no longer works. "Sys" is defined, but "Sys.Services" is an undefined object. Does anyone have a quick pointer to the repl...

ASP.Net Ajax Stackoverflow style Vote Button

I've been looking to implement a StackOverflow style voting system on my ASP.NET site using ASP.Net Ajax. I've looked at the controls in the toolkit and generally been very impressed but nothing quite suits my needs. I like the Rating control, but I'd rather use Up/Down voting instead of a vote out of 5. The ToggleButton is also close to...

javascript (ASP.NET AJAX) refactor help - function not running

Here is the js file. The function SubmitCheck is running but when there is a state, I want to do the address check and it doesn't appear to run. What am I doing wrong? Thanks, ck in San Diego var prm = null; Sys.Application.add_init(Init); function Init(sender) { prm = Sys.WebForms.PageRequestManager.getInstance(); WireEven...

Image.FromStream(PostedFile.InputStream) Fails. (Parameter is not valid.) (AsyncFileUpload))

I'm using an AsyncFileUpload (AJAX Toolkit) to upload images. I have a Button which handle the image resizing. This have worked fine for some time, but not anymore... protected void BtnUploadImage_Click(object sender, EventArgs e) { var imageFileNameRegEx = new Regex(@"(.*?)\.(jpg|jpeg|png|gif)$", RegexOptions.IgnoreCase); ...

Table row not updating correctly using MVC Ajax

I have a table with each row as an ascx. This control consists of a Ajax form which includes cells which might have inputs. Here is the ascx: <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<NerdDinner.Models.Dinner>" %> <% using (Ajax.BeginForm("ViewAll", new AjaxOptions {UpdateTargetId = "Dinner" + Mod...

why ajax modelpopup hides behind silverlight object?

I have silverlight plugin on my page and some functionality to show panel as popup with the help of Ajax ModalPopup extender, But whenever show modal pop up it hides behind the silverlight plugin i.e. plugin is always on top? any suggestion to solve this problem? ...

Problem with recaptchacontrol inside updatepanel

I have a recaptchavalidator, which is inside an updatepanel: <asp:updatepanel runat=server id=updatepanel1> <cc1:recaptchacontrol runat=server publickey=.. privatekey=.. id=recaptchavalidator1/> <asp:button runat=server id=button1/> </updatepanel> I am sure that some of you can guess what happens. For those of you who hav...