ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] نسخه متنی

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

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

ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] - نسخه متنی

G. andrew Duthie; matthew Macdonald

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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









IPostBackDataHandler

System.Web.UI (system.web.dll)interface

This interface, which is implemented by many ASP.NET Server Controls,
allows a control to receive and process postback data. It consists of
two methods. The first, LoadPostData( ), allows a
control to receive the form data and update its properties as
required. ASP.NET calls this method automatically on postback. It
provides form data as a collection in the
postCollection argument and a
postDataKey argument identifying the
control's key (i.e.,
postCollection(postDataKey) will contain the
posted information for the control). The control returns
True from this method to indicate that its state
has changed, or False if it
hasn't. ASP.NET calls the second method,
RaisePostDataChangedEvent( ), automatically after
LoadPostData( ) if the control's
state is changed. The control can use this method to raise any
required events. Events should never be raised from the
LoadPostData( ) method because other controls may
not have loaded their state information yet.

public interface 

IPostBackDataHandler {
// Public Instance Methods
public bool

LoadPostData (string

postDataKey , System.Collections.Specialized.NameValueCollection

postCollection );
public void

RaisePostDataChangedEvent ( );
}



Implemented By


Multiple types


/ 873