I can't make sequential loader for My project. [Please Help]

2 posts, 0 answers
  1. Emre Kurt
    Emre Kurt avatar
    2 posts
    Member since:
    Jul 2009

    Posted 20 Jan 2010 Link to this post

    Hi.
    Friends, I can't make sequential loader for My project. I use ascx controls at the project and I need to install them in sequence.

    For Example
    http://i308.photobucket.com/albums/kk324/EmooTy/ascx.jpg?t=1264004649

    -------- My Procect's Codes --------
    -Default.aspx-
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="my_project._Default" %> 
    <%@ Register src="menu.ascx" tagname="menu" tagprefix="uc1" %> 
    <%@ Register src="flash.ascx" tagname="flash" tagprefix="uc2" %> 
    <%@ Register src="alt_1.ascx" tagname="alt_1" tagprefix="uc3" %> 
     
    <html> 
    <body> 
    <table > 
            <tr> 
                <td> 
                    <uc1:menu ID="menu1" runat="server" /> 
                </td> 
                 <td> 
                     <asp:PlaceHolder ID="Ph_flash" runat="server"
                     </asp:PlaceHolder> 
                </td> 
                <td > 
                    <asp:PlaceHolder ID="Ph_alt1" runat="server"
                     </asp:PlaceHolder> 
               </td> 
            </tr> 
        </table> 
    </body> 
    </html> 
    -Default.aspx.Cs -  
     public void yuklendi_flash() 
            { 
                Control flash_ascx = Page.LoadControl("flash.ascx"); 
                Ph_flash.Controls.Add(flash_ascx); 
                ////Panel1.Controls.Add(flash_ascx); 
            } 
     
            


    -Menu.ascx-
    <script type="text/javascript" language="javascript" > 
    window.onload=<%=flash_yukle()%>
    </script> 
    -Menu.ascx.CS-
      _Default _default = new _Default(); 
     
            public string flash_yukle() 
            { 
                _default.yuklendi_flash(); 
                return ""; 
            } 






    I did it but it didn't run.

    Error : http://i308.photobucket.com/albums/kk324/EmooTy/error.gif?t=1264034869

    How Can I do ?
    Does Telerik  have a feature or Is there a another method ?

    My Project's Link: http://hotfile.com/dl/25093592/f357e5f/my_project.rar.html

    Note: I'm learning English at the moment. So My English isn't very good.
    And I don't know JavaScricpt.

    Please. You help me.
  2. Emre Kurt
    Emre Kurt avatar
    2 posts
    Member since:
    Jul 2009

    Posted 26 Jan 2010 Link to this post

    Does not anyone know?

Back to Top