asp.net-ajax

Uploading File from Client to Server.

Hi, I am working on ajax-page using PageMethods (web service) to interact with server. I want to allow a user to upload a given file to server (at some fixed path on server). I know about FileUpload control in asp.net, but that wont work in my case. Since i dont want to user UpdatePanel or a dedicated server page. Is there a way to do...

Setting active tab in ASP.NET Ajax TabContainer causes entire container to disappear

I have an ASP.NET page that uses the ASP.NET Ajax Control Toolkit TabContainer. In the Page_Load event, I am hiding some of the tabs based on the data given to the page. I then want to make one of the tabs active based on the value of an (optional) query string parameter. So I have: protected void Page_Load ( object sender, EventArgs e...

How to create Web based visual Process Designer ?

I have been ask to design web based process designer (Business Process designer) in asp.net/c# . I have currently one programmer in my team and we have two months for this.We have found some open source BPM designers but we want to design our own as for our learning thirst? please give suggestions ...

Good ASP.NET books for the beach

or train, plane or couch. Most programming books are quite thick and require you to sit at a computer while you read it. Some of the thinner ones, like "Efficient C++" for example, are much better written and you can read them on the couch. I am looking for books like that on recent ASP.NET technologies. One example (though not reall...

How can I call javascript method from my aspx.cs file

I have a javascript method which I have to call from the aspx page at the time of page load. ...

Cascading DropDown bindings

Here is one: Is there anyway to see if a DropDownList control in my page is bound to an Ajax CascadingDropDown on run-time(Code)? thanx ...

AJAX.Net - UpdatePanel doesn't delete old content

I'm using AJAX.Net (3.5) inside a usercontrol. The usercontrol contains an UpdatePanel, and inside the UpdatePanelthere is a MultiView. The ScriptManager is included in the page that act as container for the usercontrol. To switch between views the usercontrol contains a simple button. When I click it, the View is changed so the old co...

Linq Intersect(...).Any() inside of a Where clause throws NotSupportedException

Whenever the tags argument is not empty I get a NotSupportedException: Local sequence cannot be used in LINQ to SQL implementation of query operators except the Contains() operator. [WebMethod] public static object GetAnswersForSurvey(string surveyName, int? surveyYear, IEnumerable<string> tags, IEnumerable<string> benchmarks) { I...

Cascading Dropdown without using any webservice

Hi all. I was looking for a way to do Cascading dropdown without using web service and come across this link I tried the suggestion at the bottom but i get the method 500 error. I search on this error on the web but all i can find is to increase the webservice jasonserislation size but i'm not using web service at all so i don't think t...

Are there any ASP.Net MVC reference applications

Hi, I am trying to learn ASP.Net MVC framework and I was wondering if there were any good reference applications that I could use to learn about implementing ASP.Net as well as best practices for implementing LOB apps. If possible I would like to see a ASP.Net MVC app that uses AJAX too. ...

input hidden and updatePanel (a story of ASP.NET AJAX)

Hi! How can update a input hidden inside an UpdatePanel on an AsyncPostBack? The user click a button outside the panel. The method associated with click event update the value of the input (it has runat="server" property). I can't update the value of this input. I need to store a value to use in the following postback. Maybe I can us...

Treeview with loading on demand large number of nodes on one level

I'm in a situation where I need to display a tree. However some of the nodes have 35000 child nodes (direct childs!). This of course is way to slow in terms of usability. I'd rather see that the tree loads only those nodes that are visible in the browser viewport. Such trees exist for WinForms and C++, does any of you know if such a ...

How can the UpdatePanel's ContentTemplate be hidden while an UpdateProgress is being used?

What is the easiest way to hide the Contents of an Update Panel when the UpdateProgress is invoked? ...

asp.net doesn't render Sys.WebForms.PageRequestManager._initialize code

i'm using the ASP.NET 2.0 Ajax Extensions on a web site. as always, everything is fine on local but the remote web site does not use ajax calls. my local server has the ASP.NET Ajax extensions installed but the remote one doesn't. i know that i should be able to use the Ajax extensions without installing them. so in turn, i added the ext...

ASP.Net + jQuery + jQuery validation plugin + UpdatePanel + nyroModal - success firing on each field!

I have a form containing a list of input fields that the user populates with prices (numbers). I have set their css classes to "required" and "number" so that the jQuery validation plugin validates them accordingly. All that is working perfectly well. The errors are displayed when each field is either not a number or the value is missing...

Accessing CascadingDropDown from javascript

Can i change the WebMethod of the Cascading on a client side event? ...

MS Ajax Toolkit now on backburner?

The reason for the title is the last update of the toolkit happened on August of 2008. http://ajaxcontroltoolkit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=16488 Is Microsoft not interested in supporting this product anymore? I just found a nasty bug that caused 2 days of hair pulling that should have been fixed years ago rega...

Improving AJAX autocomplete performance

I've a US city/state list table in my sql server 2005 database which is having a million records. My web application pages are having location textbox which uses AJAX autocomplete feature. I need to show complete city/state when user types in 3 characters. For example: Input bos.. Output:Boston,MA Currently, performance wise, this funct...

jQuery nyromodal + ASP.Net + UpdatePanel/AJAX - endShowContent not working, flickers, loses focus..

Hi All, I am using the jQuery nyroModal plugin within ASP.Net. I love nyroModal, and overall its working very nicely. But I am using the endShowContent callback to set focus to the first text input element on the page's content after nyromodal is finished loading. To achieve this I have the following code on the page that initiates the...

ASP.Net UpdatePanel + Gridview + Hyperlinks + jQuery nyroModal plugin - Entire new window opening, but I just want a modal

Hi All, I have an UpdatePanel with a GridView inside it. The Gridview has a TemplateColumn containing a Hyperlink. Using jQuery at the start of the page, I set all of these hyperlinks to become nyroModal modal hyperlinks. I.e. so when you click them, the target page is loaded into a modal dialogue. This code is: <script type="text/ja...