updatepanel

ASP.NET Controls and Update Panels

I am creating a series of client side component controls on the fly that are nested inside a update panel. The first time I create the controls, everything works as desired, however, when i trigger an update on the update panel and it does a partial postback the controls come back with several javascript errors describing how the contro...

UpdatePanel in Repeater

I have a UserControl which contains voting buttons inside an UpdatePanel, and outside a Repeater, it works perfectly. In the repeater, clicking the button fires off the appropriate event. That event is supposed to update the text of a control within the User Control, and that update should be reflected when the UpdatePanel refreshes. If...

ASP.NET: Button Outside UpdatePanel Fails to PostBack

I have a donation form that contains an update panel that contains a dropdown for predetermined amounts plus the "Other" option". When "Other" is selected the dropdown has triggered the partial postback and renders the update panel with the additional "Other" textbox for the amount. Outside this update panel I have a additional server ...

How does an UpdatePanel actually work?

What is updated when an Update is triggered? What goes to the server? What comes back? I was under the impression that only the content of the panel was transmitted to the server and back (without touching anything in the page outside the panel), but I'm experiencing strange results, probably because I don't really understand how it wor...

asp:UpdatePanel with an ASP.NET checkbox trigger

What is the EventName property when I set up a ASP.NET checkbox control as an async postback trigger for an asp.net update panel? ...

PageMethod no longer gets called after adding UpdatePanel to a page

I am using asp.net ajax version 1.0 on asp.net 2.0. (I cannot yet upgrade to 3.5) I had a PageMethod that would get called by Javascript. This worked perfectly until I added an UpdatePanel to another part of the page. Now when I run the page with debug turned on The breakpoint in the pagemethod never gets called. when I look in firebug ...

MVC Ajax UpdatePanel

I know (at least i'm pretty sure) there isn't a control for MVC like the asp:UpdatePanel. Can anyone give me some idea on how to do this. I have a collection that i add entries to from my repository & services layers. in my masterpage i would like to show an alert depending on if there is anything in this collection. Normally i would h...

JQuery ajaxStart event not being captured in ASP.net AJAX

I have an asp.net page with a save button within an updatepanel and contenttemplate. The save works nicely, but I am trying to add a "wait" gif while the save is happening using JQuery, but the ajaxStart event is not firing. I put a simple catch shown below: $(document).ajaxStart(function(){ alert('starting'); ...

Why does the Update Panel do a full post back for custom control?

I have a rather complex custom control - the custom control has a couple of update panels in it. I am trying to use the control like this inside of an update panel: <asp:UpdatePanel ID="up1" runat="server"> <ContentTemplate> <asp:Button ID="btn1" runat="server" Text="Sample Button" />&nbsp;&nbsp;<asp:Label ID="lblTime" run...

How to re-render the panel to different div when panel already render to some other div

I have created a Ext.Panel object, it rendered properly to specified div element on my page. I want to replace the panel object underlying element(previously rendered div element) to another div which will be identified dynamically. Here I don't want to create the Panel object once again by specifying identified div element, I need to...

How to re-render the panel to different div when panel already render to some other div

I have created a Ext.Panel object, it rendered properly to specified div element on my page. I want to replace the panel object underlying element(previously rendered div element) to another div which will be identified dynamically. Here I don't want to create the Panel object once again by specifying identified div element, I need to...

ASP DropDownList UpdatePanel IE JS Errors

I'm getting a peculiar javascript error with IE. I have an updatepanel, and inside it a drop down list. When I change the dropdownlist's value, it gives me error "Line: 5 '__EVENTTARGET' is null or not an object'. I took a look, and this Line 5 and __EVENTTARGET are in the ASP.NET generated javascript code. I want a dropdownlist that fi...

ASP.Net, Drag-n-Drop, Postbacks, and Control IDs

The title attempts to summarize the problem, but here's a more detailed summary: our web page is a collection of usercontrols, which visually render as rectangular reporting widgets, which are set in AJAX updatepanels. We are giving the user the ability to drag and drop the widgets to pre-set "zones" on the page. The drag and drop fu...

using __dopostback(UpdatePanel) from a UserCtrl in a WebPartZone

I hope someone can offer a little assistance with this. I have a button which when clicked presents a javascript generated OK or Cancel. Once the user clicks on OK it fires a __DoPostBack clientside and targets an UpdatePanel which processes the postback asynchronously. I then use ScriptManager.RegisterStartupScript() and pass in a jav...

What do I need to do when I include output from an ASP.NET .aspx page in a HTML page? Something like <base>

I have a ASP.NET file at http://localhost/nn/n.aspx Output from processing that file is included in http://localhost/index.asp. Is there some general or specific things I should do so that the ASP.NET code sitting on the client knows were it is? Setting <form action="http://localhost/nn/n.aspx makes it post to the right loca...

Jqmodal isn't working in the Updatepanel

I have a method named raise_alarm() which, show a message box based on jquery. But when I call this method from an event of a control(such as submit button) which is inside of Updatepanel, it isn't working. Related codes are below. How can I fix it? Public Sub Raise_Alarm(ByVal p_Page As Page, ByVal p_Message As String, Optional ByVal ...

Why is the UpdatePanel Response size changing on alternate requests?

We are using UpdatePanel in a small portion of a large page and have noticed a performance problem where IE7 becomes CPU bound and the control within the UpdatePanel takes a long time (upwards of 30 seconds) to render. We also noticed that Firefox does not seem to suffer from these delays. We ran both Fiddler (for IE) and Firebug (for ...

Update panel and javascript

Hello All, I have a user control whose structure is - <updatepanel UpdateMode="Always"> <ContentTemplate> <asp:FormView> <EditItemTemplate> <table> <tr id='tr1'> <td> Textbox1 btn1 </td> </tr> <tr id='tr2'> <td> ...

asp.net gridview in update panel, make visible and update content

Currently, I have a dynamically created gridview on my page. When a user enters something in a textbox and presses a button, the whole page refreshes to populate the gridview and make it visible. I do not want that anymore. How would I go about using the UpdatePanel to make the gridview visible and populate it? <div class="span-93 ...

How Can I Keep Certain Controls From Updating In An UpdatePanel?

I have an UpdatePanel with many objects within. How can I prevent some of them from reloading when the panel is refreshed? Is there a tag to make this happen, to sort of "isolate" some elements from the update? ...