.

Friday, June 24, 2011

Understanding ASP.NET View State

IntroductionMicrosoft® ASP.NET view state, in a nutshell, is the technique used by an ASP.NET Web page to persist changes to the state of a Web Form across postbacks. In my experiences as a trainer and consultant, view state has caused the most confusion among ASP.NET developers. When creating custom server controls or doing more advanced page techniques, not having a solid grasp of what view state is and how it works can come back to bite you. Web...

Saturday, June 4, 2011

ASP.NET Naming Convention(Hungarian Notation)

Control Name Example Prefix Label lblName lbl TextBox txtName txt GridView gvResult gv Button btnSave btn ImageButton ibtnSave ibtn Hyperlink lnkHomePage lnk DropDownList ddlCompany ddl ListBox lstCompany lst DataList dlstAddress dlst Repeater repSection rep Checkbox chkMailList chk CheckBoxList chkAddress chk RadioButton rdoSex rdo RadioButtonList rdoAgeGroup rdo Image imgLogo img Panel panSection pan PlaceHolder plhHeader plh Calender calMyDate cal Adrotator adrBanner adr Table tblResults tbl [All]Validators valCreditCardNumber val ValidationSummary valsErrors vals ...

Page 1 of 3123Next

 
Copyright © 2011 Jeffrey Valeroso