This is a migrated thread and some comments may be shown as answers.

HtmlTextBox + Expression + User Function

1 Answer 105 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Xorcist
Top achievements
Rank 1
Xorcist asked on 09 Feb 2010, 08:55 PM
When using a HtmlTextBox I am unable to utilize an Expression to call a User Function that returns a string. I get the following error:

Name cannot begin with the '-' character, hexadecimal value 0x2D. Line 1, position 8.

Now if I use a built in function like Trim, which also returns a string, it works fine... if I replace the HtmlTextBox with a regular Textbox it also works fine... so what is it about the HtmlTextBox that I'm missing...

1 Answer, 1 is accepted

Sort by
0
Xorcist
Top achievements
Rank 1
answered on 09 Feb 2010, 09:16 PM
Ignore this, it was a bug in the way resource files where updated in VS. Once I closed my project and re-opened it, everything worked as expected. The preview window was showing old data (which was broken), it seems to be updating okay now though.
Tags
General Discussions
Asked by
Xorcist
Top achievements
Rank 1
Answers by
Xorcist
Top achievements
Rank 1
Share this question
or