asp.net-ajax

Using jQuery in ASP.NET

When using the AJAX functionality in jQuery, do I also have to have ASP.NET AJAX/.NET 3.5 installed also? or can I only use ASP.NET AJAX? I'm unclear on whether or not I'm able to use AJAX in ASP.NET without ASP.NET AJAX or not. ...

How can I deserialize JSON to a simple Dictionary<string,string> in ASP.NET?

I have a simple key/value list in JSON being sent back to ASP.NET via POST. Example: { "key1": "value1", "key2": "value2"} I AM NOT TRYING TO DESERIALIZE INTO STRONGLY-TYPED .NET OBJECTS I simply need a plain old Dictionary(Of String, String), or some equivalent (hash table, Dictionary(Of String, Object), old-school StringDictionary-...

Possible to load ASCX with jQuery.load() function?

Is it possible without encapsulating these controls in aspx files? The Register tag makes me think that it is not. ...

Temporary Datasource

I have a gridview bound to a sql server datasource. I am currently moving selected items to a ListBox to show chosen records. I'd like to switch to the ReOrderList from the AJAX Toolkit to be able to reorder the selected items. Unfortunately, the ReorderList needs a true datasource to bind to. What is the best practice for creating s...

Benchmarking ASP.NET websites - How to properly encode HTTP requests (manually) inside of ASP.NET UpdatePanels

Greetings. I am attempting to manually create HTTP Requests with the proper post parameters inside of an update panel. The goal of this is to execute a potential user's path through a web application so that we can benchmark performance. Our benchmark script executes a path by generating HTTP requests, and I'm trying to execute some "...

Cannot do response.redirect from page with Ajax controls

I have a page that contains many user controls, each of which uses Ajax. When I load this page, under certain conditions, I want to do a response.redirect; however response.redirect statement is being trapped by Ajax code and never happens. How do I do a response.redirect from a page that contains Ajax controls? Thanks.... ...

dynamic updating of a web page

I need to change a part of my web page content dynamically without refreshing the entire page. Like Myspace or Facebook users gallery. Does anybody know of any useful scripts with a working back button and changing address URL accordingly? ...

What would cause a "Method error 12152" in a cascading dropdown list?

Bit of a long shot but has anyone come across a “Method error 12152” in a cascading dropdown list from the AJAX control toolkit? This is occurring in a system which is used globally but the error is only surfacing in Chinese language clients. There have been no recent codebase or server changes and the error has only just started and is ...

ASP .NET 2.0 on Apache (Windows XP) ?

I am building an ASP .NET 2.0 web app for an intranet environment. The site may have to be hosted on an XP machine in the LAN. IIS would restrict the number of connections to 40. My requirements are different - the number of clients in the LAN could be much higher - say upto 1000 or maybe even more. The site is built using ASP .NET 2.0 ...

Is ultidev cassini good for hosting ASP .NET 2.0 (Ajax 1.0) based web app (intranet)

The server needs to be installed on Windows XP and has to host an ASP .NET 2.0 + ASP .NET AJAX 1.0 based web application. What is the simultaneous connection limit? (as opposed to 40 in IIS on XP) Are there any other limitations/short-comings that I need to be aware of? ...

AjaxControlToolKit TabContainer - Maximum number of Tab

I am using AjaxControlToolkit, it's working good for me. But when i use 50 or 100 tabs in my tab container, I see Horizontal scrolled bar in the Browser page. I need left and right side arrows of when i move next tab in tab container. How to define page limit in "Ajax control toolkit - Tab container" or have any example about my question...

tabIndex Attribute and AJAX

I've seen some posts about tabIndex issues, but I was unable to find one like the scenario below that I need to fix. So here's the lowdown on the project. It's an ASP.NET 2.0 web app using AJAX 1.0 Extensions and jQuery. I'm looking for any ideas from any programming language to handle a scenario like this. So first off, I know how to...

ASP.Net AJAX issue in IE6 - Windows 2000 machine

Are there any known issues with ASP.Net Ajax and IE6 in Windows 2000 machines ? We have implemented ASP.Net AJAX in our web application. We have used UpdatePanel to implement ajax (Page content is refreshed based on User action.) We are seeing an issue in windows 2000 machines with IE 6. The Ajax calls are failing with the error 'Sys...

Any suggestions for a nice ASP.NET Ajax tooltip?

I am looking for a nice tooltip control (with delay) in ASP.NET AJAX. I know there are many nice Javascript libraries out there, but since I am already using ASP.NET AJAX, I may just as well use that. ...

Convert FormCollection to JSON

I have: Function SaveAnswers(ByVal collection As FormCollection) As ActionResult End Funciton And I want to turn collection to JSON, I thought there was a serializer to do this but can't seem to find it? ...

Real time dashboards

I need to add a real time dashboard of data to a ASP.NET MVC application. The dashboard needs to be refreshed every few minutes from SQL server 2008. I was going to use ASP.NET MVC, with jQuery and AJAX. But Silverlight 3 is a possible option (each client has Silverlight 3 installed). I know WPF, is it worth the jump to SL 3 for this? ...

How to inject Javascript from code behind when back button is clicked? (asp.net)

How to inject JS code when browser's button is clicked? I noticed that RegisterStartupScript during that page life cycle doesn't inject any JS code. OR How to force any browser to not use the cache and do a fresh complete page load when back button is used? ...

Interesting issue with ScriptManager timeout value happens only in win2k machines

When I set the Asyncpostbacktimeout value to a large value like 3600000000, the scriptmanager throws a timeout exception (it throws the error almost immediately after user action which triggers ajax request, so it is not timing out because the server is not responding). If I reset this value to some sane number like 3600 or even 36000, i...

Should I switch to ASP.NET?

Hi, I'm a web developer currently using mainly JavaScript and HTML and I use various bits of backend PHP or servlets when I need to. I get the impression a lot of people are using ASP.NET and it seems to have a big community and lots of re-usable components and widgets. Should I make the switch to ASP.NET? What else should I take into ...

Using ASP.NET AJAX UpdatePanel with Handlers

Hi, Im using UpdatePanel for some controls specially for captchas so, when a AsyncPostBack is performed triggered by a button "btnQuery", How can I tell to the .ashx (Handler for Captcha) to refresh it self? Im using session to validate the Image on Captcha to the Num on the input below the image this is the Handler : <%@ WebHandler...