Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM: Asp.Net / C# HELP! P

date posted 9th January 2008 16:27

Thanks for all the suggestions guys!

Regards
Phill Healey
Munklefish
Po Box 70
Manchester
M34 3SQ
T: 0161 408 4759
=20
=EF=80=A0=EF=81=90 Please consider the environment before printing.

-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of Damon
Sent: 09 January 2008 17:15
To: FN-FORUM / [EMAIL REMOVED]
Subject: RE: FN-FORUM: Asp.Net / C# HELP! P


> Any c# / .Net folk out there who can give me a hand.
>=20
> I have a number of page menus using =
=C3=83=C2=A2=C3=A2=E2=80=9A=C2=AC=C3=8B=C5=93.js=C3=83=C2=A2=C3=A2=E2=80=9A=
=C2=AC=C3=A2=E2=80=9E=C2=A2 files. I need to
> programmatically add the appropriate file at a set location in the =
html,
> based on a given criteria.
>=20
> Can anyone offer some insight towards this? I recall using some c code
> that for this a long time ago., but can no longer find reference to =
this.
>=20
> Any help would be appreciated.
>=20

.Net 1.1 or 2.0

1.1 just use a asp:Literal and place the code there (even in the header)

If you are using 2.0 and want to dynamically add a ref to a js file in =
the header use

System.Web.UI.HtmlControls.HtmlGenericControl scpt =3D new =
HtmlGenericControl("script");
scpt.Attributes.Add("type", "text/javascript");
=20
Header.Controls.Add(scpt);

HTH

Damon


--=20
Freelancers, contractors earn more with Prosperity4
Call 0870 870 4414 or visit www.prosperity4.com
and benefit from Inland Revenue approved expenses today.

To advertise here: http://www.freelancers.net/advertising.html



Messages by Day
January 31st 2008
January 30th 2008
January 29th 2008
January 28th 2008
January 27th 2008
January 26th 2008
January 25th 2008
January 24th 2008
January 23rd 2008
January 22nd 2008
January 21st 2008
January 20th 2008
January 19th 2008
January 18th 2008
January 17th 2008
January 16th 2008
January 15th 2008
January 14th 2008
January 13th 2008
January 12th 2008
January 11th 2008
January 10th 2008
January 9th 2008
January 8th 2008
January 7th 2008
January 6th 2008
January 5th 2008
January 4th 2008
January 3rd 2008
January 2nd 2008
January 1st 2008


Messages by Month
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000