Thread: ASP.NET/Naming Conventions

Naming Conventions

LinkButton:  lnkBtn

ImageButton:  imgBtn

Hyperlink: hyp

ComboBox: cmb

DropDownList: ddl

ListBox: lst

CheckBox: chk

CheckBoxList: chkLst

RadioButton: rdo

RadioButtonList:rdoLst

Image:  img

ImageMap: imgMap

Table:  tbl

HiddenField: hdn

Literal: lrl

Panel:  pnl

PlaceHolder: plh

Menu:  mnu

Repeater: rpt

Timer:  tmr

UpdatePanel: updPnl





Re: Naming Conventions

frm Form

mnu Form menu

cmd Command button

chk Check button

opt Radio button

lbl Text label

txt Text edit box

pb  Picture box

pic Picture

lst List box

cbo Combo box

tmr Timer

 





Re: Naming Conventions

btn Button

cal Calendar

cbo ComboBox

chk CheckBox

cmd Command Button

dir Directory ListBox

dlg Common Dialog Box

drv Drive Selector

dtp Date Picker

fil File ListBox

fra Frame

frm Form

ilt ImageList

img Image

lbl Label

lst ListBox

lvw ListView

mnu Menu Item

nud NumericUpDown

obj Object

opt Radio (Option) Button

pic Picture Box

prg Progress Bar

sbr StringBuilder

tkb TrackBar

tmr Timer Control

txt TextBox





Re: Naming Conventions

Naming guidelines and code conventions


dotnet.mvps.org/dotnet/faqs/