Page 1 of 1

Generate Control HTML Service

Posted: April 6th, 2022, 4:43 pm
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

Re: Generate Control HTML Service

Posted: April 7th, 2022, 12:41 pm
by SumanPrasad
Task 10330 is created for this. We will update his post when this goes in PD.

Re: Generate Control HTML Service

Posted: March 22nd, 2023, 11:46 am
by CathyC
Recently tested with Jeff, this is still happening