Error on design mode

Feb 23, 2009 at 11:03 PM

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" "">
html xmlns="" >
head runat="server">
<title>Pagina sin titulo</title>
    <form id="form1" runat="server">
        <fjx:FileUploader ID="FileUploader1" runat="server" >
                <fjx:FileSaverAdapter FolderName="UploadFolder" />


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 8:55 AM
try this page. there is a sample
Feb 24, 2009 at 10: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 11: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.

Feb 24, 2009 at 4: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.