Skip to Content

SetText Not working when data binding is enabled

I have a Text box and i have bound it to a result member of one of my data sources.

If i try to overwrite it using script .SetTeXt() command then its not working. However if i try to un-bind completely and keep the text blank and then try it seems to be working. is there anyone else having same issue ? We are on Design Studio 1.6

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 24, 2017 at 09:20 PM

    Hi Tanveer,

    This behaviour is by design. You cannot overwrite a data-bound property via scripting. So in the case of updating the value of your text box, you have to do this either by binding or via scripting but not both.

    Regards,

    Mustafa.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 25, 2017 at 07:06 AM

    Thanks Mustafa.

    Add comment
    10|10000 characters needed characters exceeded