I have 3 radio buttons that sorts a DropDownList. So every time a user selects a radio button, it does a postback and resorts the DropDownList accordingly. The DropDownList has a datasource that populates it with a stored procedure. I have all these controls in an updatePanel inside a div which I put into the jQuery UI dialog. But when I click on the radio Button, the code-behind doesn't run and this error just pops up immediately :\[code\] Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 404:Error$createSys$WebForms$PageRequestManager$_createPageRequestManagerServerErrorSys$WebForms$PageRequestManager$_onFormSubmitCompleted(anonymous function)(anonymous function)Sys$Net$WebRequest$completedSys$Net$XMLHttpExecutor._onReadyStateChange\[/code\]It's really annyoing since I've spent a day working on this or almost 2.Here is my dialog:\[code\]function getCaseFiles(canCopyTo) { debugger; var dlg = $('#casefiles').dialog({//casefiles is the div containing the updatePanel/ajaxToolkitScriptManager autoOpen: true, height: 'auto', width: 'auto', modal: true, open: function(type, data) { $(this).parent().appendTo("form"); } }); //$('#casefiles').parent().appendTo($("form:first")); }\[/code\]And here is one of my code behind for my radio button:\[code\]protected void rbMyFiles_CheckedChanged(object sender, EventArgs e){ ddlCaseFiles.DataSourceID = "dsMyCaseFiles"; ddlCaseFiles.DataTextField = "Display"; ddlCaseFiles.DataValueField = "FileID"; //UpdatePanel2.Update();}\[/code\]DataSource for my DropDownList:\[code\]<asp:SqlDataSource ID="dsMyCaseFiles" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" ProviderName="System.Data.SqlClient" SelectCommand="p_CaseFiles_ListActiveCaseFilesAssignedTo" SelectCommandType="StoredProcedure"> <SelectParameters> <asp:SessionParameter Name="InvestigatorID" SessionField="InvestigatorID" /> <asp:SessionParameter Name="AssignedTo" SessionField="InvestigatorID" /> </SelectParameters></asp:SqlDataSource>\[/code\]here is my DropDownList with radio buttons(everything is inside \[code\]<div id="casefiles">\[/code\]):\[code\]<div id="casefiles"> <ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" /> <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"> <ContentTemplate> <%--<div id="rbfileByHolder" runat="server">--%> <label> Sort By</label> <span> <asp:RadioButton class="aspRBs" GroupName="rbfileByNameOrID" ID="rbMyFiles" Text="My Files" Checked="true" runat="server" AutoPostBack="True" OnCheckedChanged="rbMyFiles_CheckedChanged" /></span> <span> <asp:RadioButton class="aspRBs" GroupName="rbfileByNameOrID" ID="rbByFileID" Text="By File ID" runat="server" AutoPostBack="True" OnCheckedChanged="rbByFileID_CheckedChanged" /></span> <span> <asp:RadioButton class="aspRBs" GroupName="rbfileByNameOrID" ID="rbByFileName" Text="By File Name" runat="server" AutoPostBack="True" OnCheckedChanged="rbByFileName_CheckedChanged" /></span> <%-- </div>--%> <br /> </ContentTemplate> </asp:UpdatePanel> <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true"> <ContentTemplate> <label> Select New CaseFile</label> <aspropDownList runat="server" ID="ddlCaseFiles" DataSourceID="dsMyCaseFiles" DataTextField="Display" DataValueField="FileID" OnPreRender="ddl_PreRender" Width="524px" /> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ddlCaseFiles" ToolTip="Casefile Required" InitialValue="http://stackoverflow.com/questions/12693180/-1" Text="*" Display="Dynamic" /> <ajaxToolkit:ListSearchExtender ID="ddlExtCaseFiles" runat="server" PromptCssClass="ListSearchExtenderPrompt" TargetControlID="ddlCaseFiles" BehaviorID="ddlExtCaseFiles" Enabled="True" /> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="rbByFileName" EventName="CheckedChanged" /> <asp:AsyncPostBackTrigger ControlID="rbByFileID" EventName="CheckedChanged" /> <asp:AsyncPostBackTrigger ControlID="rbMyFiles" EventName="CheckedChanged" /> </Triggers> </asp:UpdatePanel>\[/code\]