TextArea Default Text multi-line text possible?
Hello,
I'm building a workflow in which it shows users a paragraph of text initially and allow user to alter it. I thought TextArea probably is the tool to go, but I soon found out it didn’t accept multiline text for the Default Text. I thought about using RuntimeModification to populate the initial text content but seems in the Silverlight Client API there’s no way to access/modify the Text component of TextArea. Any suggestions? Thanks.
Jack
-
Thanks Ryan.
It works like a charm. BTW, is there a better API reference I could use for something like this. For example the one i'm currently using - "Geocortex+Essentials+Silverlight+API+2.10", didn't mention that TextArea has a property called DefaultText. Thanks.
Jack
0 -
Hi Jack
in the Workflow Designer, right click on the items in the Toolbox and help is available on that 'Tool' or Activity.
Regards
Ralph
0 -
Thanks Ralph for the suggestion. But I'm afraid the built-in help doc does not include API reference at all.
0 -
Hi Jack
from the Help on DisplayForm:
TextAreaFormItem
form.Find(Of TextAreaFormItem)("<FormItemID>").DefaultText
form.Find(Of TextAreaFormItem)("<FormItemID>").Label.Text
form.Find(Of TextAreaFormItem)("<FormItemID>").TextboxHeightRalph
0 -
I got it. Thanks Ralph and sorry for the confusing.
0 -
No problem at all Jack
Regards
Ralph
0
Please sign in to leave a comment.
Comments
6 comments