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: .NET Newbie Q

date posted 21st July 2005 08:11

Hi Craig

If you're dragging controls from the web forms toolkit onto the designer
surface then VS will automatically add the reference in the code behind.
If you write a control out in the code view then switch to the design
view VS will automatically add the reference in the code behind. The
only time you'll need to manually add the reference is if you only ever
work in the code view.

What I think Wayne was saying is that if you drag a Label from the HTML
toolkit you'll need to rhc on it and select run as server control if you
wish to access it's properties on the server side. If you add it within
the code view you'll need to add an id and a runat=3Dserver to it, and =
add
the reference to it within the code behind.

The error does sound like you've not added the reference to it in VS.net

I wouldn't worry about System.Reflection if I was you. It basically
allows you to work out what something is without being told what it is.
It's used by lots of bits of the Framework and VS.net, but tbh it's not
something I've touched (to my shame) in the years I've been doing .Net
development for.

You can tweak a lot of the VS.net settings. There's also a whole host
of plugins to change it's behaviour. Often just a case of asking
around. You could try on the MsWebDev list (www.mswebdev.org.uk), which
is host to a lot of very friendly UK .Net developers.

Norman=20



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


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


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