asp.net-ajax

ASP.Net: Asynchronous Update Panel Loading with two update panels

Hello, I am trying to asynchronously display data in update panels on a website where the data retrieval tasks take different times. I would like to update each panel to show the data on the page after each task finishes. However, no matter what I try, all Update Panels change their content after the last task has completed. For exam...

Use GET rather than POST for asp.net ajax call

I seem to recall being able to configure asp.net ajax using attributes on the methods to use an HTTP get rather than an HTTP post. Using a GET is possible isn't it? and to make this fun, which is more performant? ...

when add dynamic control in update panel then getting failed to load viewsate error ?

when add dynamic control in update panel then getting failed to load viewsate error ? see following example :- UpdatePanel panel = new UpdatePanel(); panel.ContentTemplateContainer.Controls.Clear(); if (strPopupType == "O") { Control ctrl = Page.LoadControl(@"~/Modules/MLM/UnilevelViewer/Desktop...

Is there any up-to-date documentation for AjaxControlToolkit?

Hi, I was discovering CollapsiblePanelExtender tutorial but then I found there is a better documentation in StackOverflow. Is there any documentation or even a book about AjaxControlToolkit that is up-to-date? ...

Virtual Directory and ASP.NET AJAX

Hi, I have setup a virtual directory in one of my websites but the updatepanels are not taking effect, they are still reposting the whole page. The problem seems to be the virtual directory because I tried setting it up as a website instead and the updatepanels worked... but when I set it back as a virtual directory they do not work anym...

How to create components (labels) on the fly? (or how to create facebook/hotmail-style to add contacts to message)

Hi there, What I want to do is to create something like that hotmail/facebook-style list of selected contacts.. with 1 little block and a "X" for removing each item. How could I achieve that in .NET? I thought of creating new labels "on the fly" and use .NET's Ajax UpdatePanel.. But, can I do it? if yes, how can i create a label on t...

ASP.NET AJAX: How can I send information to the client from server-side.

The page has already run its' initialise/load sequences etc but then catches an event. How can I then send value(s) from this event to the client. That probably doesn't make much sense, hopefully this will clarify: I have a grid (Telerik RadGrid) in a user control (A) and when the user selects a row in that grid, I want to update anoth...

Programmatically add a FilteredTextBoxExtender within a composite control

I'm currently trying to add a FilteredTextBoxExtender in a ASP.NET composite control, but I can't get it to work. I have the following code within the overridden CreateChildControls method: var textbox = new TextBox { ID = string.Format("{0}_textbox", ID); var filteredTextBoxExtender = new FilteredTextBoxExtender { ID = string.Format("...

Multiple Concurrent Postbacks when using UpdatePanels

Here's an example app that I built to demonstrate my problem. A single aspx page with the following on it: <form id="form1" runat="server"> <asp:ScriptManager runat="server" /> <asp:Button runat="server" ID="btnGo" Text="Go" OnClick="btnGo_Click" /> <asp:UpdatePanel runat="server"> <ContentTemplate> <asp:...

Click & Hold Mouse On Any Button/Link & UpdatePanel AsyncPostback Turns Into Full Postback

After reading this post you may want to kick me for my stupidity. But this issue was raised by one of our client, so I have to look into this problem. So bear with me and please read the entire question. The home page of my application is not meant to be unloaded automatically. Only when the user clicks the logout button or refreshes th...

Can You have iterative Ajax forms in ASP.NET?

I'd like to have X number of Ajax panels on my list page which is inside a master Page for site consistency. The tutorials I'm coming across on ASP.NET Ajax seem to imply I need a <form><asp:ScriptManager ID="asm" runat="server"/></form> around my <table></table> layout. I would think for this function (each code being an individual Aj...

Is it possible to put another element (button) inside a Checkboxlist Item?

Hello guys, I have a CheckBoxList that is populated via DataSource (each one with it's value coming from a database so I can't hard-code anything inside it), and I need to Add a button for details on the right side of an specific Item of the CheckBoxList when some event is fired. Can i do that? how? ...

ASP.NET UpdatePanel not working with Firefox

I'm trying to do something that sounds fairly simple using ASP.NET 3.5. A user should be able to add a "Community" to the database, and upon checking a box, pick a Parent Community from a DropDown menu that shows only if the check box is checked. For this I used a Panel (initially set to Visible=false) inside an UpdatePanel. My problem i...

Best way of catching a postback in javascript?

Hello. I am needing a piece of javascript to be run whenever a postback occurs. Well, actually multiple pieces. This is to be done inside a custom control, so the javascript code that should be run may be used a lot of times. I currently have it so that the custom control will create a chain of "overrides" for the __onPostBack function...

what is replacement for $addhandler and $clearHandlers

Hi! what is replacement for $addhandler and $clearHandlers? I do not want to use Microsoft Ajax. just want to user document methods. ...

How to stop postback when calling usercontrol

I have a ModalPopupExtender control and a panel which contains a iframe. The ModalPopupExtender's TargetControlID property is set to a html button control named btnFind. When I click to find button, the panel with its iframe control shows as a modal popup. This is work fine,but then I decided to take these control to an usercontrol a...

jquery dialog in updatepanel with repeater

hi. i got a updatepanel with a repeater in it. it display different events that i get from a calendar. now what it want for it to do is i click on a event and it should display in a jquery dialog. now this works great if i am not using a updatepanel but with it just wont work. i been looking for it yesterday for some time and i see...

Modify <head> from ASP.NET AJAX

Guys, I have recently upgraded to ASP.NET AJAX application. I have two css files in an ASP.NET theme. I use any one of the css per postback depends upon a condition. Previously with my non-AJAX ASP.NET application, what I used to do is protected void Page_PreRender(object sender, EventArgs eventArgs) ...

autocomplete code in C#

i have area list in alphabet wise, i want to display it when i enter first letter in my textbox. Autocomplete code in C# ...

Hidden field value in update panel not updated when accessed from JavaScript

I have a hidden field inside an update panel (.Net 3.5). On an asynchronous postback I update the hidden field value from code-behind, but when I inspect the value from JavaScript the hidden field has the old value. On a new postback, the hidden field value in code-behind is correct, updated from the previous postback. How can I get the ...