Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Refresh template
#3
(09-15-2021, 02:30 PM)Jose Nilton Pace Wrote: Hi, you can send directly to your id, something like this:
Code:
WebApplication.CallBackResponse.AddJavaScriptToExecuteAsCDATA(
  'document.getElementById("menu").innerHTML = "' +
  'all_your_html_here' +
  '"'
);
In all_your_html_here, pay attention to DON'T use double quotes inside. If you need double quotes, use single quotes doubled. Because all_your_html_here need inside the double quotes of getElement.

So it already works! This is not problem. Have to change my mastertemplate.html in usersession before create and show my form with my exist refresh function.
Template is not completed because user language.
Have easy access to my mastertemplate.html that usersession with my Refresh function (include AddJavaScriptToExecuteAsCDATA)?
Reply


Messages In This Thread
Refresh template - by matija - 09-15-2021, 11:43 AM
RE: Refresh template - by Jose Nilton Pace - 09-15-2021, 02:30 PM
RE: Refresh template - by matija - 09-15-2021, 06:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)