locked
setting text on textbox control in lightswitch html client RRS feed

  • Question

  • Hi, 

    I would insert my text on textBox in LightSwitch Html.
    For this, in event postRender on my object, I add following code:

     myapp.myScreen.myTextBox_postRender = function (element, contentItem) {

        $(element).text("John");
     };

    This code is correctly, on my screen I have the text "John", but my TextBox 'change' in Label or this change in readonly.
    I don't understand. Because this?
    I would set text, but textbox continues to be editable. 

    Thanks, best regards.

    Thursday, August 8, 2013 9:09 AM

Answers