User Controls - naming conventions?
Posted on 2004-10-19
Just started to create a user control and wondered if anybody can comment on naming conventions etc?
For my actual control I used Pascal Casing and called it MainHeader
then when ever i insert this into a page it gives an automatic name of MainHeaderx where x is =1 , 2 or whatever..
What do people normally do here MainHeaderDefaultPage i.e. MainHeader (name of control) and afterwards add the page name?? or use an underscore ?? or just leave as 1,2,3 etc .. but this naming seems strange and unfriendly...
Any ideas or help would be really great