|
|||||||
| TX Text Control .NET Server Please use this forum for TX Text Control .NET Server support only. If you need support for a different product, please use the appropriate forum. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
new TXTextControl.DocumentServer.Fields.MergeField(App licationfield) may cause error
I've a piece of code that's evaluated when a textfield of type "MERGEFIELD" is clicked.
Sometimes after loading and saving documents containing those mergefields an error is raised "startIndex cannot be larger than length of string. Parameter name: startIndex" Problem should be the next code block: Code:
SelectedMergeField = new TXTextControl.DocumentServer.Fields.MergeField(SelectedApplicationfield); Currently I use the .rtf format for saving the mergetemplate. Is it possible that this has something to do with the mergefield.textbefore and textafter property? I've a feeling that weird things are happening with these properties. Sometimes strings like " /b " or other appear in them. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Style properties - Bug? | Unregistered | TX Text Control ActiveX | 11 | November 7, 2006 13:05:42 |
| CUT,Copy,Paste code for editing object | paldebu78 | TX Text Control ActiveX | 1 | October 25, 2005 13:27:37 |
| Cut, Copy, Paste, Edit, Open OLE Object | paldebu78 | TX Text Control ActiveX | 3 | October 21, 2005 06:27:03 |
| Unexpected Text Control error. (1-e00) | bsardinha | TX Text Control ActiveX | 7 | August 18, 2004 16:17:34 |