asp.net-ajax

Dropdownlist disappears in IE7

In an ASP.Net application, I have a dropdownlist that, when you select something (causing an ajax postback), it disappears in IE7 (in IE8 running in IE7 mode, it does this: http://twitpic.com/1t9blq). Other browsers it is fine in ...

UpdatePanel not working in IE or Chrome

I have an updatepanel on my masterpage. Within the contentplace holder I have my update progress control. When a user clicks on the button I load some data into a gridview. This works perfectly in FireFox. User clicks the button, the loading image in my updateprogress fires and loads the gridview. When I test this in IE 6 or 7 or in Chro...

JavaScriptSerializer deserialize object "collection" as property in object failing

Hi All, I have a js object structured like: object.property1 = "some string"; object.property2 = "some string"; object.property3.property1 = "some string"; object.property3.property2 = "some string"; object.property3.property2 = "some string"; i'm using JSON.stringify(object) to pass this with ajax request. When i try to deserialize ...

How do I restart an Ajax progress bar?

I have an animated gif as a progress indicator that I am using with the AjaxBeginForm. If I click the stop button on the browser while the gif is showing the animation will stop. However when I click on the form again to submit the gif does not start animating again but the data was submitted. So my question is, How do I remove the g...

ASP.NET partial page update with GET parameters

I have a ASP text box which is acting as a search box. I have set AutoPostBack="True" and a server side ontextchanged event. The text box is in an update panel to avoid a full page postback. Currently the server event is fired when the text changes, without the page reloading. For the sake of navigation and bookmarking, I want the URL...

MSBUILD 4.0 Fails on AJAX Extensions

We have a .Net 2.0 web app and are converting the solution and projects to Visual Studio 2010 (they were Visual Studio 2005). We are leaving the project targeting Framework 2.0. The app includes Ajax extensions. We did the conversion and can build the project successfully on the server using Visual Studio. However, when we attempt to...

Modal Popup Extender Problem

Hi Everybody, I am doing an ajax enabled website and ı wanna use the modal popup extender But, ı have some problems. -I have found sample code of how to use modal popup extender in asp.net and download the project when ı put this project in localhost(inetpub) ıt works very well but when ı use the sample code in my project it is not wo...

Adding client side rows to Telerik grid then accessing them on postback

HI, I know Telerik doesn't support inline client side insertion of rows but I implemented it since it's a business requirement. I implemented by creating a row template on the server side on the onprerender event then on client side cloning this row before replacing id to the new row ids. This is all works but I don't know how to access ...

Disable ScriptManager programmatically when ScriptManagerProxy controls are present

I've tried following this advice for disabling a ScriptManager programmatically, to no avail: http://stackoverflow.com/questions/1057905/disable-scriptmanager-on-certain-pages StandardScriptManager.ascx: <%@ control language="vb" autoeventwireup="false" codebehind="StandardScriptManager.ascx.vb" inherits="StandardScriptManager" %> <h1>...

Error When Combining Scripts using the ToolKitScriptManager

I have an ASP.NET 3.5 web application in which i am using the ToolkitScriptManager as below: <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" EnablePageMethods="true" ScriptMode="Release" LoadScriptsBeforeUI="false" runat="server" CombineScripts="false"> <CompositeScript> <Scripts> <asp:ScriptReference Path="~/JavaScrip...

ASP.NET MVC Ajax.Begin form with many inputs (type=submit)

Hi, I have an Ajax form : <%using (Ajax.BeginForm(...)){%> ... <input id="btn1" type="submit" value="OK1"/> <input id="btn2" type="submit" value="OK2"/> <%} %> both inputs do different jobs - is it possible to catch which input has been clicked ? ...

Uploading image with AsynFileUpload(ACT Control) and changing Image Url of an Image Control??

Hi! I Used AsyncFileUpload(one of Ajac Control Toolkit Controls) to Uploading User's Image. this works well. But i want to change the image url of an image contorl to uploaded image url. how can i perform that? I put Image control in a Update Panel: <asp:UpdatePanel ID="UpdatePanelNew" runat="server"> <ContentTemplate> <asp:...

Reload jQuery when returning partial view from a controller?

I am making the following call in my web page: <div id="comments"> <fieldset> <h4> Post your comment</h4> <% using (this.Ajax.BeginForm("CreateStoryComment", "Story", new { id = story.StoryId }, new AjaxOptions { UpdateTargetId = "comments", OnSuccess = "OnStoryCommentAdded" })) ...

ArgumentOutOfRangeException was unhandled by user code - (ASP .net)

I use a GridView to display the records from the database. Also i've attached a Hyperlink to the GridView using TemplateField. When I try to add "onclick" attribute to the HyperLink inside the RowDateBound event, I get the following error.. GridView1.DataKeys[e.Row.RowIndex].Value = 'GridView1.DataKeys[e.Row.RowIndex]' threw an excep...

update panel not work with form view

Hi all, I wrap form view in update panel. And set this property: <asp:UpdatePanel Updatemode="Always" ID="UpdatePanel1" runat="server"> <contenttemplate> <asp:FormView id="frmData" runat="server"> </asp:FormView> </contenttemplate> </asp:UpdatePanel> but very strange thing is happens. For example, Form view ...

Call a method on browser closing

I am facing an issue in my application when a user directly clicked on browser close [X] button. Browser can be IE, Chrome, Mozilla, Firefox and many more. What I want to do: 1. as soon as user hits [X] button of browser, need to set their status as logged off in database for which we have a method in Login.aspx file which is within the...

Multible jquery .load() methods not running concurrently in MVC 2

In one of my aspx pages i have something like this in the head: <script type="text/javascript"> $(function() { // Jquery stuff loadStuff(); }); function loadStuff() { $('#result1').load({ source: url }); $('#result2').load({ source: url }); $('#result3').load({ source: url }); }; ...

How to drill down any report

I have a report on RDLC.suppose this report of any account software.clicking on this report i want to show this report child report. Suppose i have Four report names are A,B,C,D,E.Click on button I see the report A, click on report Column I see report B or C or D,E next report show on basis of click on column.I actually want to drill dow...

Why doesn't AJAX History work in IE7 as it does in IE8 and every other browser?

I have two ASP.NET pages, say page1 and page2. Page1 contains an update panel and I use AJAX History to allow browser back/forward button support. Users can navigate to page2 via page1 - I do a response.redirect server-side so that I can store in a session what options were on page1 when they left. On page2, a user can click the back ...

Implementing google dashboard type interface in asp.net

I'm looking at implementing a Google IG type dashboard in a .net app. There are a number of options I've found to do this, and i'm trying to establish what is going to be the best to use, in terms of speed, versatility etc. So far the options I am looking at are either to use asp.net webparts and .net Ajax, this would make it quicker t...