Viewing and uploading pictures from/to a database or a file server

Last post 11-25-2005, 1:09 PM by Torben. 2 replies.
Sort Posts: Previous Next
  •  11-24-2005, 10:09 AM 12985

    Viewing and uploading pictures from/to a database or a file server

    Hey
     
    I get this critical error and my picture dialog does not show up.

     
    Compiler error:
    CS0103: The name "ThumbUrl" does not exists in the class or namespace 'ASP.ThumbList_ascx'

    The method ThumbUrl does not exist anywhere. Can anybody help?

     <ItemTemplate>
     <img border="0" src="<%# ThumbUrl((String)(DataBinder.Eval(Container.DataItem,"Path"))) %>" alt="<%# String_Name%>: <%# DataBinder.Eval(Container.DataItem, "Name")%>&#10;&#13;<%# String_Size%>: <%# ( Convert.ToInt32(DataBinder.Eval(Container.DataItem, "Length")) /1024).ToString("n0")%> KB&#10;&#13;<%# String_Createddate%>: <%# DataBinder.Eval(Container.DataItem, "CreationTime") %>&#10;&#13;<%# String_Modifieddate%>: <%# DataBinder.Eval(Container.DataItem, "LastWriteTime")%>" onmouseover="Check(this,1)" onmouseout="Check(this,0)" onclick="insert('<%# DataBinder.Eval(Container.DataItem,"Url") %>')" style="BORDER: white 1px solid" align="center">
     </ItemTemplate>
  •  11-24-2005, 12:03 PM 12997 in reply to 12985

    Re: Viewing and uploading pictures from/to a database or a file server

    Hi torben,
     
    The following situation happened to other developers before:
     
    When you are using the Visual Studio IDE to include the " CuteEditor" folder into your Visual Studio project, it prompts you to create a code-behind file for the *.aspx.

    If you select "Yes", the a new code-behind files will be created by the Visual Studio IDE.

    But the new code-behind files are empty.
     
    Can you check your project?

    Steps to fix this problem:

    1. Delete all the files in CuteEditor fodler.

    2. Copy "CuteEditor" folder into your Visual Studio project again, when prompts you to create a code-behind file for the *.aspx, please select "NO" .
     
     

    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

  •  11-25-2005, 1:09 PM 13024 in reply to 12997

    Re: Viewing and uploading pictures from/to a database or a file server

    Hi
     
    Everything turns out fine, after I have deleted the CuteEditor folder. I reinstalled the folder and its content, and answered no to install code behind files. Many other small problems (fx. selecting a color palette) is solved too.

    Thanks  
View as RSS news feed in XML