asp.net-ajax

system.web doesnt contain definition for script

The type or namespace name 'Script' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) it gives error in the following line "System.Web.Script.Services.ScriptService" i have included name space of system.web ...

JQuery Auto-Complete With TextChanged / OnBlur PostBack

I'm having a pretty nasty problem with an auto-completing textbox. I want to initiate an asynchronous PostBack whenever a user selects an item from the auto-completed field and retain the value of the item, rather than the text inputted. This works perfectly when enter is pressed rather than a mouse click. An example of my issue: Someo...

creating a jquery grid from json data that came back from an ajax request

hi everyone, i am searching for a way to create a grid (from some kind of jquery grid plugin didnt choose one yet) anyway i want to call a webmethod and return a json serialized from a List of an object i created. today i just use a regular grid view inside an iframe. but i want to eliminate that iframe and create those grids with aj...

Sys.WebForms.PageRequestManagerParserErrorException: What is the difference between normal rendering and partial rendering?

Hi All I am creating a proxy server in c#. I made it working except in case of partial postbacks. During partial postback, it is throwing exception saying Message from webpage Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the respo...

ASP.NET AJAX UpdateProgress in User Control for UpdatePanel in parent page

(solved, see below) Hi all I'm working on an ASP.NET web forms application. In my Page I have an UpdatePanel and a user control with an UpdateProgress and a bunch of buttons. When the user clicks one of the buttons, I'd like to perform an asynchronous postback and show the UpdateProgress. Can anyone help me with making the postback as...

Parsing with ASP.NET AJAX on IIS 7.5

Hi I have interesting problem here. Have you ever tried to parse (or convert or cast) string to int inside method triggered by child control inside the update panel?. Application is running on IIS 7.5. Everything works correctly under embedded VS application server, but then after deploy on IIS7.5 I am receiving famous asp.ajax error me...

How to relate controls and loop through the values

I have server controls that I am dynamically adding to a page and assigning a unique ID based on the index such as control.id = "mytextbox" + i What I am trying to do is have a related control for example each textbox would also have a related dropdown menu so users can enter a request in the textbox and select a quantity in the dro...

asp.net dynamic linkButtons click event problem

Hi, I have asp.net page on which I have placeholder and a button. After the button is clicked I want several LinkButtons to appear on my placeholder, and I want specyfic handler to be connected to click_event of my LinkButtons. Here is the code: protected void Button_Click(object sender, EventArgs e) { for(...) { LinkButton l ...

Change on of the 5 drop downs in the cascading drop down list sequence manually, but have the cascading effect work anyway

Hi, I have a form which has 5 cascading drop downs (Asp.Net AJAX). I need to now set the value of the 2nd drop down manually (via javascript), but have the remaining drop downs cascade based on the value I set. I have tried the following options, but none of them seem to help in resolving the issue: $find("cddName").set_SelectedValu...

Dynamically generated javascript files in a CompositeScript

I have a javascript file (with an .aspx extension) which is generated at runtime. It changes less than once per hour, generally. My goal is to include this javascript file in part of an existing CompositeScript on the server to reduce the number of server requests by 1. Yes, this is probably a bit crazy; I still wonder if it is solvea...

JQuery function fails when content loaded from Ajax form

I have a problem with an image that I am applying a custom jquery function against. Consider the following block of code. <% Dim sUniqueIdent As String = Now.Ticks.ToString%> <div id="chart<%: sUniqueIdent %>"></div> <script type="text/javascript"> $(document).ready(function () { bindLinksForChart<%: sUniqueIdent %>(); });...

Problem with Adding dynamic control in asp.net with Master page in use

Hello.. Here is my HTML Code <%@ Page Title="" Language="C#" MasterPageFile="~/Layout/FrontPage.master" AutoEventWireup="true" CodeFile="BussinessReg.aspx.cs" Inherits="UserForm_BussinessReg" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> <asp:UpdatePanel runat="server" ID="Update...

AJAXControlToolkit.Binary.NET35 does not seem to have TabPanel control as shown in demo

I installed AJAXControlToolkit .NET 3.5 which I downloaded from Codeplex and I was trying to follow the steps here - http://www.asp.net/ajax/videos/how-do-i-use-the-aspnet-ajax-tabs-control but I am not seeing the TabPanel control in my Toolbox. Do I have the wrong version of the AJAXControlToolkit? What am I doing wrong? ...

Populating the contentTemplate in a TabPanel which uses AjaxControlToolkit asynchronously

I have added TabPanels to my ASP.NET application as shown here - http://www.asp.net/ajax/videos/how-do-i-use-the-aspnet-ajax-tabs-control Now I need to populate the contentTemplate in the TabPanel asynchronously. Placing a ContentPlaceHolder as follows does not do the trick - <ContentTemplate > ...

ASP.NET Update Panel vs. jQuery AJAX

Is there a significant difference in performance between the two for relatively small post-backs? I'm taking in user input on a website, calculating some values from it and the returning it. Adding AJAX with update panel was really really quick obviously, but I'm wondering if I should just use jQuery instead. Also, how to the two metho...

Is there any way to debug the events on ajax update panel?

i am using ajax update panel for all my webpages but not able to debug on the events on the panel. any way? with visual studio? ...

How do I prevent the AsyncFileUpload from sending the file again on postback?

Hello, I am developing an application that manages a photo contest. In that application, I use an AsyncFileUpload control for the user selected photo. The server-side UploadedComplete does basic validation, and scales/clip the image as necessary. The problem is, when i click on the submit button on the page, the content of the AsyncFi...

Dynamically add items to a collection in MVC2 using EditorFor()

I'm trying to do this: Editing a variable length list, ASP.NET MVC 2-style In the post he mentions that it could be done with less code using Html.EditorFor(), but that it would be more difficult because of the indexes. Well, that's exactly what I want to do, and I don't know where to begin. I'm an ASP.NET novice who just completed th...

Force certain controls to do a full postback?

Hello, I have some controls within an UpdatePanel. Included are some buttons. How can I make these buttons so that they do a full postback rather than a partial AJAX postback? ...

MS UpdatePanels not really AJAX?

I keep hearing that the server side ASP .NET AJAX controls (like UpdatePanels) are not truly AJAX though they seem like it, because rendering is not completely on the client side. I'm trying to understand this with more clarity. Could someone elaborate? Thanks... ...