473,406 Members | 2,849 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

javascript and styles within asp:Content

Hi!

I use:

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
runat="Server">
<link rel="stylesheet" href="../javascript/my.css" />
<script src="../javascript/my.js" type="text/javascript" />
...

The problems:
1.) VS doesn't find the files.
2.) VS doesn't like the link to be inside the asp:Content.
3.) I can't switch to the design view because of 2.)
4.) It works !?! (But 3. should work too!)

What shall I change in order not to get complaints from VS?

Thanks

Joe
May 7 '07 #1
1 2476
Joe Kovac wrote:
Hi!

I use:

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
runat="Server">
<link rel="stylesheet" href="../javascript/my.css" />
<script src="../javascript/my.js" type="text/javascript" />
...

The problems:
1.) VS doesn't find the files.
My fault. I didn't add the css and js file to the project yet.
The other problems remain.
2.) VS doesn't like the link to be inside the asp:Content.
3.) I can't switch to the design view because of 2.)
4.) It works !?! (But 3. should work too!)

What shall I change in order not to get complaints from VS?

Thanks

Joe
May 7 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: John | last post by:
Greetings, I was talking to my host company representative this evening, and he thought that certain web crawlers (he mentioned Offline Explorer /and/ Anawave WebSnake would be able to download...
1
by: phil1bruening | last post by:
Hello! I need to access master page controls from within content pages. Wow can I do that??
3
by: Gerhard | last post by:
Is it possible to embed a .pdf file inside <asp:Content></asp:Content>? I have a page that has a master page with navigation, etc., and I want the content to be what is in a .pdf file. Is this...
3
by: ilockett | last post by:
The background: I have a web app with a simple master page that contains just one content placeholder. I have created a web form that then uses this master page. Within the content...
2
by: Victor Rodriguez | last post by:
I need a way to be able to retrieve child controls on a <asp:Content I've try I get nothing. Where should I look? thanks, Vic
13
by: mowsen | last post by:
Hello Group, i'm using a little "ajax" loader script to dynamically load files into different "div" tags on my main site. the code for this part looks like: function loader() { var args =...
14
by: =?ISO-8859-9?Q?G=F6khan_Alt=FDnsoy?= | last post by:
Hi, I am trying to post a javascript content via form textarea input element. But when i click send (post) the posted page comes unaccesible. example content for post : <script...
1
by: baburk | last post by:
Hi, How to refresh only a particular asp:Content for certain period of time. How can i? <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server"> ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.