TX Text Control Blog

Introducing Groups for ReportingCloud Extreme users

Björn Meyer

Blogged by Björn Meyer on March 17, 2017 and tagged with reportingcloud, reporting.


In the ReportingCloud Portal, account holders can upload and manage templates that are used for merge processes using the ReportingCloud Web API. Our users requested a functionality that other users can be assigned to edit and create templates for a specific group in the template storage. These template designers get their own login and can create and modify templates in their dedicated group.

Therefore, we implemented ReportingCloud Groups. This feature has been rolled-out to the portal today and is available for all users with an Extreme license.

The side menu received the new entry Manage Groups which opens a view to create and manage groups.

Introducing Groups for ReportingCloud Extreme users

When a group has been created, templates in the template storage can be assigned to one of the created groups:

Introducing Groups for ReportingCloud Extreme users

This helps to organize templates as the template list can be filtered by these groups. But the real advantage of these group assignments is that users in your group can access these templates as well (and only these). Therefore, main account holders (manager role) can invite template designers to their created groups:

Introducing Groups for ReportingCloud Extreme users

These invited template designers are getting e-mail invitations to create a ReportingCloud account. These accounts are bound to the account holder's group. The template designer is now able to edit and create templates inside this group. As all group user accounts are bound to the main account, the same template quota is valid for all templates in all groups.

Test this on your own and create a ReportingCloud account today.

Happy coding!

ASP.NET MVC: Implementing a simplistic, custom button bar

Björn Meyer

Blogged by Björn Meyer on March 13, 2017 and tagged with html5, reporting, github, asp.net.


For some applications, the fully-featured ribbon bar might be too overloaded with features or the ribbon concept is not required in a project. Programmatically, all ribbon tabs, groups and buttons can be removed or modified. But this sample shows how remove the ribbon bar completely and to implement your own, custom button bar with simple toggle buttons.

ASP.NET MVC: Implementing a simplistic, custom button bar

The whole implementation is done using pure HTML, CSS and JavaScript. The following HTML represents the custom ribbon bar:

The following JavaScript code is used to attach a click event to the Bold button. Using a command, the TXTextControl.InputFormatProperty.Bold is set on Text Control.

In order to update the state of the button based on the current input position, the inputFormatReceived event is used. This event is triggered, if the format at the current position has been changed (or the input position has been changed to another position with a different format):

In the event handler itself, the returned id defines the input format property. Using a switch statement, all different cases are handled. If the text at the current input position is formatted with bold, the value paramater is true and the button status is updated accordingly:

Download the sample from GitHub and test it on your own.

Download and fork this sample on GitHub

We proudly host our sample code on github.com/textcontrol. Feel free to fork and contribute!

Download ZIP

Open repository on GitHub

Open in Visual Studio

Requirements for this sample

  • at least Visual Studio 2015
  • At least a trial version of TX Text Control .NET Server for ASP.NET

ASP.NET MVC: Adding protected sections to documents

Björn Meyer

Blogged by Björn Meyer on March 1, 2017 and tagged with html5, reporting, github, asp.net.


A SubTextPart object represents a user-defined range of text in a TX Text Control document. A SubTextPart is basically a range of text with a Name and an ID property to store additional information.

In the implementation of the MailMerge class, a SubTextPart is used for repeating blocks in a reporting template. But the SubTextParts can be used for many different applications such as adding comments or to store additional hidden information to text ranges.

This sample shows how to insert a SubTextPart to protect a section from being edited by the user. The ID property is used to mark the SubTextPart as editable (0) or non-editable (1). In order to insert this special SubTextPart, an HTTP Post method is implemented in the MVC controller:

This method creates a ServerTextControl that is used to load the selected text of the Web.TextControl. This text is converted into a SubTextPart and saved in the internal Unicode format to be returned to the client.

On client side, using JavaScript, the above HTTP Post method InsertSubTextPart is called using a jQuery AJAX call. If the selection length is larger than 0, the selection is being saved and sent to the controller method. The returned Base64 encoded binary internal Unicode format is loaded back into the selection:

If the caret is entering and leaving these SubTextParts, events are triggered that are used to set the editMode property of Web.TextControl either to ReadAndSelect or Edit mode.

In the following screenshot, you can see an activated SubTextPart which is protected. The ribbon bar is disabled as the content is not editable inside this protected section.

ASP.NET MVC: Adding protected sections to documents

Download the sample from GitHub and test it on your own.

Download and fork this sample on GitHub

We proudly host our sample code on github.com/textcontrol. Feel free to fork and contribute!

Download ZIP

Open repository on GitHub

Open in Visual Studio

Requirements for this sample

  • at least Visual Studio 2015
  • At least a trial version of TX Text Control .NET Server for ASP.NET

Impressions from Philly Code Camp 2017

Björn Meyer

Blogged by Björn Meyer on February 27, 2017 and tagged with reportingcloud, release, conference, mail merge.


This weekend, we exhibited at Philly Code Camp 2017 at the Microsoft campus in Malvern, PA. 550+ enthusiastic developers learned in 50+ sessions about current trends in our industry.

We gave demos of our latest TX Text Control versions and our Web API ReportingCloud. It is very good to see that the .NET community is still growing and it was a pleasure to talk to so many code campers. We are very proud to support so many .NET user groups in many countries.

One of our 6 missions and values is to help building a Thriving Developer Community. We are convinced that supporting .NET user groups is the best way to grow our community.

Find below some impressions of our booth area at Philly Code Camp 2017:

Text Control at Philly Code Camp 2017Text Control at Philly Code Camp 2017Text Control at Philly Code Camp 2017Text Control at Philly Code Camp 2017Text Control at Philly Code Camp 2017Text Control at Philly Code Camp 2017Text Control at Philly Code Camp 2017Text Control at Philly Code Camp 2017Text Control at Philly Code Camp 2017Text Control at Philly Code Camp 2017

See you next year!

Impressions from BASTA! Spring 2017, Frankfurt

Björn Meyer

Blogged by Björn Meyer on February 25, 2017 and tagged with reportingcloud, release, conference, mail merge.


This week, we exhibited at BASTA! Spring 2017 which took place at the Marriott Hotel Frankfurt, Germany. This growing event hosts 500+ attendees from Germany, Austria, Switzerland and other European countries.

The conference provides workshops and sessions mainly about .NET, but also JavaScript, web technologies and other trends in our industry. On our demo counters, we presented the latest versions of Text Control products and particularly our reporting framework. We talked to many users of our products and presented some early ideas of our upcoming roadmap for 2017.

As always, please find below some impressions from our booth area at BASTA! Spring 2017:

Text Control at BASTA! Spring 2017Text Control at BASTA! Spring 2017Text Control at BASTA! Spring 2017Text Control at BASTA! Spring 2017Text Control at BASTA! Spring 2017Text Control at BASTA! Spring 2017Text Control at BASTA! Spring 2017Text Control at BASTA! Spring 2017Text Control at BASTA! Spring 2017Text Control at BASTA! Spring 2017Text Control at BASTA! Spring 2017Text Control at BASTA! Spring 2017

This weekend, we are traveling to Philadelphia to exhibit at the Philly Code Camp at the Microsoft Campus in Malvern. Impressions will follow - see you in Philly!

Older blog entries

 
 
Call us: +1 704-544-7445 (United States)
 
 

Products

Support

Downloads

Corporate

Buy Now

About Text Control

Founded in 1991, Text Control is an award-winning Visual Studio Industry Partner and leading vendor of word processing and reporting components for Microsoft development technologies. The products help thousands of developers add comprehensive word processing functionality to their applications. Text Control is 100% self-owned and independent of all investor decisions. Customers benefit from these years of experience, large user-base, and at the same time, appreciate developing with a mature, reliable product.

SD Times 100SD Times 100SD Times 100SD Times 100SD Times 100SD Times 100Visual Studio 2015 Launch PartnerVisual Studio 2013 Launch PartnerVisual Studio 2012 Launch PartnerVisual Studio Partner