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

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 project (scroll to the bottom for the download) that shows the Block Navigation Panel, that has been introduced in the Windows...

More...

[OPEN] Missing TableCellAttribute?

$
0
0
I'm building a dynamic table at run-time, but I don't see the option to set individual font-properties for a single Cell, Row or Column.
For instance, I want the first row to be in bold letters, the next row in cursive etc.
Is there a property missing in the TableCellAttribute, or am I missing something else?

[OPEN] Cell.Text assigning not working

$
0
0
Hello,

a problem with text assinging of a cell occured today. But I remember that it worked in the past.

My code looks like this:
Note: "CalcRowForSum" is a DataRow of a DataTable

Code:

                foreach (TXTextControl.TableCell cell in curCalcTable.Cells)
                {
                    if (cell.Row == curCalcTable.Rows.Count)
                    {
                        if (cell.Column == 3)
                        {
                            cell.Select();
                            TXTextControl.Selection sel = new TXTextControl.Selection();
                            if (CalcRowForSum != null)
                                sel.Text = "Summe " + CalcRowForSum["STATION"].ToString() + ":";
                            sel.Bold = true;
                            BausteinTextControl.Selection = sel;
                        }
                        else if (cell.Column == curCalcTable.Columns.Count) // VKPREIS immer letzte Spalte
                        {
                            cell.Select();
                            TXTextControl.Selection sel = new TXTextControl.Selection();
                            if (CalcRowForSum != null)
                                sel.Text = String.Format("{0:n}", (double)CalcRowForSum["VKPREIS"]);
                            sel.Bold = true;
                            BausteinTextControl.Selection = sel;
                        }
                    }
                }

Text assigning in column 3 is always working but the text in the last column does not show.

If I assing the text like this:

Code:

                curCalcTable.Cells.GetItem(curCalcTable.Rows.Count, 3).Text = "Summe " + CalcRowForSum["STATION"].ToString() + ":";
                curCalcTable.Cells.GetItem(curCalcTable.Rows.Count, 3).Select();
                BausteinTextControl.Selection.Bold = true;

                curCalcTable.Cells.GetItem(curCalcTable.Rows.Count, curCalcTable.Columns.Count).Text = String.Format("{0:n}", (double)CalcRowForSum["VKPREIS"]);
                curCalcTable.Cells.GetItem(curCalcTable.Rows.Count, curCalcTable.Columns.Count).Select();
                BausteinTextControl.Selection.Bold = true;

... it works fine.

But why is that so?

Thank you.

MailMerge: Merge hyperlinks into merge fields

$
0
0
The Text Control Reporting Framework consists of the classes part of the namespace TXTextControl.DocumentServer including the MailMerge component, field adapters and WYSIWYG template editors for the platforms ASP.NET, Windows Forms and WPF. The MailMerge class is a very flexible framework and can be used as your basis for all types of document...

More...

[OPEN] Problem with text formating

$
0
0
Hi,
why does this code doesn't work? The different formats are not applied to the new text line. Without the linefeeds it works. (V20 pro)

Code:

        Me.TextControl1.InputFormat.FontSize = 240
        Me.TextControl1.Selection.Text = "InputFormat" + vbLf

        Me.TextControl1.InputFormat.Bold = True
        Me.TextControl1.Selection.Text = "Bold" + vbLf

        Me.TextControl1.InputFormat.Italic = True
        Me.TextControl1.Selection.Text = "Italic" + vbLf

        Me.TextControl1.InputFormat.FontSize = 360
        Me.TextControl1.Selection.Text = "FontSize" + vbLf + vbLf


        Me.TextControl1.Selection.FontSize = 240
        Me.TextControl1.Selection.Text = "Selection" + vbLf

        Me.TextControl1.Selection.Bold = True
        Me.TextControl1.Selection.Text = "Bold" + vbLf

        Me.TextControl1.Selection.Italic = True
        Me.TextControl1.Selection.Text = "Italic" + vbLf

        Me.TextControl1.Selection.FontSize = 360
        Me.TextControl1.Selection.Text = "FontSize" + vbLf + vbLf

[OPEN] Error 01-0801

$
0
0
Hi,

what are Error 01-0801 and 03-1008 supposed to mean? Found a thread from 2009, but there is no answer to it.
Error appears when loading TextControl-Documents.

Regards,

Deniz

First day at DevIntersection 2015 in Scottsdale, AZ

$
0
0
We had a blast the first day at DevIntersection in Scottsdale, AZ. Located at a beautiful resort, more than 650 attendees learn, share and connect. Top speakers such as Scott Guthrie, Scott Hanselman and Steven Guggenheimer share the latest Microsoft developments and future outlooks. We are very happy to be able to talk to so many attendees,...

More...

TextControl.Web: Inserting merge fields using Javascript

$
0
0
In a recent post, we already introduced the hidden Javascript interface that is available in version X12. This interface gives you access to the majority of internal Javascript calls that are used in TextControl.Web. This interface is hidden by default, because it is still in beta and undocumented. In order to enable the hidden interface, the...

More...

[OPEN] Add preloaded Tab to TabControl fails with "Control must be initialized before"

$
0
0
Creating a text control at runtime and loading data into it on create phase seems not to work.
The destination is to open a new document in a new tab page. The open action creates a new tab dynamically at runtime, places a wpf text control on the tab and loads the selected file into the new tab. The code sequenz looks like this:

Code:

      OpenFileDialog openFileDialog = new OpenFileDialog();
      openFileDialog.DefaultExt = "*.tx";
      openFileDialog.Filter = "TextControl Dateien (*.tx)|*.tx|Alle Dateien (*.*)|*.*";

      if (openFileDialog.ShowDialog() == true)
      {
        string DocumentFileName = openFileDialog.FileName;
        ...
        textControl = new TXTextControl.WPF.TextControl();
        dockPanel.Children.Add(textControl);
        ...
        TXTextControl.LoadSettings ls = new TXTextControl.LoadSettings();
        ls.ApplicationFieldFormat = TXTextControl.ApplicationFieldFormat.MSWord;
        try
        {
          if (DocumentFileName != "")
          {
            textControl.Load( openFileDialog.FileName, TXTextControl.StreamType.InternalUnicodeFormat, ls);
          }
        }
        catch (Exception x)
        {
          MessageBox.Show(x.Message, "Error loading file", MessageBoxButton.OK, MessageBoxImage.Error);
        }
      }
    }


In .Net Forms a code sequenz like this works, there the method "CreateControl(...)" forces initializing and the load mechanism works.
But how to create and preload a text control in WPF?

Building a touch-enabled button bar with Javascript

$
0
0
A ribbon bar is a user-friendly interface for desktop environments when users can utilize a mouse to navigate. On tablets or smart-phones, another, more touch-enabled, interface might be required. This sample shows how to implement your own button bar based on the Javascript API of Web.TextControl, the HTML5 based web editor. The new button bar...

More...

See Text Control at NDC Oslo 2015

$
0
0
The second year, we are exhibiting at the Norwegian Developer Conference (NDC) in Oslo. The plain numbers show the size of this event: 150+ speakers, 40 exhibitors and 2000+ attendees. But these are only numbers - you can't see the spirit, the enthusiasm and the fun in these statistics. It is one of the largest developer conferences in Europe...

More...

The Text Control Reporting Framework: An Overview

$
0
0
The Text Control Reporting Framework is part of all TX Text Control .NET products including Windows Forms, WPF and ASP.NET. The central element is the DocumentServer.MailMerge component that encapsulates the complete mail merge functionality. Fully-featured template designers for all platforms. Basically, the MailMerge component takes an MS...

More...

TextControl.Web: Adding custom ribbon tabs

$
0
0
In recent blog entries, we explained how to add custom buttons or ribbon groups to the ribbon bar. This article shows how to add complete ribbon tabs to the existing ribbon bar of Web.TextControl. Basically, the way to add a ribbon tab to the ribbon bar is the same like adding buttons or ribbon groups: The HTML DOM is changed dynamically after...

More...

Visit Text Control at Spark Conference in our hometown

$
0
0
The following words can be found on the conference website: It only takes a spark of curiosity to ignite genius. It only takes a spark of passion to ignite teaching. It only takes a spark of motivation to ignite community. It only takes a spark of imagination to ignite dreams. It only takes a spark. We are sponsoring the 2015 Spark Conference...

More...

New online store and license management tool launched

$
0
0
After months of planning, development and testing, we released a new online store and license management tool for all Text Control products. The goal of this new account portal is to make license management very easy for you - our users and customers. This portal is not longer only an online store. It is now the central portal that gives you...

More...

[OPEN] Multi Tab Editor: Connection to Ruler & Status bars are lost on tab change

$
0
0
The aim is to build a multitab editor like the known notepad++ (just for special content).

(After building a work around - not user friendly - for thread "Add preloaded Tab to TabControl fails with "Control must be initialized before"", the next problem occurs.)

The attachement contains a simple test application as a MS Visual Studio 2010 C# sample. When the application starts it shows three functions in the menu bar. For this issue you should use "Create and load tab". Please execute this method twice and load two simple text documents into the editor tabs, so you get two dynamically created Tabs.

When you now seitch from one tab to the other tab, since SP1 of Version 22.0 the content of the text control is valid and shows the loaded files. But now the ruler bars and the status bar on the tab did not work any more (this has worked before SP1).

Is there any way to reactivate the function bars?

Text Control named a leader in the SD Times 100 awards 2015

$
0
0
Again, Text Control was named a winner in the SD Times 100 awards in the User Experience category. The annual SD Times 100 awards recognize leaders and innovators in the software development industry. According to the editors, to be caught up in the SD Times 100 prize hook, companies must demonstrate that they have been innovative. And this...

More...

[OPEN] Getting Unlicensed Exception With Trial Version Of TextControl

$
0
0
On day 2 of the trial of this control and have yet to get it working although the demo samples seem to work fine. (version 22)

I have a C# class library where one of the classes creates a Windows Form using ShowDialog. This form just has the TextControl in it created using the Getting Started steps in the documentation. When I call the class' method in the class library from another project I immediately get the following

Code:

An unhandled exception of type 'System.ComponentModel.LicenseException' occurred in TXTextControl.dll

Additional information: The following control could not be licensed: TXTextControl.TextControl

How can I solve this?

[OPEN] TxtTextControl.web

$
0
0
Hi,

I downloaded the trial of TextControl 22 When I try to run the examples, the following errors/warnings appears:

Quote:

Error 2 The type or namespace name 'Web' does not exist in the namespace 'TXTextControl' (are you missing an assembly reference?) D:\Dev\C#\tx_aspnet_samples\HTML5\ribbon.aspx.desi gner.cs 22 41 tx_aspnet_samples

Warning 1 Could not resolve this reference. Could not locate the assembly "TXTextControl.Web". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. tx_aspnet_samples

Warning 7 D:\Dev\C#\tx_aspnet_samples\HTML5\ribbon.aspx: ASP.NET runtime error: Could not load file or assembly 'TXTextControl.Web, Version=22.0.200.500, Culture=neutral, PublicKeyToken=6b83fe9a75cfb638' or one of its dependencies. The system cannot find the file specified. (D:\Dev\C#\tx_aspnet_samples\web.config line 23) D:\Dev\C#\tx_aspnet_samples\HTML5\ribbon.aspx 1 1 tx_aspnet_samples
I looked all HD for the .dll but can't find it.

It's the error related to the inability of install certain components, because I'm using Win7 ?

For development I Can't upgrade to 8.


Current dev environment

Win 7 SP1
VS 2013
Tx Text Control Trial 22.0 SP1 (x64 Edition)

Target server:
Win2008 R2


Thank you.

TextControl.Web: Asynchronous file upload window using HTML5 and jQueryUI

$
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 project (scroll to the bottom for the download) to demonstrate on how to extend the editor using a custom asynchronous file...

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


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