Skip to content

Instantly share code, notes, and snippets.

@joshbooker
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshbooker/ed30e98c62534a1529f6 to your computer and use it in GitHub Desktop.
Save joshbooker/ed30e98c62534a1529f6 to your computer and use it in GitHub Desktop.
myapp.AddEditCustomer.Customer_render = function (element, contentItem) {
// Write code here.
thatTemplate = '<div><div class="subControl" control="TextBox" data-ls-text="text:{data.ContactName}"></div></div>';
thatControl = new msls.ui.controls.ContentControl($(element));
thatControl.dataTemplate = thatTemplate;
thatControl.data = contentItem.data;
thatControl.render();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment