Patent ID: 7379943

Claim:
A computer-implemented method for data binding a control of a template, wherein the template is associated with a parent control that offers a data binding context, the method comprising: instantiating the template, wherein the template comprises at least one control property value associated with the control of the template; binding, within the template, the at least one control property value to a field of a data item located in a data source, wherein the data item is exposed by the parent control, wherein the parent control includes a declared bidirectional attribute that provides uniform bidirectional data binding for the control of the template, wherein the parent control includes a binding declaration that declares the control of the template, declares the at least one control property value, and binds the at least one control property value to the field of the data item located in the data source by declaring the field within the binding declaration; rendering the template on a page for a client, wherein the rendered template comprises the at least one control property value corresponding to the field of the data item; receiving at least one modified control property value to the control of the template; and automatically and codelessly extracting the at least one modified control property value to from the template by accessing the parent control to bind the modified control property value to the field of the data item according to the binding declaration.