Quantcast
Channel: TX Text Control Community
Viewing all 1022 articles
Browse latest View live

Web.TextControl: jQueryUI alert boxes and Javascript events

$
0
0
The online demo Simple implements some features based on the newly available API of Web.TextControl. It shows 3 typical tasks: Remove the Save As... menu item. Attach event handlers to ribbon items, stop the event bubbling and show alert boxes. Manipulate the out-of-the-box jQueryUI dialog boxes. Removing ribbon items. The first task can be...

More...

Text Control is Gold sponsor at .NET Cologne 2015

$
0
0
The conference registration opened last month at 12:00 noon. At 12:07 PM, the conference was sold out. Within 7 minutes, more than 400 tickets have been sold of this very successful user group conference in Cologne. Since 2011, we are sponsoring this event in Germany that always draws top speakers, sponsors and highly enthusiastic attendees. We...

More...

Text Control comes to the desert: DevIntersection 2015

$
0
0
The DevIntersection is in its third year and the first time in Phoenix, Arizona (May 18-21, 2015). As the keynote speakers Scott Guthrie, Scott Hanselman and Stephen Guggenheimer have been announced. Choose from over 200 in-depth sessions, keynotes and interactive panels delivered by 100+ Microsoft architects and industry experts. Of course,...

More...

[OPEN] ImageInsert TextFlow problem

$
0
0
Hi folks,
we are using Version 13 (Service Pack 3) and we got the following problem:
(i could not see where to find the licence installed ?)

In order to print images embedded in the RTF-Control the used reporting-generator(WAIMEA) recommends that images are formatted with textflow setting: "as character" (in our language version "Als Zeichen"). This ist the first (left) option in the dialog opened by ObjectAttrDialog().
Click image for larger version. 

Name:	tx.control.png 
Views:	2 
Size:	12.5 KB 
ID:	2193

It is possible to set this TextFlow-format by using the dialog above but NOT possible to set when the method "ImageInsert" of the RTF-Control is used. In case of this method the TextFlow-Parameter allows only the values 2 and 3, where 2 corresponds to the middle option of the image formatting dialog and 3 corresponds to the right option. The left option does not correspond to any of the allowed parameters?
This means, when our customer inserts an image by using our functionality, which then will be implemented by the method "ImageInsert", the format of the image is not useful for printing. In this case we have to inform the customer, that he is forced to insert each image in two steps:
1. insert image
2. format image.
That is not a comfortable way.

To me its suspicious, why the textflow parameter does not allow the value 1 (exactly, it will be accepted without errors, but does not work as expected). Please give us some clearifications on this issue.

Kind regards,
Robert
Attached Thumbnails
Click image for larger version. 

Name:	tx.control.png 
Views:	N/A 
Size:	12.5 KB 
ID:	2193  

Updating your TextControl.Web from X11 to X12

$
0
0
We recently released version X12 with a new version of our HTML5 based editor TextControl.Web. This article shows how to update the references and license information in an existing project. After you installed version X12, start Visual Studio and open your existing project. In the Solution Explorer, find the TXTextControl.Web reference in the...

More...

[OPEN] Replace Text with html will cource a line break

$
0
0
hallo.
ich want to replace text with text like <u>thomas</u>

source Text: "this {my} testtext";
if i select the text {my} and replace the selection with "<u>thomas</u>" the html is lost..
So, i used txcontrol.Selection.Load( "<u>thomas</u>",TXTextControl.StringStreamType.HTMLFormat) and the result is that

the text "testtext" is in den next line.



source Text: "this {my} testtext"
expected Text: "this thomas testtext"
result Text:
"this thomas (line break)
testtext"

TextControl.Web: Protecting documents

$
0
0
Version X12 (22.0) implements a programmable Web.Selection object that allows server-side document manipulation. With the same release, we introduced some client-side Javascript events and methods. But what you might not know is a hidden interface that can be enabled using the Javascript function enableCommands. This gives you access to the...

More...

[OPEN] Problem with color changes to shapes in Word docx and when importíng in Textcontrol

$
0
0
When I create an document in Word and add an shape (rectangle) and change it's colors (without using the designs) then these colors are not shown in the TX Text Control.

Word:
Click image for larger version. 

Name:	txtext-word.PNG 
Views:	5 
Size:	7.1 KB 
ID:	2194
TX Text Control:
Click image for larger version. 

Name:	txtext-control.PNG 
Views:	4 
Size:	4.3 KB 
ID:	2195
The colors used by TX Text Control are the colors from the design before manually changing the colors in Word. When I load the docx-file in Word then the colors are OK. This is what I used to change colors:
Click image for larger version. 

Name:	txtext-color.PNG 
Views:	4 
Size:	8.5 KB 
ID:	2196
Used Word 2010 and TX Text Control version 22.0.NET (x64 Edition)
Attached Thumbnails
Click image for larger version. 

Name:	txtext-word.PNG 
Views:	N/A 
Size:	7.1 KB 
ID:	2194   Click image for larger version. 

Name:	txtext-control.PNG 
Views:	N/A 
Size:	4.3 KB 
ID:	2195   Click image for larger version. 

Name:	txtext-color.PNG 
Views:	N/A 
Size:	8.5 KB 
ID:	2196  

[OPEN] Can not change field or remove field with TX Text Control for Asp.net

$
0
0
I am using TX Text Control for Asp.net 22.0 Trial version doing a demo, I cannot edit the field or remove the field, does anyone know how to do it?


I added a TextControl called TextControl1.

I add a text field:

Code:

using (TXTextControl.ServerTextControl tx = new TXTextControl.ServerTextControl())
            {
                tx.Create();

                //var newField = new MergeField();
                var newField = new TextField();
                newField.Name = "New field";
                newField.ID = 1234;
                newField.Text = "Text Field: New field";
 
                //tx.ApplicationFields.Add(newField.ApplicationField);
                tx.TextFields.Add(newField);

                byte[] data;
                tx.Save(out data, TXTextControl.BinaryStreamType.InternalUnicodeFormat);
                TextControl1.Selection.Load(data, TXTextControl.Web.BinaryStreamType.InternalUnicodeFormat);
            }

the field is added.

I want to change the text of the field:
Code:

byte[] data;
            TextControl1.SaveText(out data, TXTextControl.Web.BinaryStreamType.InternalUnicodeFormat);

            // load the byte array into a temporary ServerTextControl
            // sample use case: store document in a database
            using (TXTextControl.ServerTextControl tx = new TXTextControl.ServerTextControl())
            {
                tx.Create();
                tx.Load(data, TXTextControl.BinaryStreamType.InternalUnicodeFormat);

                //var allFields = tx.ApplicationFields;
                var allFields = tx.TextFields;
                var foundField = allFields.GetItem(1234);
                if (foundField != null)
                {
                    foundField.Text = "xyz";
                }
                byte[] data2;
                tx.Save(out data2, TXTextControl.BinaryStreamType.InternalUnicodeFormat);
                TextControl1.Selection.Load(data2, TXTextControl.Web.BinaryStreamType.InternalUnicodeFormat);

            }

the field first added has not been changed, but there is a new field (with text "xyz") added.

The remove function also does not work:

Code:

byte[] data;
            TextControl1.SaveText(out data, TXTextControl.Web.BinaryStreamType.InternalUnicodeFormat);

            // load the byte array into a temporary ServerTextControl
            // sample use case: store document in a database
            using (TXTextControl.ServerTextControl tx = new TXTextControl.ServerTextControl())
            {
                tx.Create();
                tx.Load(data, TXTextControl.BinaryStreamType.InternalUnicodeFormat);

                //var allFields = tx.ApplicationFields;
                var allFields = tx.TextFields;
                var foundField = allFields.GetItem(1234);
                if (foundField != null)
                {
                    //tx.ApplicationFields.Remove(foundField, false);
                    tx.TextFields.Remove(foundField);
                }
                byte[] data2;
                tx.Save(out data2, TXTextControl.BinaryStreamType.InternalUnicodeFormat);
                TextControl1.Selection.Load(data2, TXTextControl.Web.BinaryStreamType.InternalUnicodeFormat);

            }

What's the problem? Do I use it correctly? We want to change the text field, does anyone tell me how to do it?

[OPEN] TextControl is losing Content - Critical Issue!

$
0
0
When placing the TextControl into an TabControl, the Content in the document is lost, when switching tab items.
For example:
Code:

<Grid>
        <TabControl>
            <TabItem Header="Test 1">
                <WPF:TextControl/>
            </TabItem>
            <TabItem Header="Test 2">
               
            </TabItem>
        </TabControl>
</Grid>

Type something into the document, switch to the tab "Test 2" and then switch back to "Test 1" => The text you typed in before is gone.

This issue only occurs in the newest (trial) version 22.0 in the (trial) version 21.0 this problem does not occur!

PS: We evaluated the trial version 21.0 and wanted to buy the new version 22.0. This has been stopped due to this error.

TX Text Control X12 (22.0) Service Pack 1 released

$
0
0
We are happy to announce the immediate availability of new Service Packs for the following Text Control products: TX Text Control X12. Service Pack 1 for TX Text Control .NET for Windows Forms X12. Service Pack 1 for TX Text Control .NET for WPF X12. Service Pack 1 for TX Text Control .NET Server for ASP.NET X12. Service Pack 1 for TX Text...

More...

[OPEN] Insert page break into table programmatically

$
0
0
Hello,

how is it possible to insert a page break into a table manually?
So the table continues to show the table header row/s on the next page (if the corresponding property is set to true).

I tried to get the last row of the table on a specific page, split the table there and inserted a page brake.
This works but the table does not show the header row/s anymore.

Hope you can help me.

Thanks in advance!

[OPEN] Problem with loading RTF connected with control size

$
0
0
Hi

I have problem with loading RTF data into control.
Problem occures ONLY with specific RTF and only if control is smaller than specific size (width).


RTF in attachment.
Data are loaded using:
Load(value, TXTextControl.StringStreamType.RichTextFormat);
Data are read from control using
string sText = "";
Save(out sText, TXTextControl.StringStreamType.RichTextFormat);

After perform Load then Save return some empty RTF.
Problem occures when control size width is smaller than ~200 if higher works correctly.

TXTextControl 14.00 (on 20.00 works the same)
System Win7 64bit
Visual Studio Prof 2010

Have you riched such problem - is there any solution for this.
Right now my solution is to set optimize size width - but it is not the way.

TextControl.Web: Adding a block navigation panel

$
0
0
Since version X12 (22.0), TextControl.Web provides a fully programmable interface with ASP.NET code-behind, server-side classes and a client-side Javascript interface. Based on both interfaces, we implemented a sample that shows the Block Navigation Panel, that has been introduced in the Windows version of TX Text Control Words - the template...

More...

[OPEN] Dynamic Image Reference

$
0
0
Does anyone know how to insert an image by reference during a merge process?

I want to include the picture of a product that is being proposed within a Proposal document.

We are using ActiveX v20 server.

Thanks

Tim

TextControl.Web: Adding a block navigation panel

$
0
0
Since version X12 (22.0), TextControl.Web provides a fully programmable interface with ASP.NET code-behind, server-side classes and a client-side Javascript interface. Based on both interfaces, we implemented a sample that shows the Block Navigation Panel, that has been introduced in the Windows version of TX Text Control Words - the template...

More...

[OPEN] TXTextControl.ServerTextControl.Create() and Windows Task Scheduler

$
0
0
Hi

We are licensed for TX v19 Windows forms.
Our application uses TXTextControl.ServerTextControl to generate PDF document. This application is scheduled to run at a specific time each day. When at least one user is logged into the system, the application is able to perform its job when launched by the scheduler. If no user is logged in, the scheduler launches the application, but throws a System.Exception: This feature is not available. The TX Text Control Server version must be installed. at TXTextControl.ServerTextControl.Create()

Any help to resolve this is appreciated.

Thanks

TextControl.Web: Creating an MVC application with Razor

$
0
0
This tutorial shows how to integrate TextControl.Web into an MVC application with Razor. Because of the architecture and complexity of the design, the ASP.NET component TextControl.Web is a Web Forms component with a code-behind API. This tutorial shows how to integrate the HTML5 based editor into an MVC application with Razor support without...

More...

Back from dotnet Cologne 2015: Some impressions

$
0
0
We are back from dotnet Cologne 2015 - one of the largest community driven code camps in Germany. We presented our latest version TX Text Control X12 and the new features of the HTML5 based editor for ASP.NET. Thanks to all attendees and friends for stopping by - we had a great time. Below are some impressions of our booth area and the code...

More...

Upgrade your Heiler HighEdit based applications

$
0
0
HighEdit is a legacy rich text component developed by Heiler Software back in the 1990s. It was a competing control and Heiler Software discontinued this product line. Notwithstanding, there are many documents stored in the HighEdit .HED proprietary format. Text Control is an award-winning Visual Studio Industry Partner and leading vendor of...

More...
Viewing all 1022 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>