asp.net-ajax

ASP.Net free Ajax file upload control

I need an ASP.NET control for file uploads that can work in an update panel. Any ideas? ...

jQuery $(document).ready and UpdatePanels?

I'm using jQuery to wire up some mouseover effects on elements that are inside an UpdatePanel. The events are bound in $(document).ready . For example: $(function() { $('div._Foo').bind("mouseover", function(e) { // Do something exciting }); }); Of course, this works fine the first time the page is loaded, but when t...

Constantly repeating timer in an asp.net ajax page

Today I had my first test with the ASP.NET AJAX Timer Control, in hope that it would allow me to constantly keep updating my site. At the moment, it just updates once; this does not match the behavior of the previous .NET timers. Was the AJAX Timer control only made to update an item once? Or do I need to use another framework? ...

Ajax TabControl loading slowly.

I am having an ajax tab control in my page each tab contains some 15 controls. My tab container has some 10 tabs. Its take some time load in my web page. Please let me know how to reduce the page loading time. or anyother suggestions Since the number of database calls are less. The controls are read only displays. ...

ASP.net AJAX Search

I am looking for an example of using ASP.net AJAX to show a 'live' filtering of a repeater control based on what is being typed into a textbox. I have seen stuff using the Web Client Software Factory but am more interested in something that doesn't require an additional library. ...

How can you tell if a method is being run in UpdatePanel postback?

How can I tell if a method is running in the context of an AJAX postback (i.e as the result of a UpdatePanel (asynchronous) postback)? According to egoldin Page.IsAsync is a very common confusion that has absolutely nothing to do with AJAX. The correct approach is to use ScriptManager.GetCurrent ( Page ).IsInAsyncPostBack. ...

Using ScriptCombining through a ScriptManager on a Master Page

ASP.NET 3.5 SP1 adds a great new ScriptCombining feature to the ScriptManager object as demonstrated on this video. However he only demonstrates how to use the feature with the ScriptManager on the same page. I'd like to use this feature on a site where the scriptmanager is on the master page but can't figure out how to add the scripts I...

Is it better to have one UpdatePanel around multiple controls or separate UpdatePanels?

Hello, I have a web form that has multiple ListBoxes, TextBoxes, DropDowns. If I put one UpdatePanel around the whole page, I noticed the page is slower. Is this because, every control is being updated? If I put different UpdatePanels around each control, I noticed the page has a better response. Is it right to assume that this is b...

PageRequestManager is undefined

I am seeing this error intermittently. My app throws PageRequestManager is undefined and so fails to load. Oddly enough this only happens in firefox, ie loads fine. Anyone know what this error means. I've been working on the app for some time and I just started seeing this today. ...

Ideas for how to deal with viewstate when using ASP.NET AJAX and update panels

Here is a class that I wrote to solve some issues that I was having with viewstate. It stores the info in the users session and increments a value to track which state to show. The difficulty is that there is no support for the back button. The reason I originally had this was that before AJAX came along the viewstate was being send d...

What is more efficient - server calls with ASP.NET AJAX or jQuery?

I used jQuery exclusively on my last project to do all my AJAX calls. I used both $.ajax and $.getJSON calls to return data to the page. However, I see a ton of examples online using jQuery to handle UI and data formatting, but using ASP.NET AJAX to actually perform web service calls and retrieve data. Is it more efficient to use ASP.NET...

Any way to use ASP.NET AJAX when my server does not and can not have the ASP.NET AJAX extensions Installed?

Title says it all, but I have a server with .Net 2.0 sp1 installed and have no ability to install the AJAX extensions on the server. Is there anyway I could work around this to incorporate ASP.NET AJAX functionality? ...

Jquery's Ajax Property For Asp.Net 2.0

I always see the code like this in the blogs: $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: "WebService.asmx/HelloWorld", data: "{}", dataType: "json", success: function(msg) { ...

RegisterClientScriptBlock within AJAX method call

I am trying to RegisterClientScriptBlock in a method that is only called via an AJAX call. It doesn't appear to actually register the script on the page and I'm guessing this is because it's not actually reloading the entire page. Is there any way to register javascript on a page from within an ajax method call? protected void MyMeth...

ASP.NET Ajax

Hi there. I have a custom control that has the following prototype. Type.registerNamespace('Demo'); Demo.CustomTextBox = function(element) { Demo.CustomTextBox.initializeBase(this, [element]); } Demo.CustomTextBox.prototype = { initialize: function() { Demo.CustomTextBox.callBaseMethod(this, 'initialize'); this....

Third Party Controls for ASP.NET with Ajax Support.

Hi Guys, Ours is an upcoming company, so we cannot buy two three third party controls and find out by ourselves which the best one is.(One of the better solutions) We have a budget to buy just one. So we would like to know which is third party control is the best to use in ASP.NET based on your experiences. And also I definitely saw a ...

Rebinding events in jQuery after Ajax update (updatepanel)

I have several input and option elements on my page, each (well almost) have an event attached to update some text on the page once they change. I use jQuery which is really really cool :) I also use Microsofts Ajax framework, utilizing the UpdatePanel. The reason why I do that is that certain elements are created on the page based on ...

Why is my CalendarExtender getting overlapped when rendered?

I'm working on a .NET web application and I'm using a CalendarExtender control within it to have the user specify a date. For some reason, when I click the icon to display the calendar, the background seems to be transparent, shown below: I'm using the extender on other pages and do not run into this issue. I'm not sure if it is wort...

Are ASP.NET Web Parts a viable technology for implementing a portal architecture

Web parts seem to be used extensively in Sharepoint related development, but examples of using them in asp.net webforms applications are few and far between. I'm implementing a domain specific portal framework and like the "widgetlike" functionality in iGoogle or pageflakes and would like to get that kind of feature in my application. ...

How do I use ModalPopup from the ASP.NET Script-Only ajax control toolkit?

I am using the ASP.NET Client-Side ajax control toolkit in my asp.net MVC application. I see that there is a .js file named "AjaxControlToolkit.ModalPopup.ModalPopupBehavior.js" in the AjaxControlToolkit folder. However, I cannot find any examples on how to use it. [Edit] - As mentioned, I am using the Client-side, Script-only control to...