November 16, 2015, 6:32 am
TX Text Control version X13 will be coming soon, so from now until release, we are providing a special preorder offer. Be one of the first to get their hands on the new features and functionality available on release day. What is the special offer? Pre-order TX Text Control X13 Subscription now and get the same number of licenses for TX Spell...
More...
↧
November 18, 2015, 3:42 am
Hello,
if i use the textcontrol.save-Function so save the text to pdf, i've a missing character in the pdf. If i print to the printer or export to word the character is correct.
Correct Character:
Wrong Character:
How can i solve the problem, so the correct character is in the pdf
↧
↧
November 18, 2015, 9:25 am
Text Control already provides the most powerful WYSIWYG rich text editor for ASP.NET with all typical word processing features such as complex tables, headers and footers, sections and mail merge support. In version X13 (23.0), we will provide more, commonly requested useful features. MS Word compatible shapes and drawings. The screenshot below...
More...
↧
November 19, 2015, 6:32 am
The Web.DocumentViewer is an ASP.NET server control that is used to render documents in web applications. In contrast to the HTML5 based Web.TextControl, the document cannot be edited. It is a lightweight control that is used to preview created reports like in this fully-featured sample:
http://reportingserver.textcontrol.com/. Facelift in...
More...
↧
November 19, 2015, 7:37 pm
Web.TextControl can be used with various input method editors (IME) in version X13 (23.0). An IME helps users to enter characters and symbols not found on their input devices and is commonly used for languages such as Chinese or Japanese. The following animated screenshot shows the Chinese Microsoft PinYin IME in action inside the HTML5 based...
More...
↧
↧
November 20, 2015, 2:58 am
Hello,
is there a way to access the InsertPictureHandler as in previous versions of the TX Text Control?
I need to set default properties of an image when added.
Thank you in advance.
↧
November 23, 2015, 3:27 am
Code:
using System;
using System.Diagnostics;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
namespace WPFLabor2
{
public partial class TextControlTest : Window
{
public TextControlTest()
{
InitializeComponent();
}
private void Create_Click(object sender, RoutedEventArgs e)
{
Window wnd = new Window();
DestroyableBorder brd = new DestroyableBorder();
wnd.Content = brd;
brd.Child = new DestroyableTextControl();
wnd.Show();
wnd.Close();
// brd.Child = null;
wnd.Content = null;
brd = null;
wnd = null;
}
private void Destroy_Click(object sender, RoutedEventArgs e)
{
for (int i = 0; i < 10; i++)
{
Debug.WriteLine("[" + i + "] Unloading and GC collect!");
GC.Collect();
GC.WaitForPendingFinalizers();
GC.Collect();
Thread.Sleep(i * 100);
}
}
}
public class DestroyableBorder : Border
{
public DestroyableBorder() { Debug.WriteLine("Created DestroyableBorder: " + this.GetHashCode()); }
~DestroyableBorder() { Debug.WriteLine("Destroyed DestroyableBorder: " + this.GetHashCode()); }
}
public class DestroyableTextControl : TXTextControl.WPF.TextControl
{
public DestroyableTextControl() { Debug.WriteLine("Created DestroyableTextControl: " + this.GetHashCode()); }
~DestroyableTextControl() { Debug.WriteLine("Destroyed DestroyableTextControl: " + this.GetHashCode()); }
}
}
Press Create, Press Destroy:
Output:
Code:
Created DestroyableBorder: 28365320
Created DestroyableTextControl: 18014196
[0] Unloading and GC collect!
[1] Unloading and GC collect!
[2] Unloading and GC collect!
[3] Unloading and GC collect!
[4] Unloading and GC collect!
[5] Unloading and GC collect!
[6] Unloading and GC collect!
[7] Unloading and GC collect!
[8] Unloading and GC collect!
[9] Unloading and GC collect!
With the code above I want to ask, if there is any way to completly destroy the instance of DestroyableTextControl. It seems that TXTextControl.WPF.TextControl allocates and references some things and therefore can not be destroyed completly, even if the control itsself has been unloaded.
If i uncomment the line // brd.Child = null, then the output is:
Code:
Created DestroyableBorder: 55810301
Created DestroyableTextControl: 41440095
Destroyed DestroyableBorder: 55810301
[0] Unloading and GC collect!
[1] Unloading and GC collect!
[2] Unloading and GC collect!
[3] Unloading and GC collect!
[4] Unloading and GC collect!
[5] Unloading and GC collect!
[6] Unloading and GC collect!
[7] Unloading and GC collect!
[8] Unloading and GC collect!
[9] Unloading and GC collect!
How can I completly destroy the TextControl, because when creating a control memory is consumed and never given back, which will cause serious memory problems.
Please notice that I force the GC to do its work, and all other things get destroyed. The answer "you can't control the gc" does not apply in this case.
↧
November 23, 2015, 6:17 am
Hi,
How to use(read/write) custom properties to document using text control? Any code same would be helpful.
Custom properties would be any name, number or any information associated with that document
↧
November 23, 2015, 6:31 am
MailMerge uses the new SubTextParts to mark repeating blocks in a reporting template. But this new TX Text Control document element can be used for other applications as well. Basically, a SubTextPart is a range of text defined through a start character index and a length. This element can itself contain all other elements including text...
More...
↧
↧
November 23, 2015, 6:37 am
In our application we need to use a new control derived from TXTextControl.TextControl (22.0). Using TXSpell 5.0, the method TxSpellChecker1.SpellCheckDialog.Show(TextControlN ew1) works fine, even with TextControlNew1 being derived from TextControl.
Recently we upgraded to TXSpell 6.0. Here SpellCheckDialog.Show breaks with an ArgumentException:
System.ArgumentException: Nicht unterstützte TextControl Version.
bei ᜀ...ctor(Object )
bei TXTextControl.Proofing.SpellCheckDialog.ᜀ(Object )
bei TXTextControl.Proofing.SpellCheckDialog.Show(Objec t textControl, Dictionary suggestionDictionary)
There is no problem when using a non-inherited TextControl object (22.0) together with TXSpell 6.0. Could you please tell, why it is no longer possible to use SpellCheckDialog.Show together with a derived control and maybe fix the problem for the next Service Pack?
I've also attached a sample application showing the exception on the second call to SpellCheckDialog.Show in Button1-Click event handler.
Besides, here is another interesting behaviour concerning TXSpell 6.0 together with Visual Studio 2015: After installing TXSpell 6.0 (TXSpell 5.0 already installed on the machine) there is a new folder "TX Spell 6.0" in Visual Studio's Toolbox. But, the object of type TXSpellChecker within this folder still links to TXSpell 5.0 (see screenshot). Consequently, after adding the new object, both the references tab as well as licenses.licx show TXSpell 5.0. One has to manually correct both files to finally get the new TXSpell 6.0.
↧
November 24, 2015, 3:33 am
After loading a database excerpt file into the Mailings tab of Web.TextControl, a master table must be selected to perform the report preview. This is the same master table that is used when merging the template using the Merge method of the reporting engine MailMerge. This master table is used to match the merge fields with database columns....
More...
↧
November 24, 2015, 10:26 am
Hello,
I know that there's a converter application available for purchase that can convert High Edit (hed) documents as mentioned
here, but I'm looking to see if TxTextControl 20 has the ability to do this. Specifically, I'm looking to use the server control.
If it is possible to do this, can someone post some sample code as to how this could be accomplished?
Thanks in advance.
↧
November 25, 2015, 3:14 am
Hi all, I can programmatically load the an RTF file with no issues (The attached is a word version of the RTF file). What I need to do is save each of the tables in the RTF file individually to memory using the save memory method. That way I can recall them later as needed in creating a report.
Issue I have is as the RTF file is loaded and from what I have read none of the existing tables have TableIds.
Is there a way to create the TableIds so as I can use them as identifiers when saving to memory?
Thanks in advance
Graeme
Australia
↧
↧
November 30, 2015, 4:20 am
Hello,
We use txttextcontrol in our vb.net program and use bookmarks within a document that we jump to using scrollto()
This has been working for a considerable amount of time, when we updated to the new version of textcontrol however it seems to have stopped working. The document etc still loads as it should, just the page no longer jumps to the correct location.
Nothing has changed on our part in this area, and the bookmarks are definitely there within the document.
Any ideas?
↧
November 30, 2015, 5:47 am
I am facing an error while using livedocx. When I do conversion from doc file to pdf file in my application, livedocx is making multi page pdf file out of my single page doc file.
I am not able to figure out the problem. When I use LibreOffice to convert that doc file, it does perfectly fine.
Here, I am attaching that doc file , Libreoffice converted pdf file and livedocx converted file.
Please, help me out.
Thanks in advance.
↧
December 2, 2015, 2:32 am
We had a marvelous day at the .NET Developer Conference (DDC) in Cologne, Germany - our last conference in 2015. Well-known speakers spoke about the future of C#, WPF, the new Entity Framework 7 or "the dream of the perfect API". We had a lot of fun at our booth giving so many attendees demos of our latest beta version of TX Text Control X13...
More...
↧
December 3, 2015, 3:47 pm
I'm adding a custom tab to the HTML5 editor as per a tutorial on the blog. That tab requires two dropdownlists. I found an article online about using a text file and jQuery to fill a dropdownlist and I've tried that, but the dropdownlist is not being populated. The text file I'm testing with ("MergeCodeGroups.txt") has only these two options: <option>A</option> and <option>B</option>. I suspect that the form is not fully loaded, but any help is greatly appreciated!
TIA,
Mike
Code:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="BrowserControl.aspx.vb" Inherits="WebApplication2.BrowserControl" %>
<%@ Register assembly="TXTextControl.Web, Version=22.0.200.500, Culture=neutral, PublicKeyToken=6b83fe9a75cfb638" namespace="TXTextControl.Web" tagprefix="cc1" %>
<%--<link href="tx.css" rel="stylesheet" />--%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<%--<script src="Scripts/jquery-2.1.4.js"></script>--%>
<script src="Scripts/jquery-1.10.2.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#ddlMergeCodeGroup").load("MergeCodeGroups.txt");
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<cc1:TextControl ID="TextControl1" runat="server" Dock="Window" />
<script type="text/javascript">
// elements can be only added when the ribbon is completely loaded
TXTextControl.addEventListener("ribbonTabsLoaded", function (e) {
addTab();
});
// this function adds a new tab and the tab content page
function addTab() {
sCustomTab = "<li><a onclick='activateCustomTab();' id='tabCustom' data-applicationmodes='0' tabindex='-1' href='#!'>Merge Codes</a></li>";
// add the new tab after the 'View' tab
document.getElementById('tabView').parentElement.insertAdjacentHTML(
'afterend', sCustomTab);
sCustomTabContent = "<div id='ribbonTabCustom' class='tab-content' style='display: none;'>";
sCustomTabContent += "<div id='ribbonGroupCustom' class='ribbon-group'>";
sCustomTabContent += " <div class='ribbon-group-content'>";
sCustomTabContent += " <div class='ribbon-group-content-row'>";
sCustomTabContent += " <div class='ribbon-group-button-group'>";
//sCustomTabContent += " <div onclick='BtnCustomAction()' id='BtnCustom' class='ribbon-button ribbon-button-big' title='Custom'>";
//sCustomTabContent += " <div class='ribbon-button-big-image-container'><img id='imgID_RibbonTabInsert_html_0' class='ribbon-button-big-image' src='custom.png'></img></div>";
sCustomTabContent += " <div class='ribbon-button-big-label-container'>"
sCustomTabContent += " <p class='ribbon-button-label'>Merge Code Group "
sCustomTabContent += " <select id='ddlMergeCodeGroup'></select> "
sCustomTabContent += " Merge Code "
sCustomTabContent += " <select id='ddlMergeCode'><option value='1'>One</option></select>"
sCustomTabContent += " </p>"
//sCustomTabContent += " <select id='mergeCodeGroup'><option value='1'>One</option></select>"
//sCustomTabContent += " </div>";
sCustomTabContent += " </div>";
sCustomTabContent += " </div>";
sCustomTabContent += " </div>";
sCustomTabContent += " </div>";
//sCustomTabContent += " <div class='ribbon-group-label-container'>";
//sCustomTabContent += " <p class='ribbon-group-label'>asdf</p>";
//sCustomTabContent += " </div>";
sCustomTabContent += "</div>";
sCustomTabContent += "</div>";
// add the tab content to the tab content container
document.getElementById('txRibbonTabContentContainer').insertAdjacentHTML(
'afterbegin', sCustomTabContent);
}
function activateCustomTab() {
$('div.tab-content').css("display", "none");
$('ul.tabs a').removeClass("selected");
$("#ribbonTabCustom").css("display", "inline-block");
$("#tabCustom").addClass("selected");
}
</script>
</div>
</form>
</body>
</html>
↧
↧
December 7, 2015, 1:09 am
Hello, thanks for this great tool.
I want to report a problem I found using TXTextControl.Web: the "fileSaveQuestion" dialog doesn't appear when the document has been saved then modified again.
To reproduce:
- enable SaveDocumentQuestionDialogEnabled
- OK: open a document, modify it and click on "new document": the fileSaveQuestion dialog appears as expected
- KO: open a document, save it, modify it and click on "new document": the dialog doesn't appear
I tried to look into this on the client side: it works as expected before saving, but after the initial save the "documentDirty" internal variable isn't updated, due the corresponding websocket message "DocumentDirtyChanged" not being sent by the server.
I'd be glad if you could look into this matter, as we were expecting to use this feature in our project.
Thanks,
frank.
↧
December 8, 2015, 2:15 am
Hello,
We are using TX Text Control V20.0 in our VB6 application as a Word Viewer.
Our application is based on Word to generate some documents.
We have customers which include watermarks in Word document, and then watermark are not displayed in our viewer (based on TX Text Control V20.0).
I attach to this message a document sample, with a watermark "Duplicata".
Is there a way to display MS Word watermarks in TX Text Control ?
I read some topics on the forum about watermarks and it seems that it is not supported yet.
Could you confirm that please ?
If yes, do you plan to add watermark feature to TX Text Control ?
↧
December 8, 2015, 2:18 am
Hello,
We are using TX Text Control V20.0 in our VB6 application as a Word Viewer.
Our application is based on MS Word to generate some documents.
These Word documents can contain some fields (text field, combobox field, checkbox field, etc...).
- About text fields : there is no problem, text are displayed correctly in our viewer (based on TX Text Control V20.0).
- About combobox fields : there is a problem because an empty text is always displayed !
I attach to this message a Word sample document with some text fields (OK) and some combo fields (KO).
Is there a way to display the selected combo text value in the TX Text Control ?
If not, do you plan to add these feature ?
I read your blog here :
http://www.textcontrol.com/en_US/dow...et/formfields/
And here :
http://www.textcontrol.com/en_US/dow...ppet/checkbox/
And I also checked on your forum, but I'm not able to find an answer.
↧