Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OnAsync Events Help!
#3
(01-28-2019, 08:11 PM)Howdy Jose!First, thanks for the response!Jose Nilton Pace Wrote: Hi Shane.
1.you can change via javascript in async. Something like this:

Code:
WebApplication.CallBackResponse.AddJavaScriptToExecute( '$("#yourID").css("color", "red");' );

How would I add the following:

input:required:invalid, input:focus:invalid
{
   background-color: #ffcccc;
   border-color: red;
}


2.Yes, IW have a lot of GIFs for you. If you create your personalized gif, put it in wwwroot and in your delphi - ServerController, property: CustomLockerAnimationFile := 'YourGifFileNameInwwwroot.gif';

Thanks - I wasn't aware of this property!

Ok - I just tried the ServerController property and it works well (here comes the but)! It would be nice if the image could be set session based instead of globally for the following reasons:

1) Desktop vs mobile (sizing).
2) Branding - that is, in my web application currently, I let each of customer's customers have a unique splash screen image (ie. Texas A&M, AARP, etc).

All the best,

Shane
Reply


Messages In This Thread
OnAsync Events Help! - by ShaneStump - 01-28-2019, 07:11 PM
RE: OnAsync Events Help! - by Jose Nilton Pace - 01-28-2019, 08:11 PM
RE: OnAsync Events Help! - by ShaneStump - 01-28-2019, 08:19 PM
RE: OnAsync Events Help! - by Jose Nilton Pace - 01-28-2019, 10:50 PM
RE: OnAsync Events Help! - by ShaneStump - 01-29-2019, 12:44 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)