Using update panel with master & nested master pages

K

katmagic

How do I use the UpdatePanel with 2 content sections on the content page,
each section should update the other section. I keep getting the "Control
not found for asynchronous postback trigger" error. In the below example, I
want the gridview in each control section to update the other gridview.

<%@ Page Language="vb" AutoEventWireup="false" EnableEventValidation="false"
MasterPageFile="~/MasterNested.master" CodeBehind="stuff.aspx.vb"
Inherits="Main.Stuff"
title="Stuff" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"
TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MasterNestedHead"
runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MasterNestedHeadings"
runat="server">

<asp:Label id="StatusMessage" runat="server"></asp:Label><br />
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="MasterNested"
runat="server">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
Gridview here for content3
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID=Gridview4 />
</Triggers>
</asp:UpdatePanel>

</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="MasterNestedOrderDetails"
runat="server">

Gridview here for content 4

</asp:Content>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top