Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Update Panel

$
0
0

I have a masterpage with a iframe that links to a flash video, also on the page is a Menu Items Control,... What I want is for a user to click the home button in the menu control from a content page and have everything except the iframe reload on postback (so that it keeps playing without reloading on navigation change)... I tried target to the content placeholder that is in the update panel

<div id="nav" style="width: 900px; height: 25px; overflow: hidden; padding-top: 15px; padding-left: 10px; background-color: #000000; font-family: Times New Roman; font-size: 14pt; color: #c59d5c; font-weight: bold; text-align: left;">

 <asp:Menu ID="home" runat="server" >
 <Items>
 <asp:MenuItem NavigateUrl="~/Default.aspx" Target="ContentPlaceHolder1" Text="HOME" Value="HOME" Enabled="true"  ></asp:MenuItem>
 </Items>
            </asp:Menu>
    </div>    
                 <asp:UpdatePanel runat="server" id="UpdatePanel1">
     <ContentTemplate>
        <div id="container2" style="z-index: 100; width: 900px; position: relative; height: 100%;">
 
            
        
        <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">

        
        </asp:ContentPlaceHolder>
    
        
        </div>
      </ContentTemplate>
      <Triggers>
      <asp:AsyncPostBackTrigger ControlID="home" />
      </Triggers>
        </asp:UpdatePanel>


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>