asp.net-ajax

Animated gif freezes in UpdateProgress in IE8

与世无争的帅哥 提交于 2019-12-06 10:11:43
问题 I am using update progess to show the animated gif saying "Loading..". I am testing in IE 8 and the animation freezes. I have come to know that IE 6 & 8 have a bug to handle this and have found certain supportive links such as here and here as well, but i'm not sure how to apply in update progress to resolve my issue? Please help! Thanks! 回答1: When this happened to me, the browser's processor was actually pegging out due to KB 2000262, there is a fix, if this is your problem: UpdatePanel

Error “Telerik is undefined”

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-06 09:42:39
I am getting JScript error as "Microsoft JScript runtime error: 'Telerik' is undefined" while running my project. I have just tried configuring the project from the menu bar 'Telerik->Rad controls for asp.net ajax->configure project' and it gives me this error. Please find below my webconfig file. I could find some threads in Telerik forum about trouble shooting for the same but they didn't solve my issue. I am using .net 4.0 version. <?xml version="1.0"?> <configuration> <connectionStrings> <add name="xxx" connectionString="Data Source=xxx;Initial Catalog=xxx;Integrated Security=False; User

Telerik radGrid - possible to do use AllowAutomaticUpdates when Datasource = a dataset?

淺唱寂寞╮ 提交于 2019-12-06 08:25:48
问题 I am setting the datasource of my radGrid to a dataset (that I have stored in session). I have enabled AllowAutomaticUpdates and EnableViewState, implemented NeedDataSource, set DatakeyNames, etc. (see code below) However, when I press the Edit button and make a change and press the Update link, the record does not update and leave Edit Mode.....it just stays in edit mode, and no error of any kind occurs. So, the question is....does anyone know if radGrid with EnableViewstate even supports

How do you use ScriptManagerProxy in a custom ASP.NET control?

人走茶凉 提交于 2019-12-06 07:49:35
问题 Basically, I have created a custom control that uses an UpdatePanel, and as I understand it I need to use a ScriptManagerProxy to make it work ( since there should only be one ScriptManager per page, and is is declared in my .aspx page ).So, how do you use this beastie, is it just a matter of adding: <asp:ScriptManagerProxy ID="ScriptManagerProxy3" runat="server"> </asp:ScriptManagerProxy> to your control, or is there more to it? Could anyone please post a link to a good tutorial/example set?

Web API Post parameters are always Null

二次信任 提交于 2019-12-06 07:35:02
问题 did anybody find a proper resolution of this? I just tried with WebAPI in big hopes (after completing a successful implementation of rest api in php/restler with KO and HTML5). Get is working like charm. Got stuck in post for last 20+ hours as no matter what always my variable is null. I do have DTO and repository implementation which is part of my framework anyway. I tried with FromBody hint and pretty much everything available in my search. I am testing this using CRest and Fiddler. I am

Countdown timer on ASP.NET page

情到浓时终转凉″ 提交于 2019-12-06 06:46:48
问题 Could you recommend me a way to place a coundown timer on ASP.NET page? Now I use this code: Default.aspx <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:Label ID="Label1" runat="server">60</asp:Label> <asp:Timer ID="Timer1" runat="server" Interval="1000" ontick="Timer1_Tick"> </asp:Timer> </ContentTemplate> </asp:UpdatePanel> Default.aspx.cs protected void Timer1_Tick(object sender,

Ajax Minifier (AjaxMin) - EvalTreatment for JavaScript?

流过昼夜 提交于 2019-12-06 06:15:12
So I was just minifying using the AjaxMin.dll in my project on every build/deployment for all js/css files with the default settings. This turned out to be a bad idea. One of the third party javascript files that we have has a nice eval statement with some variables or parameters being referenced. When it gets minified, the original variables get renamed and not renamed in the eval statement. This has caused a big old error in production (FML). I have decided I need to pick safer settings for the minification process. The documentation on AjaxMin is very ummm not clear. http://www.asp.net

Ajax.BeginForm helper not loading partial view into specified DIV

回眸只為那壹抹淺笑 提交于 2019-12-06 04:10:27
问题 I am working with MVC trying to load the results of a form submission into a specific DIV. Below is the code of my form: <div class="segmentForm clearfix"> <% using (Ajax.BeginForm("ShopByAirCriteria", "AirOption", new AjaxOptions { UpdateTargetId = "DynamicAirOptions", InsertionMode = InsertionMode.Replace, HttpMethod = "POST", OnBegin = "return loadingBar();" }, new { @name = "AirOptionSegment_Air" })) { %> <% Html.RenderPartial("AirOneWay", Model); %> <br/> <div class="agent-actions"> <a

Updated ASP.NET 3.5 to 4.0 -> Sys.WebForms.PageRequestManager is undefined

送分小仙女□ 提交于 2019-12-06 02:35:33
问题 As the title indicates, I recently updated an ASP.NET 3.5 application containing UpdatePanels and similar AJAX technologies to ASP.NET 4.0. Unfortunately, the UpdatePanels work no more and full page postbacks makes it all go south. Web.config-file <?xml version="1.0"?> <configuration> <configSections> <section name="exceptionHandling" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling"/

ASP.NET AJAX Progress Bar: Update from Code Behind?

谁说胖子不能爱 提交于 2019-12-06 02:12:17
问题 I have an Import function for an Excel spreadsheet within an application. It uses the FileUpload control at the moment. I upload the file, then run an operation on that file. I want to inform the user of the operation being done, and the percentage that is done. I figure that I can take the total number of rows I extracted from the Excel spreadsheet, and continuously divide as I insert each record into the database and update a progress bar. The problem is that I can't seem to find any