MSDNLENNING2

xiaoxiao2021-03-06  69

How to deal with Postback Data?

Time to see. Net has not understood this paragraph for lifecle, and it feels very vague. Now simply look at MSDN's English document, although it is more feat, but it is quite very clear.

I saw this paragraph of Postback Data today.

Any Control wants Postback data (that is, the Client's DATA is back to the Server), you need to implement iPostBackDataHandler this interface. In Postback, Framework will find and perform the value of the uniqueid of the server control of the iPostBackDataHandler, then Call the loadPostData method for the Control of the IPostBackDataHandler this Interface. If the value of Control changes, then the value of loadpostdata returns true, otherwise returns false /

The page tracks all Control returns a TRUE value and calls these RaisePostDataChangeDevent methods.

Postback Data's data processing has also experienced two phases:

Updating State: Update State

Raising Change Notification: Change Notice

Http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconeventsinwebformsControls.asp

转载请注明原文地址:https://www.9cbs.com/read-92399.html

New Post(0)