Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Buttons Will Not Click in Bootstrap
#1
In my big app that I recently converted from IW 14 to 15, the Login button on my main page (using templates) stopped working altogether.

Now when I create a new page based on the new bootstrap (looks amazingly beautiful, btw) -- the TIWBSButtons on the form will not hook up to my click event. For TIWBSButton, there is no OnClick, just an AsyncClick (which I can't debug to and which does not work).

I tried putting on a regular TIWButton on the outer div that is set to be my body Bootstrap container -- and it won't click either.

In short -- all my clicks are not clicking.

Here is what I pull out of the Page Source:

<button class="btn btn-lg btn-success btn-block" id="BL" type="button">Login</button>

I tried setting it to various button types. I put it on forms and not on forms. No matter what I do -- clicking is not connecting to my Delphi events.

What am I missing?

Loren

PS: Here is the Page Source from a simple test app where it works:

<button class="btn btn-primary" id="BK" type="button">Klicken Sie mich!</button>

It's the same, so it must be in the jQuery suppression needed by the IW Bootstrap components...
Reply


Messages In This Thread
Buttons Will Not Click in Bootstrap - by LorenSzendre - 09-19-2018, 06:02 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)