|
|
 |
RE: FN-FORUM: .NET Newbie Q
date posted 21st July 2005 10:11
Hi Craig
I'm on it, but there are a lot of far friendlier and far more
knowledgable ones on it.
Norman=20
> -----Original Message-----
> From: [EMAIL REMOVED] [EMAIL REMOVED] On=20
> Behalf Of Craig
> Sent: 21 July 2005 10:41
> To: Norman Beresford
> Subject: RE: FN-FORUM: .NET Newbie Q
>=20
>=20
> Hi Norman,
>=20
> Thanks for that. I tried the sequence you detailed and it=20
> worked nicely:) I'll have a look on www.mswebdev.org.uk, I'm=20
> sure there are some very friendly people on it, as you say. =20
> Would one be called Norman perchance?
> Lol
>=20
> Regards,
>=20
> Craig=20
> =20
>=20
> -----Original Message-----
> From: [EMAIL REMOVED] [EMAIL REMOVED] On=20
> Behalf Of Norman Beresford
> Sent: 21 July 2005 08:44
> To: FN-FORUM / [EMAIL REMOVED]
> Subject: RE: FN-FORUM: .NET Newbie Q
>=20
>=20
> Hi Craig
>=20
> If you're dragging controls from the web forms toolkit onto=20
> the designer surface then VS will automatically add the=20
> reference in the code behind.
> If you write a control out in the code view then switch to=20
> the design view VS will automatically add the reference in=20
> the code behind. The only time you'll need to manually add=20
> the reference is if you only ever work in the code view.
>=20
> What I think Wayne was saying is that if you drag a Label=20
> from the HTML toolkit you'll need to rhc on it and select run=20
> as server control if you wish to access it's properties on=20
> the server side. If you add it within the code view you'll=20
> need to add an id and a runat=3Dserver to it, and add the=20
> reference to it within the code behind.
>=20
> The error does sound like you've not added the reference to=20
> it in VS.net
>=20
> I wouldn't worry about System.Reflection if I was you. It=20
> basically allows you to work out what something is without=20
> being told what it is.
> It's used by lots of bits of the Framework and VS.net, but=20
> tbh it's not something I've touched (to my shame) in the=20
> years I've been doing .Net development for.
>=20
> You can tweak a lot of the VS.net settings. There's also a=20
> whole host of plugins to change it's behaviour. Often just a=20
> case of asking around. You could try on the MsWebDev list=20
> (www.mswebdev.org.uk), which is host to a lot of very=20
> friendly UK .Net developers.
>=20
> Norman=20
>=20
>=20
>=20
>=20
>=20
> --
> Freelancers, contractors earn more with Prosperity4 Call 0870=20
> 870 4414 or visit www.prosperity4.com and benefit from Inland=20
> Revenue approved expenses today.
>=20
> To advertise here: http://www.freelancers.net/advertising.html
>=20
> |
 |
|