Microsoft Asp Net Programming With Visual C# Net V 1002003 Step By Step [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Microsoft Asp Net Programming With Visual C# Net V 1002003 Step By Step [Electronic resources] - نسخه متنی

G. Andrew Duthie

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید






Chapter 10 Quick Reference



















To


Do this


Inherit from a base class


Add a colon immediately following the class name, followed by the name of the base class. Interfaces (if any) to be inherited are added after the single base class, separated by commas.


Render output from a control


Override the Render method of the control class from which the custom control is derived. To take advantage of the rendered output of controls such as TextBox and Label, call the Render method of the base class when you are finished rendering custom output.


Handle postbacks


Implement the IPostBackDataHandler and/or IPostBackEventHandler interfaces, and implement the methods defined by the interfaces.


Maintain state in a custom control


Store state in and retrieve state from the ViewState object in your property procedures.

/ 127