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 12:22

Hi Hibri,

Thanks for your detailed reply.

I have all the settings I can find set to lowercase but only inline style
selectors seem to miss out, they are all capitalised while their attributes
are lowercase. Very weird.

Regards,

Craig


-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of Hibri
Marzook
Sent: 21 July 2005 12:31
To: FN-FORUM / [EMAIL REMOVED]
Subject: Re: FN-FORUM: .NET Newbie Q


Hi Craig,
to do it by hand this is what you do..
in your html you would add this
asdf

and then in your code behind (i'm using c# but is the same for vb.net)
you should declare the control like

protected System.Web.UI.WebControls.Label label1;

in your class constructor you have to create a new instance of the control
by
label1 = new System.Web.UI.WebControls.Label();
and then attach any events to it.
VS.Net does this for you and writes this code in the
InitializeComponent method when you drag and drop a control.
what i do is drag the control to the web form and then place the
control in HTML manually, this way i get the code behind and have more
control.

in vs.net settings there is an option to make all your tags and
attributes lowercase.

HTH
Hibri



On 20 Jul 2005 23:32:22 -0000, Craig [EMAIL REMOVED] wrote:
>
> Hi,
>
> A Visual Studio.NET question...
>
> If I drag a label web form control on to the design surface then go to the
> "code behind" page I can programme it and all is well. However, if I add
> one in the HTML screen and then add references to it in the "code behind"
> page I get errors. Is VS doing things that aren't apparent in Designer
mode
> or is there a way to get it done by hand and it work properly?
>
> I'm getting a bit frustrated with the designer, I have more control by
hand
> coding, hence the question.
>
> Thanks in advance,
>
> Craig
>




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