You don't have a reference to the file manager control in your html,
so the schema doesn't know how to handle it.
In terms of the second problem it appears you have
<asp:Label ID = "FolderDescrition">
in the html, but you have not declared it in the code-behind:
protected withevents FolderDescription as System.Web.UI.WebControls.Label;
also make sure you change the ID in the html from FolderDescrition to
FolderDescription
On 6/21/05, Osama M.Bahgat <[EMAIL PROTECTED]> wrote:
> well, thanx to ur care
> about my second part here is my code
> ----------------
> this is in the aspx page
>
> <%@ Page Language="C#" CodeFile="browsefiles.aspx.cs"
> Inherits="OnlineCommunity.WebModues.FileManager.Web.BrowseFile.BrowseFiles" %>
>
> <body>
>
> <form method = "post" runat="server" enctype ="multipart/form-data">
>
> <input type = "hidden" id = "funcParam" runat ="server" name = "funcParam"
> /><input type = "hidden" id ="funcExtraParam" runat ="server" name =
> "funcExtraParam" />
>
> <FileManager:Header id = "Title" runat = "server"/>
>
> <asp:Table runat="server" CssClass="Grid_Header_Thin" Width="100%"
> ID="Table1">
>
> <asp:TableRow>
>
> <asp:TableCell Width="36">
>
> <asp:Image runat="server" Height="32" Width="32"
> ImageUrl="Images/OpenFolder.gif" ID="Image1" NAME="Image1"></asp:Image>
>
> </asp:TableCell>
>
> <asp:TableCell>
>
> <asp:Label ID = "FolderDescrition" runat ="server"></asp:Label>
>
> </asp:TableCell>
>
> </asp:TableRow>
>
> </asp:Table>
>
> //then the rest of the page code
>
> -----------------------------------------
>
> and this is the aspx.cs code
>
> --------------------------
>
> using System.Data;
>
> using System.Drawing;
>
> using System.Web;
>
> using System.Web.SessionState;
>
> using System.Web.UI;
>
> using System.Web.UI.WebControls;
>
> using System.Web.UI.HtmlControls;
>
> using System.IO;
>
> namespace OnlineCommunity.WebModules.FileManager.Web
>
> {
>
> public partial class BrowseFiles : System.Web.UI.Page
>
> //then some code goes here
>
> protected void Page_Load(object sender, EventArgs e)
>
> {
>
> folderPath = Request.Params["Folder"];
>
> if (folderPath == null || folderPath == "/")
>
> folderPath = Request.ApplicationPath.ToString();
>
> else if (folderPath.EndsWith("/"))
>
> folderPath = folderPath.Substring(0, folderPath.Length - 1);
>
> FolderDescription.Text = "Virtual Folder: " + folderPath +
>
> "<br>Physical folder: " + Server.MapPath(folderPath);
>
> FillFoldersAndFileTable();
>
> }
>
> //then the rest of the code
>
> -------------------------------------
>
> my code which is hilighted with yellow is the problem here
>
> 1st: the FileManager:Header the compiler say that "the active schema doesn't
> support the element header
>
> 2nd: the part
>
> <asp:Label ID = "FolderDescrition" runat ="server"></asp:Label>
>
>
>
> FolderDescription.Text = "Virtual Folder: " + folderPath +
>
> "<br>Physical folder: " + Server.MapPath(folderPath);
>
>
>
>
>
>
>
>
>
> ---------------------------------
> Yahoo! Sports
> Rekindle the Rivalries. Sign up for Fantasy Football
>
> [Non-text portions of this message have been removed]
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
--
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/