iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I've created a very simple page that has a WebComboBox, a button that posts-back, and a WebFileUploader, which is inside an update panel. Before the page posts-back, the Uploader control looks and works correctly. But, after the button submits the page, the WebFileUploader is not completely redrawn (the checkbox, filename textbox and the 'Select' box are missing - only the 'Upload now' button is displayed). This is preventing the user from uploading a file.
What am I doing wrong?
I'm trying to create a page where the user will pick a product from the WebCombo, click the 'PartLookup' button, and have the update panel display info for the product and allow the user to upload new photos for that product.
Thanks for the help,
Jim
P.S. ASP.NET version 4.0, and using Visual Studio 2010
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="MasterController.Filter.test" %><%@ Register Assembly="ISNet.WebUI.WebCombo" Namespace="ISNet.WebUI.WebCombo" TagPrefix="ISWebCombo" %><%@ Register Assembly="ISNet.WebUI.WebTextEditor" Namespace="ISNet.WebUI.WebTextEditor" TagPrefix="ISWebTextEditor" %><%@ Register Assembly="ISNet.WebUI.WebDesktop" Namespace="ISNet.WebUI.WebDesktop" TagPrefix="ISWebDesktop" %><%@ Register Assembly="ISNet.WebUI.WebGrid" Namespace="ISNet.WebUI.WebGrid" TagPrefix="ISWebGrid" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <div> <ISWebCombo:WebCombo ID="WebCombo_PartNumber" runat="server" DropDownRows="1000" Width="200px" AllowWildCardSearch="True" ViewStateItems="All" ViewStateMode="Enabled" Height="22px" Latency="100" DataTextField="PartNumber" DataValueField="Id" UseDefaultStyle="True"> <LayoutSettings EntryMode="AutoComplete" EnableAnimation="False" ResultBoxWindowType="Popup" RoundCorner="False" AlwaysShowHelpButton="false"> </LayoutSettings> </ISWebCombo:WebCombo> <asp:Button ID="Button_PartLookup" runat="server" Text="Lookup -->" OnClick="Button_PartLookup_Click" /> <asp:UpdateProgress ID="UpdateProgress1" runat="server" DisplayAfter="0" DynamicLayout="false"> <ProgressTemplate> <img id="ajaxloader" src="~/_Images/ajax-loader.gif" runat="server" alt="" /> Please wait... Looking up info </ProgressTemplate> </asp:UpdateProgress> </div> <div> <asp:UpdatePanel ID="UpdatePanel1" RenderMode="Block" UpdateMode="Conditional" runat="server"> <Triggers> <asp:AsyncPostBackTrigger ControlID="Button_PartLookup" EventName="click" /> </Triggers> <ContentTemplate> <ISWebTextEditor:WebFileUploader ID="WebFileUploader1" runat="server" UploadPath="../_ProductData/Spectra" FileTypes="*.txt" Caption="Please select a file ( *.txt )" TextSettings-MessageText="File Uploaded !" UploadType="BatchUpload" InitialFilesCount="2" AllowAdd="false" AllowRemove="False"> </ISWebTextEditor:WebFileUploader> </ContentTemplate> </asp:UpdatePanel> </div> </form></body></html>
Hello Jim,
Thank you for providing a sample code for us to replicate the issue. I have successfully replicated your error on my end. However, I couldn't assume this issue is confirmed as a bug yet.
I have reported your issue to the developer team to be investigated further.
I will let you know when I get the update from them.
Thank you.
Hello,
I would like to encourage you to use our WebFlyPostBackManager instead of UpdatePanel along with ScriptManager.
Please have a look at the following sample. I think this sample is quite similar like the scenario you want to achieve.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname