摘要:
Systems and methods for client-side callbacks to server events are described. In one aspect, a Web server receives a message indicating a client-side event. The client-side event is associated with a specific component of a client resource. The specific component is one of multiple static components of the client resource. A server-side component generates a response to the message. The server-side component implements at least a subset of logic of the specific component. Server-side logic corresponding to other ones of the static components that are different than the specific component is not used to generate the response.
摘要:
A control is bound to a data item that provides a data binding context. Controls inside the template of a data bound control have properties which are bound to fields of the data item via a bidirectional data binding process. Bidirectional data binding allows a page developer to specify that a field in a data item is inserted into a control property value when a page is rendered on a client. Bidirectional data binding also allows the data-bound control to automatically and codelessly extract an arbitrary control property value associated with a data item field in a template when the page is posted back to the server.
摘要:
A control is bound to a data item that provides a data binding context. Controls inside the template of a data bound control have properties which are bound to fields of the data item via a bidirectional data binding process. Bidirectional data binding allows a page developer to specify that a field in a data item is inserted into a control property value when a page is rendered on a client. Bidirectional data binding also allows the data-bound control to automatically and codelessly extract an arbitrary control property value associated with a data item field in a template when the page is posted back to the server.