What are the naming guidelines for ASP.NET controls?

后端 未结 18 1923
离开以前
离开以前 2020-12-07 21:23

We are in the process of nutting out the design guidelines we would like to use in our development team and got into a discussion today around how ASP.NET controls should be

18条回答
  •  时光取名叫无心
    2020-12-07 22:07

    Abbreviation    ||   ASP.NET Control
    

    STANDARD CONTROLS:

    btn Button

    cb CheckBox

    cbl CheckBoxList

    ddl DropDownList

    fu FileUpload

    hdn HiddenField

    lnk Hyperlink

    img Image

    ibtn(btn) ImageButton

    lbl Label

    lbtn(btn) LinkButton

    lb ListBox

    lit Literal

    mv MultiView

    pnl Panel

    ph PlaceHolder

    rb RadioButton

    rbl RadioButtonList

    tbl Table

    txt TextBox

    v View

    DATA CONTROLS

    dtl DataList

    dp DataPager

    dtv DetailsView

    ets EntityDataSource

    fv FormView

    gv GridView

    lds LinqDataSource

    lv - ListView

    ods ObjectDataSource

    qe QueryExtender

    rpt Repeater

    smd SiteMapDataSource

    sds SqlDataSource

    xds XmlDataSource

    VALIDATION CONTROLS

    cpv CompareValidator

    ctv CustomValidator

    rv RangeValidator

    rev RegularExpressionValidator

    rfv RequiredFieldValidator

    vs ValidationSummary

    VALIDATION CONTROLS:

    cpv // CompareValidator

    ctv CustomValidator

    rv RangeValidator

    rev RegularExpressionValidator

    rfv RequiredFieldValidator

提交回复
热议问题