Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AddJavaScriptToExecuteAsCDATA vs AddToInitProc
#6
WebApplication.CallbackResponse.AddJavaScriptToExecute() only works from Async calls

however,

TIWControl.AddJavaScriptToExecute() (declaring IWControlHelper in uses class to have access to the helper methods), should work the same way in both Sync and Async.

TIWControlAddJavaScriptToExecute() will call AddToInitProc() internally if the call is a sync call
Reply


Messages In This Thread
RE: AddJavaScriptToExecuteAsCDATA vs AddToInitProc - by Alexandre Machado - 05-18-2022, 04:22 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)