Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: dotNet User Control
wayneh
Newbie

Posts: 1
Registered: 2/13/2007
Member Is Offline
posted on 2/13/2007 at 04:21 AM Reply With Quote
dotNet User Control


I would like to if the js files need to be located in the root. I want to create a user control in my dotNet project. The problem I am currently experiencing is that I have folder structures for ease of use. So the problem is that I have created a folder called UserControls and added a WebMenu.ascx page within the folder. I then copied all the js files to this folder structure, created a css folder under the UserControls folder and copied the css file to this folder. The HTML code in my user control looks as follows:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="WebMenu.ascx.cs" Inherits="UserControls_WebMenu" %>
<%@ Register Assembly="SuperControls.WebMenu" Namespace="SuperControls" TagPrefix="cc1" %>
<!--All the relevant files are located in the root directory-->
<!--Need to include this file for menu style-->
<link href="css/menu.css" type="text/css" rel="stylesheet" />
<!-- files with geometry and styles structures -->
<script language="JavaScript" src="menu.js" type="text/javascript"></script>
<!-- files with geometry and styles structures -->
<script language="JavaScript" src="menu_tpl.js" type="text/javascript"></script>
<cc1:WebMenu ID="WebMenu1" runat="server" Width="100%" />

When I drag the user control onto my various web pages which are situated with various file structures the menu does not display.

Thanks in advance
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Tigra Menu
Product Demonstrations Live Demos:
Traditional Blue
White Steps
Inner HTML
All Together
Frames Targeting
Free Download Free Download
Free Download Menu Builders
Online Builder
Builder for Windows
Product Documentation Documentation:
Documenation Page
Change Log
Menus Comparison Table
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004