Rank: Newbie Groups: Member
Joined: 6/1/2009 Posts: 1
|
I have 2 upload controls on one page, both work as I would expect except that one opens a new browser window after running the OnFileUploaded procedure. The new window is trying to access the following:
http://localhost:53010/1.%20Tibbett.com.au%20Beta/eo_web.ashx?id=4EF2A06E-5171-4166-82A6-242BD1985E8A&uploader_data=ByF1cGxvYWQCUlFjdGwwMF9DUEgxX0VkaXRQYW5lbF9yZXBsYWNlRmlsZUFKQVhVcGxvYWRlcjpGMVBMWmJQVTk0d1BtdFR0a1B5YzNSZC9ENXJyR0ovUFphalUnJnM6NWE2MjhiZGItMjYzZi00NGRhLWI0ODgtNmUxNmZiMjA2MTYx
I have followed the code with debug and it just fires the new window up at the end of the OnFileUploaded procedure. Really weird!
The ASPX code is: <eo:AJAXUploader ID="replaceFileAJAXUploader" runat="server" Width="250px" TempFileLocation="~\Site\Images\test" MaxDataSize="4000000" HideDisabledToolBarButton="true" AutoUpload="true" AutoPostBack="true" OnFileUploaded="UploadReplaceFiles"> <LayoutTemplate> <div class="lineEdit"> <asp:PlaceHolder ID="InputPlaceHolder" runat="server">Input Box Place Holder </asp:PlaceHolder> </div> <div class="lineEdit"> <eo:ProgressBar ID="ProgressBar" runat="server" BorderColor="#cccccc" BorderWidth="1px" BorderStyle="Solid" ControlSkinID="Windows_Vista" ShowPercentage="True" /> </div> <div class="lineEdit"> <asp:Button ID="CancelButton" runat="server" Width="90px" Text="Stop Upload" /> </div> </LayoutTemplate> </eo:AJAXUploader>
Thanks Rob
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Your code looks fine to us. Can you post the full test page? You mentioned that one works but the other opens a new window, so I would expect there is something different between then. If you can post a full test page that can reproduce the problem (we will need to run and see the problem here), we should be able to tell you exactly what's wrong.
Thanks!
|