asp.net-ajax

how to use more than one dragpanelextender Ajax control in one panel in asp.net framework 3.5.

how to use more than one dragpanelextender Ajax control in one panel in asp.net framework 3.5. ...

AutoCompleteExtender - authentication failure (forms authentication)

I'm using the AutoCompleteExtender from the AJAX control toolkit on my aspx page - I have it wired up to a WCF service that is returning a string array and everything works happily. If I change my service definition to include a demand for the caller to be authenticated, like so: <OperationContract(), PrincipalPermission(SecurityAction...

ASP.NET AJAX and WCF behaviorExtension problem

I have simple wcf service with one operation: <service name="HelpService"> [WebInvoke(Method = "POST", ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json)] [OperationContract] public string GetQuickHelp(string contentId) Service is used on client side over JQuery. All works ok without any...

Why do escape characters break my Telerik call to ResponseScripts.Add(string)?

this displays the expected javascript alert message box: RadAjaxManager1.ResponseScripts.Add("alert('blahblahblah');"); while these does not: RadAjaxManager1.ResponseScripts.Add("alert('blahblah \n blahblahblah');"); RadAjaxManager1.ResponseScripts.Add("alert('blahblah \r blahblahblah');"); RadAjaxManager1.ResponseScripts.Add("alert(...

xmlhttprequest always return with status code 0 for firefox

hi, I am trying to make asynchronous calls using xmlhttprequest object so it completely works fine in internet explorer but for firefox it wont work a small code snippet of problem if (req.readyState == 4) { if (req.status == 200) //here firefox gives status code always 0 and for IE works fine { //read response ...

Best way to do partial update content on ASP.NET

Initially i was planning to use master page for every page in my application. At the end, i found out every times the page is changed, it reload full page even it have the same master page. I have confused the frameset with the master page. Then, i have 2 ideas in my minds to achieve it by not using master page. Using iframe and set th...

MS Ajax Sys.require

in ms ajax with below command we can load array of js files. and when those files are loaded callbackFn is called. Sys.require(arrayOFFiles,callbackFn); if any files out of arrayOfFiles is not downloaded because of some problem callbackFn is still invoked. So how can we detect like which files were downloaded successfully and which ar...

ASP.NET AJAX DataContext object not tracking changes on nested complex types

I've been struggling for ages now to get the ASP.NET AJAX DataContext object to track my changes to complex types. The binding seems to work and the underlying object gets updated, but the DataContext object does not track the change. Here is a simplified version of my code (with the WCF fetch and save call taken out). <!DOCTYPE html ...

ASP.NET Update Panel with CheckBox - Not Working Properly

I'm working on a simple demo project so that I can learn some things about ASP.NET's AJAX capabilities. My problem is that I can't seem to get an UpdatePanel to work properly with a CheckBox inside of it. Here is the markup I'm using in my .aspx file: <%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="UpdatePanel.aspx....

Iframe vs dynamically loading web user controls

I need some advice on techniques to perform page redirect in asp.net. Which one is more recommended to use in asp.net? Dynamically changed the src of the Iframe to difference aspx. Dim frame As HtmlControl = CType(Me.FindControl("frameMain"), HtmlControl) frame.Attributes("src") = "page1.aspx" Dynamically load web user controls to an ...

CascadingDropDownList not working with anonymous access

Hi everyone, I use a CascadingDropDownList of the AJAXControlToolkit in a ASP.NET MCMS 2002 web application. The CascadingDropDownList works as expected until "Anonymous access" and "Integrated Windows Authentication" flags are both checked (and this is the situation in the production environment) in the Directory Security settings on th...

Setting Session Variable from UpdatePanel

I am using ASP.NET 2.0 AJAX Extensions 1.0 with the version v1.0.20229 of the AJAX Control Toolkit (which to my knowledge is the latest for .NET 2.0/Visual Studio 2005). My web page (aspx) has a DropDownList control on an UpdatePanel. In the handler for the DropDownList's SelectedIndexChanged event I attempt to set a session variable. ...

How to show search box in a specific website's description at google SERP page

How to show search box in a specific website's description at google SERP page. For example when we search for YouTube in google the SERP page shows a search box in website description of YouTube with a button saying Search Youtube.com: http://www.google.co.in/#hl=en&amp;q=youtube&amp;meta=&amp;aq=f&amp;aqi=g10&amp;aql=&amp;oq=&amp;gs_rf...

Internet Explorer Caching asp.netmvc ajax results.

I'm having an issue with a page in internet explorer. I have an ajax call that calls a form, in other browser, when I click the link it passes in the controller and load correctly data. but in IE, when its loaded once, it aways brings me the same old results without passing in the controller. ...

[Method Error 500] in Cascading dropdown update in Ajax Control Toolkit

I am getting [MethodError 500] when I use cascading drop down. below is my code <tr> <td > Select a Hoster: </td> <td> <asp:DropDownList ID="ddlFeaturedHoster" runat="server" ></asp:DropDownList> </td> </tr> <ajaxToolkit:CascadingDropDown ID="cddHoster" runat="server" TargetControlID="ddlFeaturedHoster" ...

Getting "The WebResource.axd handler must be registered in the configuration to process this request." error

I'm getting this error while running my ASP.NET app on IIS7. I've tried doing what it says to do but it doesn't help. The WebResource.axd handler must be registered in the configuration to process this request. > <!-- Web.Config Configuration File --> > > <configuration> > <system.web> > <httpHandlers> > ...

Editing a Gridview row with drop-down lists gets too wide - how can I use popup panels instead?

I have a series of GridViews in a Tab Panel - databound to a generic List of Business Objects. The columns in the Gridview are all similar to the following: <asp:TemplateField HeaderText="Company" SortExpression="Company.ShortName"> <ItemTemplate> <asp:Label ID="lblCompany" runat="server" Text='<%# Bind("Company.ShortName")...

ajax control toolkit watermark extender and update panel problem

I have a web page that initially loads a drop down list. When an item is selected from the list, a web form is dynamically created during an update panel async postback. I added watermark extenders to some of the textboxes, but the watermark does not display when the page is first updated. If I focus in and then out of one of the textbo...

ASPX ajax form post help

Hey all, i have this peice of code that allows a user to select a jpg image, resize it and uploads it to the server driectory. The problem being is that it reloads the aspx page when it saves the image. My question is-is there any way to do this same thing but with ajax so that it doesn't leave the page after submitting it? I've done th...

Is it possible to share session state between asp.net aspx page making a call to an asp.net webservice

My Situation: I have 1 asp.net application with both aspx pages AND webservices I make calls (using ajax) to the webservice from an aspx page - all within the same asp.net application! Here is my problem/question Is there any way to share the session state? I.e. - the aspx page has a sessionID and the state is being maintained. Whe...