CuteWebUI:UploadPersistedFile does post back inside Ajax Control Toolkit TabPanel

Last post 03-24-2008, 9:48 AM by Adam. 4 replies.
Sort Posts: Previous Next
  •  03-20-2008, 2:37 PM 38208

    CuteWebUI:UploadPersistedFile does post back inside Ajax Control Toolkit TabPanel

    I'm having real trouble getting the  Ajax Uploader with all the persistedfile logic to integrate into my existing site.  I have the following page / control hierarchy as discussed in this post http://cutesoft.net/forums/thread/37997.aspx
     
    Site.Master
        ContentPlaceHolder
    ChildPage
        ScriptManager
            AjaxTabContainer (Ajax Control Toolkit)
                AjaxTabPanel (Ajax Control Toolkit)
                    UpdatePanel
                        ContentTemplate
                            CuteWebUI:Uploader
     
    All functionality is working with uploading and saving a picture however after the image is uploaded the complete page posts back and my Tab Container reloads the with the first Tab Panel selected, the Ajax Uploader is in the last tab (the fourth one).  Any ideas as it really isn't providing the nice ajaxy partial page post back feel.  I have tried moving the control so it's not in the AjaxTabContainer but get the same issue.
     
    Cheers,
     
    ll
  •  03-20-2008, 4:13 PM 38212 in reply to 38208

    Re: CuteWebUI:UploadPersistedFile does post back inside Ajax Control Toolkit TabPanel

    Also what is the supplied reference assembly SampleControls.dll?  I notice that within the AdvancedCS20.Demo.master page that the following code references a DynamicPanel defined within SampleControls.dll, could you confirm what this control is and whether it is required for the AdvancedCS20 demo to work correctly as per my question above?
     
                        <SC:DynamicPanel CssClass="AjaxPanel" runat="server" ID="AjaxPanel" AutoInitiaize="false">
                            <ContentTemplate>
                                <div class="MiddlePanel">
                                    <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                                    </asp:ContentPlaceHolder>
                                </div>
                                <br />
                                <div class="AjaxBottomPanel">
                                    <asp:DropDownList ID="AjaxMode" runat="server" Width="150px" AutoPostBack="True"
                                        OnSelectedIndexChanged="AjaxMode_SelectedIndexChanged">
                                        <asp:ListItem Value="Atlas">Microsoft Ajax</asp:ListItem>
                                        <asp:ListItem Value="Magic">Magic Ajax</asp:ListItem>
                                        <asp:ListItem Value="None">Do not use Ajax</asp:ListItem>
                                    </asp:DropDownList>
                                    <asp:Label ID="LinkWelcome" runat="server"></asp:Label>&nbsp;
                                    <asp:Label runat="server" ID="TopServerTime"></asp:Label>
                                </div>
                            </ContentTemplate>
                        </SC:DynamicPanel>
     

    ll
  •  03-20-2008, 9:24 PM 38223 in reply to 38208

    Re: CuteWebUI:UploadPersistedFile does post back inside Ajax Control Toolkit TabPanel

    lholman,
     
    Can you send me a simple asp page showing the problems?
     
     
    Keep me posted

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-21-2008, 2:06 PM 38249 in reply to 38223

    Re: CuteWebUI:UploadPersistedFile does post back inside Ajax Control Toolkit TabPanel

    Adam,
     
    It's difficult to post a simple file as the demo version of CuteWebUI:UploadPersistedFile using the AdvancedCS20 project is quite complex relying on a Master page, aspx page, a number of includes (which I asked the relevance of in my last post and still would like an answer too) as well as using an over complicated method of generating the ScriptManager, UpdatePanel and ContentTemplate programatically.  I believe this makes it quite challenging to implement the AjaxUploader with this functionality into an existing site that relies on also using the Ajax Control Toolkit.  Could you please answer my question in the last post and if possible supply an a simplified (i.e. without the SampleControls.dll reference and programatic creation of the ScriptManager, UpdatePanel and ContentTemplate as in Demo.master) example of the AjaxUploader with persisted file and the functionlity used within Ajax-based-user-profile.aspx, i.e. the async image reload?
     
    Many Thanks,
     
    ll

  •  03-24-2008, 9:48 AM 38289 in reply to 38249

    Re: CuteWebUI:UploadPersistedFile does post back inside Ajax Control Toolkit TabPanel

    Please check the source code of version 1.1. It doesn't use SampleControls.dll and demo.master files.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML