asp.net ajax updatepanel progress
-
Hi Dear, I've a serious problem, that is: I've three asp:Contents in my content page. Content1 for head, Content2 is activated when user is logged in;By contrast, Content3 is for anonymous user. In my program asp:UpdatePanel works properly in both content(Content2 & Content3). asp:UpdateProgress works properly in Content3(used for anonymous user) but doesn't work for Content2(used for logged in user)
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> <asp:UpdatePanel ID="UpdatePanel2" runat="server"> <ContentTemplate> <%=DateTime.Now.ToLongTimeString() %> <asp:Button ID="Button1" runat="server" Text="Button" /> </ContentTemplate> </asp:UpdatePanel> <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel2"> <ProgressTemplate> <img alt="Loading..." src="../Images/ajax-loader.gif" /> Please wait... </ProgressTemplate> </asp:UpdateProgress> </asp:Content> <asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server"> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <%=DateTime.Now.ToLongTimeString() %> <asp:Button ID="UpdateButton_Click" runat="server" Text="Button" /> </ContentTemplate> </asp:UpdatePanel> <asp:UpdateProgress ID="UpdateProgress2" runat="server" AssociatedUpdatePanelID="UpdatePanel1"> <ProgressTemplate> <img alt="Loading..." src="../Images/ajax-loader.gif" /> Please wait... </ProgressTemplate> </asp:UpdateProgress> </asp:Content>
I don't understand which is my fault. Please help me.shahdat
-
Hi Dear, I've a serious problem, that is: I've three asp:Contents in my content page. Content1 for head, Content2 is activated when user is logged in;By contrast, Content3 is for anonymous user. In my program asp:UpdatePanel works properly in both content(Content2 & Content3). asp:UpdateProgress works properly in Content3(used for anonymous user) but doesn't work for Content2(used for logged in user)
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> <asp:UpdatePanel ID="UpdatePanel2" runat="server"> <ContentTemplate> <%=DateTime.Now.ToLongTimeString() %> <asp:Button ID="Button1" runat="server" Text="Button" /> </ContentTemplate> </asp:UpdatePanel> <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel2"> <ProgressTemplate> <img alt="Loading..." src="../Images/ajax-loader.gif" /> Please wait... </ProgressTemplate> </asp:UpdateProgress> </asp:Content> <asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server"> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <%=DateTime.Now.ToLongTimeString() %> <asp:Button ID="UpdateButton_Click" runat="server" Text="Button" /> </ContentTemplate> </asp:UpdatePanel> <asp:UpdateProgress ID="UpdateProgress2" runat="server" AssociatedUpdatePanelID="UpdatePanel1"> <ProgressTemplate> <img alt="Loading..." src="../Images/ajax-loader.gif" /> Please wait... </ProgressTemplate> </asp:UpdateProgress> </asp:Content>
I don't understand which is my fault. Please help me.shahdat
I have asked few query on your last post, as that was easily readable. :)
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.