updatepanel

problem with jqmodal inside an update panel

I have a control that I need to display as a page or as a modal dialog. In the page_load event I look to see if the modal property is set and if so, I register a script to invoke jqmodal. Here is the code: protected void Page_Load(object sender, EventArgs e) { if (this.Modal) // Show as a mod...

Writing to a text box from an update panel

I am trying to access the Text property of a textbox from a partial postback-done in an Update Panel. The problem is that this textbox I want to access is not in this Update Panel, and when I am trying to write to it (putting content in the Text property), this new content is not being displayed. I think that this is because this textb...

Cycle through controls in UpdatePanel, and access javascript

I'm trying to update all TextBoxes on my page to convert them to labels like so: foreach (Control ctrl in masterform.Controls) { if (ctrl.GetType() == typeof(TextBox)) { TextBox t = ctrl as TextBox; t.ReadOnly = true; t.BackColor = transparent; t.BorderWidth = 0; } } Unfortunately, I encompa...

UpdatePanel driving me insane - Dynamicly Created UpdatePanel Problem

So, I have the following code in Page_Load: updDesignations = new UpdatePanel(); updDesignations.ContentTemplateContainer.Controls.Add(toutLineDesignation); updDesignations.ChildrenAsTriggers = true; updDesignations.UpdateMode = UpdatePanelUpdateMode.Always; divDesignations.Controls.AddAt(0,updDesignations); Wh...

How to get UpdatePanel from causing whole page postback?

Hello, I am using .NET 3.5 and building pages inside of the Community Server 2008 framework. On one of the pages I am trying to get an UpdatePanel working. I took a sample straight from ASP.NET website, but for some reason when I try and perform the function - update a time in an UpdatePanel to current time by clicking a button. Here...

UpdatePanels - Controls outside are re-rendered?

I have rather a complex UI page with several UpdatePanels nested. All of them are set to UpdateMode = "Conditional" I have a listbox outside all the updatepanels. It's strange how there's a flicker on these listboxes when any buttons within the UpdatePanels are clicked. My understanding was if the mode is conditional, this should not b...

Why does the updatepanels reload controls outside the updatepanel

I have several UpdatePanels on a page and they have been set with a mode of Conditional. I see a flicker in the controls outside of the UpdatePanels when there is an event that occurs within the UpdatePanel (Say a button click). The page doesn't post back but the user experiences a "Flicker". Any idea what might be going on here? ...

One user control updating another during AJAX Postback?

I developed a user control that displays a list of products and it works pretty good. Then I dropped this user control into another user control that allows the user to pick different criteria and the product UC updates to show those products, all pretty slick and with AJAX via UpdatePanel. All was working just fine... then another req...

UpdatePanel in repeater overwrites controls underneath it

I have a Repeater with an ASP.NET AJAX 1.0 UpdatePanel inside it. There are buttons outside of the UpdatePanel but still in the repeater. When a section inside the UpdatePanel appears (it's a hidden Panel control that appears when user answers a question a certain way), the buttons at the bottom disappear. Here is an illustration. [RE...

Stop UpdatePanel when Inactive

Hi I would like to do the following: Use JavaScript to stop the update panel from "updating" when the browser is inactive, and restart once it’s active again. I was looking at: Inacivity with JavaScript. I was hoping that I could use this to accomplish what I want; can someone point me in the right direction? Thank you very much! [ED...

How do I prevent resetting Session timeout when UpdatePanel's content is refreshed by a Timer event?

We have several pages in our ASP.net Ajax application which auto refresh the UpdatePanels contents based on a timer event but the problem is that we have a requirement to timeout the web session and the auto refresh is preventing that. Is there a way to prevent the timer postback event from modifying the web session or any other alterna...

C# with ajax update panel and Cache object causing re-authentication

Hi, I have a web application that uses an update panel to display a grid of patient data. That grid is updated every 5 seconds using an asp:Timer control. For authentication I use windows with impersonate="false" (in the web.config file). Also IIS 6 has been configured with no anonymous access and windows authentication. The grid data is...

Trying to set view inside UpdatePanel in PageLoad

Hello, I'm having trouble with a combination of an UpdatePanel and MultiView. I have an UpdatePanel at my top level, inside I have a bunch of imagebuttons - their click events set the view on the Multiview, and each View has an UpdatePanel inside of it with my binding. Everything works great - but I am trying to set the View via the Q...

UpdatePanel with ASP.NET Repeater and Checkbox Aync Postback issue

I have a rather annoying issue here I can't get my CheckBox CheckedChange event to fire, or catch or whatever it is that fails: ASPX Code <asp:UpdatePanel runat="server" ID="udp_Lists" UpdateMode="Always"> <ContentTemplate> <asp:Repeater ID="rep_showings" runat="server"> <HeaderTemplate> </HeaderTemplate> <...

File uploading in AJAX updatepanel without full postback

I have a update panel, in the update panel I have fileupload control and button control, On button click, I need the file that I have upload in the fileupload control in updatepanel. Exact scenario, I have 8 tabs on page, each tab contains too much information, One of the tab is Attachment, when user click on Add New Attachment Modal P...

ScriptManager.RegisterStartupScript - Script takes over whole page

I have a piece of javascript inside a User Control that I'm trying to load dynamically after an asynchronous postback. The script is actually loading a flash object. I'm trying to load this User Control inside of a placeholder. The problem is that once I register the script with ScriptManager.RegisterStartupScript, the flash object ...

Problem with ScriptManager.RegisterStartupScript in WebControl nested in UpdatePanel

Hello, I am having what I believe should be a fairly simple problem, but for the life of me I cannot see my problem. The problem is related to ScriptManager.RegisterStartupScript, something I have used many times before. The scenario I have is that I have a custom web control that has been inserted into a page. The control (and one or...

SharePoint Ajax web part web.config problems

Hi I am using AJAX Extensions 1.0 in my web part. It works great when I add it on SharePoint and everything runs fine. I also have links to other applications which are put onto SharePoint as IFRAME's. I run into a problem with the application inherting from my SharePoint web.config. I get this error in the IFRAME: Parser Error Mess...

Image inside UpdatePanel not working in Firefox

I have an image that is generated automatically inside an Ajax UpdatePanel. This image is a graph that is generated from server-side code. Searching in Google, I realised it was a bug of FF. Does anybody have any solution? Here is the source (it contains also unneeded tags, I just copied-paste) <div> <asp:UpdatePanel ID="UpdatePane...

UpdatePanel Full Postback

Greetings, here is the scenario. I have and .aspx page with and updatepanel like this <asp:UpdatePanel id="uPanelMain" runat="server"> <ContentTemplate> <uc:Calendar id="ucCalendar" runat="server" Visible="true" /> <uc:Scoring id="ucScoring" runat="server" Visible="false" /> </ContentTemplate> The control ucCa...