asp.net 2.0 (MSVS 2005) Ajax enabled site
I have aspnetflash on a user control. The usercontrol goes on the aspx page.
The swf files load up from a directory into a listbox, on item selected in listbox the swf runs in the flash control.
I have this working perfectly (without updatepanel), but know I wish to put the user control between an updatepanel on the aspx page, and when I do, I get the alternative view of '<HTMLAlternativeTemplate>' when I select the swf item to run .
My usercontrol code named 'Manage_Media'
Code:
<table cellpadding="0" cellspacing="0" style=" border:solid 1px black;background-color:#EFF6FF;" class="Area">
<tr>
<td width="610px" height="410px">
<ASPNetFlash:Flash
ID="Flash1"
runat="server"
DebugMode="false"
PlayerVersionAutoDetect="true"
AllowFullScreen="true"
PausedAtStart="true"
Alignment="Center"
Width="600px"
Height="400px"
AllowScriptAccess="SameDomain"
ShowFullMenu="true"
HeightAutoDetect="false"
WidthAutoDetect="false"
BorderStyle="Inset"
MovieURL="~/MediaRep/xMakeSelection.swf"
Quality="Best">
<HTMLAlternativeTemplate>
<asp:ImageButton ID="ImageButtonGetFlashPlayer" runat="server"
PostBackUrl="http://www.adobe.com/go/getflashplayer"
ImageUrl="http://www.aspnetflash.com/images/get_flash_player.gif" />
</HTMLAlternativeTemplate>
</ASPNetFlash:Flash>
</td>
<td width="325px" height="auto" align="left" valign="top" >
<obout:ListBox runat="server" ID="ListBox1" Width="325" AutoPostBack="true"
Height="390" EnableViewState="true" SelectionMode="Single">
<ItemTemplate>
<span><%#LBItemColor(Eval("Desc"), Eval("Type"))%></span>
</ItemTemplate>
</obout:ListBox>
</td>
</tr>
</table>
My aspx code that failes
Code:
<asp:UpdatePanel ID="uppanVideo" runat="server" UpdateMode="Conditional" >
<ContentTemplate>
<uc1:Manage_Media ID="Manage_Media1" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
Any ideas..
NOTE: I ran this in IE7 and FireFox the result was the same