Generate Control HTML Service

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
JefferyD
Posts: 177
Joined: August 31st, 2021, 11:37 am
Contact:

Generate Control HTML Service

Unread post by JefferyD »

When interfacing with a complicated widget from a controller, UpdateElement can occasionally take a while and is seemingly the only way to update widget controls generated by EASYProcess. Using UpdateElementInnerHtml or UpdateElementOuterHtml is much quicker, but does not provide a way to update the generated HTML, only replace it.

Suggestion
It would be very useful if there was a service that could be used to take a widget control type, an array of widget control properties, and maybe an index (to get the correct name and HTML ID) and generate the HTML string that can be passed into UpdateElementOuterHtml to accomplish a more targeted update.
  1. This would allow the developer to cut out some of the automatic processing that UpdateElement does, thus improving page responsiveness
  2. This would enable the ability to make specific changes to the HTML of a control between HTML generation and rendering that control on the page
  3. This would also allow for a straightforward way to create custom HTML with EP generated controls or tables inserted
word count: 169

Tags:
SumanPrasad
Posts: 88
Joined: August 26th, 2021, 5:21 pm
Contact:

Re: Generate Control HTML Service

Unread post by SumanPrasad »

Task 10330 is created for this. We will update his post when this goes in PD.
word count: 16
CathyC
Posts: 469
Joined: November 16th, 2021, 11:15 am
Contact:

Re: Generate Control HTML Service

Unread post by CathyC »

Recently tested with Jeff, this is still happening
word count: 8
Post Reply