rookie problem using the updatepanel

Posted on 2009-04-27
Last Modified: 2013-11-08
hi EE,
I have a problem with an update panel as its my first time using one to update content via ajax.

Within this updatepanel I have a radio button that uses the autopostback = true attribute together with an onclick event.

My problem is that when clicking this radio button I get the following error.

webforms.pagerequestmanagerservererrorexception.  status 12019.

i have been looking at how the updatepanel works although i cant really see why this would fail.

I have created a standard button outside the updatepanel and clicking this button causes a post back as normal.  Moving this button inside the updatepanel, with no code behind logic the click on the buttons causes the same error as the radio button.

does anyone have experience with updatepanels to help me resolve this problem?

many thanks!
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="" %>


<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="">

<head runat="server">

    <title>Untitled Page</title>



    <form id="form1" runat="server">

    <asp:ScriptManager ID="ScriptManager1" runat="server" />




                <asp:UpdatePanel ID="UpdatePanel1" runat="server">


                        <asp:Wizard ID="wBookingForm" runat="server" DisplaySideBar="False" ActiveStepIndex="0"

                            OnNextButtonClick="wBookingForm_NextButtonClick" OnPreviousButtonClick="wBookingForm_PreviousButtonClick">


                                <asp:WizardStep ID="CentreDetails" runat="server" StepType="Start">

                                    <p runat="server" id="NoOnline">

                                        <asp:RadioButton ID="rdoNo" runat="server" AutoPostBack="true" OnCheckedChanged="rdoNo_CheckedChanged" />

                                        No, I do not have an online account.</p>













server side code


using System;

using System.Collections;

using System.Configuration;

using System.Data;

using System.Linq;

using System.Web;

using System.Web.Security;

using System.Web.UI;

using System.Web.UI.HtmlControls;

using System.Web.UI.WebControls;

using System.Web.UI.WebControls.WebParts;

using System.Xml.Linq;




    public partial class test: System.Web.UI.Page


        protected void Page_Load(object sender, EventArgs e)





        protected void rdoNo_CheckedChanged(object sender, EventArgs e)





        protected void rdoYes_CheckedChanged(object sender, EventArgs e)





        protected void wBookingForm_NextButtonClick(object sender, EventArgs e)





        protected void wBookingForm_PreviousButtonClick(object sender, EventArgs e)








Open in new window

Question by:jimbona27
    LVL 9

    Accepted Solution


    Author Comment

    arrghh cheers mate

    Author Comment

    10 out 10 for assuming I was using multiple ies

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Suggested Solutions

    Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
    More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now