This is a migrated thread and some comments may be shown as answers.

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

1 Answer 50 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Emre Kurt
Top achievements
Rank 1
Emre Kurt asked on 21 Jan 2010, 01:09 AM
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.

1 Answer, 1 is accepted

Sort by
0
Emre Kurt
Top achievements
Rank 1
answered on 26 Jan 2010, 11:17 AM
Does not anyone know?

Tags
Ajax
Asked by
Emre Kurt
Top achievements
Rank 1
Answers by
Emre Kurt
Top achievements
Rank 1
Share this question
or