asp.net-ajax

Localizing "ajaxToolkit:CalendarExtender"

Hi All, I am using ajaxToolkit:CalendarExtender in my multi lingual project. The problem with this calender is that it localizes the month strings in the control but doesn't localize the Today string and i need to localize this text also. Please anyone help me out in this problem. ...

How to access values set in asp.net ajax updatepanel from jquery

I set values (of server controls) in an update panel via code-behind, it must be using some javascript method to set those values. if i try to access them through jquery after this, it doesn't recognize anything set by asp.net ajax asp.net: <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:Button ID="Button1" ...

Using GXmlHttp and Webservices

I'm trying to use GXmlHttp in the Google Maps API to call a Webservice of mine (myService.asmx?op=myMethod) and am not having luck. Is there a way to call this web method using this object? Some sample code: var request = GXmlHttp.create(); request.open("POST", "http://myDomain/MyServicee.asmx?op=MyMethod", true); Nothing comes back...

Possible paths to convert windows form application - hybrid of controls and html - to web

The existing application mixture of native and third party controls and hosts IE in a webbrowser control for rendering html. Also there is bi-directional update of UI - selecting anything in native controls ( e.g. treeview ) updates html , and vice verse javascript or hyperlinks in a webrowser may cause certain actions which update UI o...

Web Service call fails from JQuery

Hey guys, Really appreciate any help someone might be able to offer! I've been trying to set up a JQuery Ajax call to a web service, and the little debugging I've done so far shows that the web service will return parameters and from the client side I've use the alert function to show that data is going to the data string, but then I ...

ASP.Net Listview & AJAX Update Panel

Guys, I have to create a listview which contains thumbnails of few items, and when we click on the more button it should display rest of the items in the same listview,. how do i achive this, i dont want to do a postback and i would like to do this with ASP.Net Listview and AJAX Update Panel, i went through the web and seems ppl are f...

Databound Listview in UpdatePanel

Hello I am using a Listview in a usercontrol that I databind to a list of object in the page load event. protected void Page_Load(object sender, EventArgs e) { if (IsPostBack) return; BindListViews(); } private void BindListViews() { MyListView.DataSource = IncludeExpressions; ...

What will be the event name for checkbox checked event while using ajax trigger asynchronous call ?

<asp:ScriptManager ID="ScriptManager1" runat="server"/> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <Triggers> <asp:AsyncPostBackTrigger ControlID="chkStaySignedIn" EventName="Checked" /> </Triggers> <ContentTemplate> <asp:Label ID="lblPassword" runat="server" Text="Password" AssociatedContr...

Customize ASP.Net Ajax Framework

When I use a script manager in Web Forms web applications, where does ASP.Net load the Ajax framework from? (You know the one that provides the $find, $get functions). I'm looking to replace the built in $find, $get with some extra logic to work around master page name mangling. Anybody know the best way I can accomplish this? I'm t...

ASP.NET AJAX Textbox to DataList/Grid

Hi there! I'm looking to create a free-type textbox which onkeyout "filters" a datagrid below. The old way to do this was to write a webservice and call it on each press returning the results - I was hoping there was a more eloquent way of doing this. Can anyone point me in the right direction? Documentation/Tutorials/Sites etc all wel...

Can't Deserialize a Nullable KeyValuePair from JSON with ASP.NET AJAX

The following class does not deserialize (but does serialize) using System.Web.Script.Serialization.JavaScriptSerializer. public class foo { public KeyValuePair<string, string>? bar {get;set;} } The attempt to deserialize results in a System.NullReferenceException when System.Web.Script.Serialization.ObjectConverter.ConvertDictionar...

An update panel, a postback and jQuery

An update panel, a postback and jQuery. Sounds like a bad joke, but here's my situation. I've got two grids wrapped up in a MS update panel. The grids each have buttons in them that cause postback events to happen. under one grid is a div which is hidden by a jQuery function. And in one grid is a hyperlink which can cause that hidden di...

Where to get the "latest" ASP .NET Preview DLL and Script

I have been trying to download the ASP .NET AJAX Futures but I can only see old versions of the DLL via sample tutorials from other websites. I need the DLL to use the Drag and Drop feature according to these tutorials. I know the tutorial is already old but I was wondering if they are still supported? (Microsoft.Web.Preview.dll, Preview...

Double postback causes SelectedIndexChanged to fire which fires AutoPostback

I have a Gridview in a UpdateTemplate. I have four template fields in the four different columns. Each TemplateField has an UpdatePanel with a control in it. All the columns are sortable and the Gridview is page-able. Three of the template fields has DropDowns in the UpdatePanel and one has a Textbox, all these controls have AutoPostBack...

AJAX Control Toolkit Collapsible Panel in SharePoint

I am trying to use the AJAX collapsible panel inside a user control which is loaded onto a Webpart in an AJAX enabled SharePoint site. I don't have any issues with using AJAX overal but I am having issues with this control. When the page loads, it does not collapse and when I click on the link to collapse/expand it just blinks and won't ...

AsyncPostBackTrigger disables buttons...

I've a simple UpdatePanel and a button outside of it. I've introduced the button as an AsyncPostBackTrigger in the UpdatePanel. UpdatePanel itself works fine but the button does not. Whenever the button is clicked, its click handler does not run just like the button is not clicked at all! Why the button is not working and how can it be ...

ADO .net Data Service error 'undefined' is not a supported HTTP method in IE8

Edit1:This error is caused by this bug and solved. I am using ASP .net Ajax Library and their CDN. The code is like this var dataContext; Sys.require([Sys.scripts.Templates, Sys.scripts.DataContext], loadComplete); function loadComplete(features) { //create a datacontext to adonet data service dataContext = $create(Sys.Data.A...

IE6/IE7 FREEZE ASP.NET AJAX 1.0 IN ASP.NET 2.0 APP.

Hello community! I´m having frequent problems with Asp.Net 2.0 application that contains the following features within the same ASPX: PageMethods Ajax calls. ASCX who manage their own state, that is by buttons updated only content and this was handled through UpdatePanels. Searches in grids in UpdatePanels within ModalPopusExtende...

The server method 'methodname' failed.

I have strange error when calling WebService/C# from javascript. The server method 'GetGoogleToken' failed. No details, no stacktrace. On server, I set breakpoint - everything works smoothly and I am returing string (what could be simpler?) Also, method works fine when i call it using browser test environment. Here is method: [WebMe...

Ajax extension in .NET 2.0 ?

Question: If I want to use ajax extension with Visual Studio 2005, i have to download ajax extensions. Now here's my question: Do I need to do this only for development, or do I also need to install something on the production server if I make my project use ajax extensions? ...