It's simpler to just remove the ## operator, i.e. it needs to look like this:
OnPress="beginchatinput "/t " parent.Name.Text"
PS: Apart from that - as a general rule - I recommend to not use command abbreviations in code, i.e. write /tell instead of /t. Abbreviations may change over time, better be on the safe side.