asp.net-ajax

ASP.NET Performance Issue

I am working on an ASP.NET 3.5, C#, ASP.NET AJAX, JQUERY web application which currently is having some performance issues. I have a screen with the forms view control and when I edit the form and save it for the first time the POST takes 4.89 seconds and when I perform the same operation again for the second time the POST only takes 1.0...

Calling a web service from javascript and .net 2.0

Thanks all for the help, rod. Hi All, Is it possible to call a web service (on my localhost) from jquery in a plain html page inside an asp.net 2.0 webform application using visual studio 2005? <script type="text/javascript"> $(document).ready(function(){ $('#button1').click(function(){ $('#...

Use of MaskedEditExtender with decimal point

I am using Ajax extender controls with asp.net 3.5 in particular MaskedEditExtender. My settinngs are: Mask = 99.99 InputDirection = RighttoLeft MaskType = number. I can't seem to achieve what I want which is to set the focus just to the left of the decimal point. I try both InputDirection RightToLeft and LeftToRight. They both have...

Architecture for new ASP.NET web application

I'm maintaining an application which currently is just a web service (built with WCF) and a database backend. The web service is built in layers with a linq-to-sql data access part with core functionality in an own assembly and on top of that the web service assembly which contains the WCF code. The core assembly also handles all busines...

How to use Asp.net Ajax control toolkit from CDN?

Is it possible to use it without actually downloading the binaries and adding it to project as reference? ...

please clarify some aspects of AJAX with ASP.NET web forms for a beginner

Im familiar with asp.net web forms. I would now like to move on to writing web applications that use AJAX. I would like to get to the stage where I can create an app: that has "edit in place" (no page reload) where i can reorder images using drag and drop (also saves the order to DB) that has google like search suggestions while typi...

Asp.net mvc json

Hi, I am working on a mvc project, and having problem with json. i have created a demo project with list of colors public JsonResult GetResult() { List<string> strList = new List<string>(); strList.Add("white"); strList.Add("blue"); strList.Add("black"); strList.Add("red"); strLi...

ajax delay load UserControl asp.net

regarding ajax delay load of usercontrols (or any controls) on Post at Encosia.com : http://encosia.com/2008/02/05/boost-aspnet-performance-with-deferred-content-loading/ I tried to implement it , but I noticed that it can be done only for simple controls or UserControls that Have simple asp.net controls (or html tags) . But when it...

Custom server control disappears from page when UpdatePanel updates

Hi all. I created a custom asp.net server control. It works fine on a regular asp.net page and as a DOM object inside of the browser. But I've never used the UpdatePanel before and now I'm trying to make sure that this control works there as well. It doesn't. If I add my control to the page outside of an update panel and click some pane...

SSRS ReportViewer 2010 Iframe IE Problem

Hello all, My problem relates to trying to include an SSRS (SQL Server) Report inside my MVC application. I've settled on the hybrid solution of having a WebForm with the ReportViewer Control in and then on my MVC View pages having an iframe reference this WebForm page. The tricky part is that the iframe needs to be dynamically popula...

Downloading photos on the client side every 10 seconds on an ajax enabled asp.net environment?

There is a web site page which is coded on asp.net with using c# and ajax is enabled too. I want a very fast loading web page; which is going to happen with the following architecture; 1- First all data is shown by the text boxes (There are 50 text boxes, it is an application form.) 2- When the web Page is requested and loaded, then I...

Update panel with UserControl

Hi I have an UpdatePanel on my Page with a user control. User control is loaded dynamically via page.Load in PreInit and added to the content of the UpdatePanel: protected void Page_Init(object sender, EventArgs e) { upProductionTask.ContentTemplateContainer.Controls.Add(_opProductionTask); } This User control inclu...

How to get the id of Updatepanel which initiated a postback

Hi I need to intercept server callback after udate panel async post back and determine which panel initiated the request. The code is pretty simple: Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(InterceptUpdateCallback); function InterceptUpdateCallback(sender, args) { var updatedPanels = args.get_panelsUpdated(); ...

How can I detect client-side when a page load is the result of an AJAX history point?

I'm trying to prevent a "flicker" effect that is occurring on my ASP.NET page which occurs when a user navigates to the page via the browser back button after having navigated away from it. The reason for the flicker is that I'm using an Update Panel which has some content in there on the initial page-load. As a result, when the page i...

asp.net ajax progress counter

Hi all, I have a small C# ASP.NET app, and want to include an Ajax progress counter. The architecture is currently like this: Web Application --> calls a class that does the upload For example, in default.aspx, I call : FileHelper fh = new FileHelper() fh.MoveFiles(file) I have an Ajax control that fires when the above is called. ...

What is UpdatePanel ?

what is the main purpose of UpdatePanel in ASP.Net ? And what is the of Triggers tag in UpdatePanel ? ...

DropDown Box + Update Panel

Hey I'm having an issue updating a dropdown box inside of an update panel. Works perfectly if the page posts back, but I'd prefer seemless loading: Here my form code: <asp:ScriptManager ID="ScriptManager1" EnablePartialRendering="true" runat="server"> </asp:ScriptManager> <asp:UpdatePanel ID="ajaxClassifications" Update...

Ajax autocomplete extender

I have an ajax autocomplete extender. I want to pass the value of the hidden field to the web service. I want to pass the value of the hidden field as contextkey parameter to the web service. ...

How can I create and call a javascript function on a dynamically loaded user control?

when i try to call a javascript function in a dynamically loaded user control, it cannot find the function specified. I have a user control for organizationDetails.ascx. In there, I am using modal popup extender to get some information from the user and then i verify the address through google and suggests the proper format. I am trying ...

How to prevent ajax toolkit DropDownExtender from closing on click?

I have the code below to implement a dropdownlist with checkboxes. My problem is that every time i click a checkbox the dropdownlist closes and i need to reopen it to select more checkboxes. How do i make it so the dropdownlist dosn't close until i click off of it? <asp:Panel ID="pnl_Items" runat="server" BorderColor="Aqua" Border...