asp.net-ajax

Microsoft Ajax Control Toolkit vs. jQuery

Hi, we are currently developing a couple of custom asp.net server controls. Now we'd like to add some Ajax support to some of them. Now basically there would be two options Microsoft Ajax & Microsoft Ajax Control Toolkit jQuery I worked already with the Control Toolkit, writing a complete Extender and it was quite intuitive, once yo...

Content Template within an UpdatePanel

Hi, When I try to include both td definitions in one content template within one UpdatePanel I get the error below: Error:Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00_schoolAdmin_UpdatePanelSchoolAddress'. If it is being updated dynamically then it must be inside another updatepanel' " I have had to now spli...

ASP.NET AJAX’s Combobox - Use HTML Tags in list entries

I'm using the new Microsoft ASP.NET Ajax Combobox control. But I want to use HTML-Tags for formatting in the DropDownlist. It renders to <ul> and <li> and not to <select> and <option>, so it should be possible. My Control looks like this: <act:ComboBox ID="cbxCompany" runat="server" Width="180" AutoCompleteMode="Append" CssClass="Co...

Looking for ASP.NET(MVC, AJAX) Image Manager

Anybody help, I need Image Manager with multi-upload, crop, resize.... And final cost less $150. Maybe somebody using this perfect solution - I want too. ...

How to implement a file download in ASP.NET AJAX

I would like to use standard ASP.NET file download response, like in other Stack Overflow question. Response.ContentType = "application/octet-stream"; Response.AppendHeader("Content-Disposition","attachment; filename=logfile.txt"); Response.TransmitFile( Server.MapPath("~/logfile.txt") ); Response.End(); But inside update panel it ...

Combining scripts - Toolscript manager vs CompositeScript in 3.5

I've been using the toolscriptmanager included in the AjaxControlToolkit on my site. This one has a CombineScript attribute that tells the scripmanager to combine the necessary scripts from ajax controls into one single script file. However, since 3.5, the standard scriptmanager has support for "<CompositScripts>" where you can combine ...

jquery $.ajax vs asp.net ajax to consume asmx services.

hi, i was wondering if there is any significant difference between consuming .asmx services with asp.net ajax calls - serviceName.method(param,...) or with the jquery $.ajax call. I'm currently using the asp.net ajax which seems simpler but i get the js proxy file as well. i don't mind getting my hands a little dirty if using jquery is...

Asp.Net Server-side implementation options for Ajax site

I'm very new to the whole Ajax/Asp.Net stuff so... I know that there are at least a few different ways of implementing the server-side of an Ajax enabled Asp.Net site. One way is to add static methods to your aspx page's code-behind and mark them with the WebMethod attribute. Another way is to use a separate ASMX web service fil...

Viewstate Optimisations

Hy, I'm interested in some general optimisation methods in an asp.net ajax project for Viewstate (ex. to reduce the size of viewstate , or just speeding up the viewstate somehow, or others this should be a general discussion :-) ). So what kind of optimisation do you use for ViewState? What possibilities are offered on Asp.net or Ajax...

How to post newly added contents of listbox to Ajax based server method.

I am using the AJAX.DLL to call the server methods. Now I need to send the newly added contents of listbox to the server method. So, what should I do now? ...

Whats the best way to rotate images after a user interaction

I'm wondering what would be the smoothest way to change an image on a web page after a user action. E.g Say a listbox contains a list of book titles. each time a user clicks on a title I want the book cover associated with that title to display in a panel. The data in the listbox is from a dataset which also contains images for each row....

How to pass querystring to Ajax WebService

Hi friends, Here I am using Asp.Net Ajax SlideShowExtender Control for creating slide show of images which are stored in the database. This control which uses GetSlides() webservice for retrieving the database information. Now I want to pass a querystring to GetSlides() webservice so that the images rotate as on the value in querystring....

ASP.NET AJAX Toolkit: AutocompleteExtender: How to add suffix character to a selection?

I would like to add the delimiter after the selection after it is selected. Say, if I select "beautiful", then it will add "beautiful; " into the textbox. ...

I'm thinking of migrating ASP.Net Ajax ScriptManager Javascript to JQuery, what do I need to look out for?

I've been working on a website for quite some time that makes heavy use of ASP.Net 3.5 and it's many ajax features. I particularly use the ScriptManager to register WebServices (.asmx) a lot. I also use their $get('idnamehere') method all over the place. I'm not really using any Ajax.Net pre built tools (like from the Toolkit) everything...

Getting an Ajax call to return into my Javascript context

Given an instantiated JavaScript object/class can I make an Ajax call from that class and have the returning success function callback into the caller's object? Currently I can get the callback to return back into the object, but I lose the "this" property, which kills the state of my object function BaseConsoleHelper() { this._iconInd...

Giving Style to TabPanel from code behind

I am using TabContainer inside that one or more Tab Panels. I want to give style to a particular Tab Panel from code behind. How I can do that. I tried but it is not taking. I have tried like this TabPanel.CssClass = "myStyle"; ...

Fire async postback from jquery

Is there a way to fire a postback to the server through jQuery? I've tried just putting the postback signature in a .change method on a hiddenfield but it causes a full postback. ...

Why can't I hit the event handler in the code behind doing a modal popup postback

I am basically trying to do what this article says. link text I am able to postback, but my handler is not getting hit. Any ideas? Code Behind protected void Page_Init(object sender, EventArgs e) { WireEvents(); } private void WireEvents() { btnAuthOk.Click += new EventHandler(btnAuthOk_Click); ...

How do I find the my version Number of MS ASP.NET AJAX Control Toolkit ?

I know I am not running the most up-to-date version of ACT on my server. (I tried to update it recently and it broke a bunch of things.) So I want to use a control that I have never used before and I need to look at the reference for the control to be sure I'm using it correctly. But I dont know the exact version I am running. Where ca...

Asp.net Ajax with Master page

Hi, I am working in ASP.net with .Net Framework 2.0 and VS 2008 Team System I have a master page page and n number of content pages. On the master page i have put a ScriptManager tag and on content page I have an UpdatePanel. But whenever and event like button click is fired form the content page, whole page is post backed. How do i so...