asp.net-ajax

How to configure a GridView CommandField to trigger Full Page Update in UpdatePanel

I have 2 user controls on my page. One is used for searching, and the other is used for editing (along with a few other things). The user control that provides the search functionality uses a GridView to display the search results. This GridView has a CommandField used for editing (showEditButton="true"). I would like to place the Grid...

Problem with UpdateProgress

Hi everyone, I have a project and i´m using "UpdatePanel" with "UpdateProgress" , it is working fine... Now i have to show for user Steps of The Processing into UpdateProgress. My idea is change the Text of one Label for each step of Processing inside the template of update progress I using a C#, ASP.NET, FW 3.5, ASP.NET AJAX Cont...

How to submit the value of the selected link when using Ajax Form?

The name of the selected link is the value that needs to be submitted to the controller from an Ajax form. ...

Problem binding action parameters using FCKeditor, AJAX and ASP.NET MVC

I have a simple ASP.Net MVC View which contains an FCKeditor text box (created using FCKeditor's Javascript ReplaceTextArea() function). These are included within an Ajax.BeginForm helper: <% using (Ajax.BeginForm("AddText", "Letters", new AjaxOptions() { UpdateTargetId = "addTextResult" })) {%> <div> <input type=...

Response.Write like behavior when code is executed in an Update Panel

Is there a way to make Response.Write work in an UpdatePanel and not cause the app to error out for obvious reasons? Or, is there a way to get similar results without more than one line of code in C#? ...

Call javascript code afer postback from an update panel.

Hello, I read tis post but my problem still there. I try to execute a javascript multiple time on post back, and the script only execute the first time the page load. To make sure the script is register after each post back i use a guid for the javascript key name. var xyz = DateTime.Now.ToLongTimeString(); string script = @"Brok...

ajax calendar with dropdownlist issue

Hi, I'm using IE6, and I'm trying to work with the ajax calendar extender. Right beneath it is a dropdownlist. Most of the answers I found while googling involved setting the z-index. I added: .ajax__calendar_container { z-index : 9999 ; } to my css file, and I can see with IE developer toolbar that it's taking the z-index, but it ...

How to get Asp.net AJAX intellisense on a control after OnInit

So basically if the page structure looks like the following below var someControlInstance; function onInit() { someControlInstance = new ControlLibrary.SampleControl(targetElement); } function someOtherFunctionInvokedAfterInit() { someControlInstance.Property? //<-- No intellisense<br> } in the onInit() function, i can see the...

How to post ASP.NET MVC Ajax form using JavaScript rather than submit button

I have a simple form created using Ajax.BeginForm: <% using (Ajax.BeginForm("Update", "Description", new { id = Model.Id }, new AjaxOptions { UpdateTargetId = "DescriptionDiv", HttpMethod = "post" },new {id ='AjaxForm' })) {%> Description: <%= Html.TextBox("Description", Model.Description) %><br /> <input ty...

Tearing my hair out - ASP.Net AJAX AutoComplete not working

Hope someone can help with this. I've been up and down the web and through this site looking for an answer, but still can't get the Autocomplete AJAX control to work. I've gone from trying to include it in an existing site to stripping it right back to a very basic form and it's still not functioning. I'm having a little more luck usi...

Trying to retrieve values in an UpdatePanel from the code behind

I've got an asp.net web form, there is an update panel that contains a table with textboxes that the user enters values into. The table is in an updatepanel as the textboxes are generated from a very long running db query. It is generated a few seconds after the form loads using a timer control. When the form is posted back the table is...

Accessing ScriptManager proxies in code

I have a situation where I'd like to add a "last modified" timestamp to the paths of my js files (ex. "custom.js?2009082020091417") that are referenced in my ScriptManager (contained in my MasterPage) and in any ScriptManagerProxies (content pages). I can easily get access to the ScriptManager in code and then iterate through it's Scrip...

ASP.NET How can 2 dynamically loaded user controls respond to each others events?

Greetings All, I have two ascx's loaded in the page-init event of an aspx page. Control 1 has a radio button list that I want a dropdown list on control 2 to respond to it's selectedIndex change. So far I call RaiseBubbleEvent on the SelectedIndexChange handler and I pass on a control reference and commandArgs. Then in the aspx I overrid...

Update Panel Triggering Other Update Panel Progress Indicator?

I have two update panels on one page, and both with UpdateProgress controls on - But whichever one I click... It triggers BOTH update progress controls?? Anyway to stop this so only the updateprogress triggers on the panel the button has been clicked on. ...

Using Multiview inside UpdatePanel (doesn't update the view!)

Hi. I have a simple test app to test if its possible to change the active view in a Multiview control in an Ajax manner. I've used UpdatePanel for that. The request is made in an Ajax maner. The active view is changed in code, but I don't see the result in the client browser! It never changes the activeview. heres the example code: ...

When Is ScriptManager/ScriptManagerProxy Required?

I don't think I've been able to find a definitive answer on this, so I'll ask it here. When is a ScriptManager (or ScriptManagerProxy in the case of using a ScriptManager on a Master Page) needed? For example, let's say that I have a ScriptManager on a MasterPage: If I have a Web Content Form that contains an UpdatePanel, does it nee...

multiple instaces of Dynamic modalpopupextender

I have modalpopupextender in user control. And I load user control dynamic and multiple instance of that user control meaning I have multiple instances of modalpopupextender loaded dynamically. How do I set behaviorid so I can call .add_shown method to call some javascript on modal popup load ? ...

ASP.NET JScript Error Sys.ScriptLoadFailedException

I am getting this error which I dont know how to deal with it. Microsoft JScript runtime error: Sys.ScriptLoadFailedException: The script '/MySite/MyPath/Default.aspx?_TSM_HiddenField_=ctl00_ContentPlaceHolder1_AjaxScriptManager_HiddenField&_TSM_CombinedScripts_=%3b' failed to load. Check for: Inaccessible path. Script errors. (IE) En...

combobox doesn't hold new index on postback if set to 0

I am populating an ajax toolkit combobox based on the selection in another field. On the postback I always want to set the index of the combobox to 0 (the first value in list). If I programmatically always set it to 1 or 2, it works and the selected index and displayed value are correct (assuming there are enough values in the list). How...

ASP.NET Ajax Toolkit HTMLEditor asynchronous submission

Hi there! I would like to know if it is possible to use asynchronous submission with an Ajax Toolkit's HTMLEditor control. I've been looking to the official site samples but I don't see anywhere an example providing a client-side submission using AJAX. All I see is the usual post-back model, consuming the control's Content property valu...