asp.net-ajax

Asp.Net Ajax Control using WCF service with CallbackContract

Is it possible to use WCF's CallbackContract or any other "remote eventing" mechanism provided by WCF from an Asp.Net Ajax control/page? So far all the articles I found treated separately about CallbackContracts and WCF's usage from Asp.Net pages. Is there any way to make the service's callback reach back to the page that initiated the...

ImageButton in UpdatePanel doesn't PostBack

I created a form in a popup div, that contain an UpdatePanel with ImageButtons in it. Initially, I used LinkButtons to test but I wanted ImageButtons. The thing is, it works well with LinkButtons and not with ImageButtons (absolutely nothing happens). Checking the source, I see that the javascript call is a little different : LinkButto...

How can control focus be maintained across async postbacks?

I have a page setup like so: <ajax:UpdatePanel id="UpdatePanel1" runat="server" UpdateMode="Conditional"> <ContentTemplate> <asp:TextBox id="TextBox1" runat="server" AutoPostBack="true"/> <asp:TextBox id="TextBox2" runat="server" AutoPostBack="true"/> </ContentTemplate> </ajax:UpdatePanel> <asp:TextBox id="TextBox3" runat="s...

Problem finding text inside ReorderList(Ajax toolkit/ASP.NET)

Hi, I have implemented a reorderList in c#.net and everything works fine The only problem is that i am not able to retrieve the list data source. For this reason i tried to Find the controls for each item in the list without any success. this is my reorderlist <ajaxToolkit:ReorderList ID="rlVerticalMenu" runat="server" DragHandleAlign...

How to develop web mobile application by using ajax controls ?

I am developing asp.net (3.5) web application for mobile. I am able to find the regularly used asp.net controls for mobile on internet. I also got the link for the basic ajax controls for the mobile (such as required field validator, regular expression validator, validation summary etc) but I am not able to find the any link for the aja...

JSON response from Ajax service

can any one help me on the query below. I am making an ajax web service call from java script, the web method returns the custom objet, serialization of the object into JSON format is taken care by the Ajax architecture and am not doing any explicit serialization. most of the times I get response properly as below, this gets deserialized...

Autocompleteextender - HTTP 403.9 - Access Forbidden: Too many users are connected Internet Information Services

I have two textbox in a page each uses ASP.Net Ajax Autocompleteextender control. asp:TextBox ID="txtLastName" runat="server" CssClass="PlainText" MaxLength="50" Ajax:autocompleteextender id="aceLastName" runat="server" targetcontrolid="txtLastName" servicepath="~/AjaxService/Predictive.svc" servicemethod="GetLastName" minim...

ASP.NET AJAX Controls : UpdatePanel & UpdateProgress.

It seems UpdateProgress will be displayed covering the entire area of the UpdatePanel. I want to replicate this behavior using plain javascript, as this behavior needs to be done for a windows client form. Are there any javascript libraries available? Thanks. EDIT : I am using a Browser control inside windows client form to get resul...

How do you make a DropDownList work within a GridView inside an UpdatePanel?

I seem to lose the postback, even if i have AutoPostback="true" and OnSelectedIndexChanged="grid_SelectedIndexChanged". Anyone ever get this to work? -Romel Evans ...

second time click of a button inside updatePanel, the event does not fire in jquery

Hi, In my aspx file, I have: <asp:UpdatePanel ID="UpdatePanel3" UpdateMode="Always" runat="server"> <ContentTemplate> <asp:Button ID="Button1" runat="server" Text="Button" /> </ContentTemplate> </asp:UpdatePanel> In javascript file I have: $('#ctl00_ContentPlaceHolder1_Button1').click(function (e) { alert('hel...

AsyncFileUpload: How do I hide the max request length exceeded alert error?

If I upload a file that is larger than the configs max request length I get a "Server Response Error: Unknown Server Error" alert popup. It asks if I want to see the response page and if I click "OK" an application error window pops up saying "Maximum request length exceeded." I found this already... http://stackoverflow.com/questions/...

Nerd dinner error on Ajax call to Register action method

I'm new to MVC and I'm implementing the Nerd Dinner MVC sample app in MS MVC2. I'm on step 10, "Ajax enabling RSVPs accepts". I've added the new RSVP controller and added the Register action method like so: public class RSVPController : Controller { DinnerRepository dinnerRepository = new DinnerRepository(); // // AJAX: /Di...

ASP.NET AJAX Timer on iOS Safari

I'm attempting to display a real-time Arrivals/Departures list on an iPad / iPod Touch / iPhone that automatically refreshes every few seconds. ASP.NET AJAX UpdatePanels work fine, but the AJAX Timer never fires in iOS Safari browsers. Is there a way to get an ASP.NET AJAX Timer to work on iOS devices? Or is there some way I can put a b...

Accessing ToolKitScriptManager/ScriptManager from custom control

I'm writing a custom class library that contains custom controls (not user controls). I have some embedded javascript files that need to be registered on the page. Now since this is a class library, how do I detect whether or not to use a ToolKitScriptManager or ScriptManager? Page.ClientScript is a ClientScriptManager, but would I do ...

How to update URL using update panel content?

How to do this? Let say i dropdownlist in update panel and I want to update my URL and update content of that updatepanel ...

Detect ajax call, ASP.net

Hi, how can I detect if a request is an AJAX-request (from jQuery) on the server-side of a ASP.net application. I don´t want to do this: mypage.aspx?this_is_ajax=true... ex. $.get("mypage.aspx"); On the server side I want to do certain things when the request is a ajax request... Thanks! ...

Updatepanel stylesheet

Inside the update panel I have update progess I want to set stylesheet inside the updatepanel like following I want to set vertical-align to middle but I it is not work how I can repair this code ? <asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="Server"> <ContentTemplate> <asp:Timer ID="Timer1" runat="server...

Clandestine .JS code - predictad_myLoc='';.......

what is the code below trying to do? I get a script error when debugging a small asp.net website. The browser stops and at the code below and the existance of .facebook. in code makes me Suspicious because i don't have it any where in all my web pages. Am curious as to what the code wants to do because i have no idea where that code exis...

$addHandler don't work in IE

Hello! I have some javascript file that opens new window with an image: var lastOpenPictureWindow = null; function showPicture(url) { lastOpenPictureWindow = window.open(url, "MISPict", "height=500,width=500"); $addHandler(lastOpenPictureWindow, "load", correctPictureSize); lastOpenPictureWindow.focus(); } So $addHandler...

AJAX form submission using ExtJS and ASP.NET MVC

Hi all, I am working with ASP.NET MVC and have a view page with a simple text box and button to accompany it. I want AJAX to submit the form when the user clicks the search button. The response (search results) will be returned and displayed in a content div on the same page. I have done this successfully with JQuery, but I need the sa...