Error on design mode

Feb 23, 2009 at 10:03 PM
Hi

I have this page code: 

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default5.aspx.vb" Inherits="Default5" %>
<%
@ Register TagPrefix="fjx" Namespace="com.flajaxian" Assembly="com.flajaxian.FileUploader" %>
<!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>Pagina sin titulo</title>
</
head>
<
body>
    <form id="form1" runat="server">
    <div>
        <fjx:FileUploader ID="FileUploader1" runat="server" >
            <Adapters>
                <fjx:FileSaverAdapter FolderName="UploadFolder" />
            </Adapters>
        </fjx:FileUploader>
    </div>
    </form>
</
body>
</
html>

 


When i execute it, everthing is ok, but, in design mode i have this error:
error when processing control
exception noncontrolled
request nonavailable on this context

(I have translated it of the Spanish)

I work with Microsoft Visual Studio 2005, FrameWork 2.0.

Thank you for your help.


 

 

Feb 24, 2009 at 7:55 AM
try this page. there is a sample

http://www.codeplex.com/FlajaxianFileUpload/Thread/View.aspx?ThreadId=46488
Feb 24, 2009 at 9:06 AM
Thank you for your reply, thebeta1.

I already had tried that code, but show me the same error on design mode too.
Feb 24, 2009 at 10:11 AM
Sorry, I missed what you were asking.
This still works with that error on the page in design view.
Run it and you'll see that it works.
This is something that they will fix later for Microsoft Visual Studio.

Coordinator
Feb 24, 2009 at 3:18 PM
We did not spend any time for for the designer integration. If you want to do that and submit the code I can check it and integrate it if it works well.

But I want to assure you that it is not a good idea to use design mode at all. In Silverlight, WPF or even Windows Forms it can still make any sense but in web all the garbage that designer generates will cause a lot of problems in later stages.

The fact that we don't have this will have absolutely NO impact on the production performance.

My advaice: Do not use design mode in web at all! May be only for Hello World applications but not for production projects.