Ok, I have a ASP.NET UpdatePanel in a WebPart. In the ContentTemplate of the UpdatePanel I have a Wizard Control. All of it works great *Except* the ListViewByQuery. For some reason unless the LVBQ is on the first page of the Wizard, the ECB block won't
load. I almost think there's some javascript library I'm / that's not loading? I think the ECB makes an AJAX call back to SharePoint to load the right Menu items, and the UpdatePanel is getting in the way. Any ideas???
If the LVBQ is on the First Wizard Page, the ECB loads fine. If it's on the second Step (or later), the ECB won't load unless I force a Refresh. I've tried almost every PostBackTrigger I can think of, and then some.
---> .ascx file
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
<ContentTemplate>
<asp:Wizard ID="Wizard1" runat="server" >
<wizardsteps>
<asp:WizardStep ID="WizardStep1" title="Step 1" runat="server">
Some Content Here...
</asp:WizardStep>
<asp:WizardStep ID="WizardStep2" title="Step 2" runat="server">
<asp:Panel ID="Panel2" runat="server"></asp:Panel>
</asp:WizardStep>
</wizardsteps>
</asp:Wizard>
</ContentTemplate>
</asp:UpdatePanel>
--> CodeBehind
protected void Page_Load(object sender, EventArgs e)
{
ListViewByQuery LVBQ1 = new ListViewByQuery();
SPList List = SPContext.Current.Web.Lists["Word Library"];
LVBQ1.List = List;
LVBQ1.Query = new SPQuery(List.DefaultView);
Panel2.Controls.Add(LVBQ1);
}