Last active
August 29, 2015 14:01
-
-
Save joshbooker/ed30e98c62534a1529f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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